Overview

Packages

  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Datatype
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
  • 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

Classes

  • cVersion
  • cVersionFile
  • cVersionLayout
  • cVersionModule
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

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, mixed $sArea, mixed $iFrame, mixed $sVersionFileName = '' )

The class versionStyle object constructor, initializes class variables

The class versionStyle object constructor, initializes class variables

Parameters

$iIdOfType
string
$iIdOfType The name of style file
$aFileInfo
array
$aFileInfo Get FileInformation from table file_information
$sFileName
array
$aCfg
$sTypeContent
array
$aCfgClient
$aCfg
object
$oDB
$aCfgClient
integer
$iClient
$oDB
string
$sArea
$iClient
integer
$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
string
$sPath Path to file

Returns

{array}
returns array width nodes
public string
# getPathFile( )

This function reads the path of file

This function reads the path of file

Returns

string
the path of file
public string
# renderReloadScript( integer $sArea, string $sFilename, string $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
integer
$iIdClient - id of client which contains this file
$sFilename
string
$sArea - name of CONTENIDO area in which this procedure should be done
$sess
string
$sFilename - new filename of file which should be updated in other frames

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 mixed $sCode
#

Content code of current file.

Content code of current file.

public mixed $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 mixed $sPath
#

The path of style file.

The path of style file.

public mixed $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.1 API documentation generated by ApiGen 2.8.0