Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • cVersion
  • cVersionFile
  • cVersionLayout
  • cVersionModule
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class cVersionFile

Class of File System We use super class Version to create a new Version.

cVersion
Extended by cVersionFile
Package: Core\Versioning
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Bilal Arslan, Timo Trautmann
Located at classes/version/class.version.file.php
Methods summary
public
# __construct( string $iIdOfType, array $aFileInfo, array $sFileName, array $sTypeContent, object $aCfg, integer $aCfgClient, string $oDB, integer $iClient, $sArea, $iFrame, $sVersionFileName = '' )

The class versionStyle object constructor, initializes class variables

The class versionStyle object constructor, initializes class variables

Parameters

$iIdOfType
The name of style file
$aFileInfo
Get FileInformation from table file_information
$sFileName
$aCfg
$sTypeContent
$aCfgClient
$aCfg
$oDB
$aCfgClient
$iClient
$oDB
$sArea
$iClient
$iFrame
$sArea
$iFrame
$sVersionFileName

Overrides

cVersion::__construct()
protected
# initFileContent( )

This function init the class member sCode with current file content

This function init the class member sCode with current file content

public {array}
# initXmlReader( string $sPath )

This function read an xml file nodes

This function read an xml file nodes

Parameters

$sPath
Path to file

Returns

{array}
returns array width nodes
public string
# getPathFile( string $sPath,… )

This function reads the path of file

This function reads the path of file

Parameters

$sPath,…
Path to file

Returns

string
the path of file
public string
# renderReloadScript( integer $sArea, string $sFilename, string $sess, object $sess,… )

Function returns javascript which refreshes CONTENIDO frames for file list an subnavigation. This is neccessary, if filenames where changed, when a history entry is restored

Function returns javascript which refreshes CONTENIDO frames for file list an subnavigation. This is neccessary, if filenames where changed, when a history entry is restored

Parameters

$sArea
$iIdClient - id of client which contains this file
$sFilename

$sArea - name of CONTENIDO area in which this procedure should be done

$sess

$sFilename - new filename of file which should be updated in other frames

$sess,…
  • CONTENIDO session object

Returns

string
  • Javascript for refrehing frames
Methods inherited from cVersion
buildSelectBox(), checkPaths(), createNewVersion(), createNewXml(), deleteFile(), displayNotification(), getFilePath(), getFirstRevision(), getFormatTimestamp(), getLastRevision(), getRevisionFiles(), getTextBox(), getTextarea(), initRevisions(), prune(), setBodyNodeDescription(), setData(), setVarForm()
Properties summary
public $sCode

Content code of current file.

Content code of current file.

#
public $sDescripion

Description folder of history sub nav. Its not required to use it.

Description folder of history sub nav. Its not required to use it.

#
public $sPath

The path of style file.

The path of style file.

#
public $sFileName

The id of Type.

The id of Type.

#
Properties inherited from cVersion
$aBodyData, $aCfg, $aCfgClient, $aRevisionFiles, $aVarForm, $dActualTimestamp, $dCreated, $dLastModified, $dTimestamp, $iClient, $iDisplayNotification, $iFrame, $iIdentity, $iRevisionNumber, $oDB, $sAlternativePath, $sArea, $sAuthor, $sType
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen