Class cVersion
Base version class
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.php
public
|
#
__construct( array $aCfg, array $aCfgClient,
Constructor to create an instance of this class. |
protected
|
|
protected
|
|
public
array
|
|
public
boolean
|
#
createNewXml( string $sDirectory, string $sFileName )
This function creats an xml file. XML Writer helps for create this file. |
public
boolean
|
|
protected
array
|
|
public
boolean
|
#
deleteFile( string $sFirstFile = '' )
This function deletes files and the the folder, for given path. |
public
string
|
|
public
array
|
|
private
integer
|
|
protected
string
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
string
|
#
buildSelectBox( string $sTableForm, string $sAddHeader, string $sLabelOfSelectBox, string $sIdOfSelectBox, boolean $disabled = false )
The general SelectBox function for get Revision. |
private
array
|
|
private
string
|
#
getSelectBox( string $aTempVesions, string $sIdOfSelectBox )
A Class Function for fill version files |
public
string
|
#
getTextarea( string $sName, string $sInitValue, integer $iWidth, integer $iHeight, string $sId = '', boolean $disabled = false )
Build new Textarea with below parameters |
public
string
|
#
getTextBox( string $sName, string $sInitValue, integer $iWidth, boolean $bDisabled = false )
Build new Textfield with below parameters |
public
|
|
public
|
protected
string
|
$sType | |
#
Id of Type |
protected
string
|
$sAuthor | |
#
md5 coded name of author |
protected
???
|
$dCreated | |
#
Time of created |
protected
unknown_type
|
$dLastModified | |
#
Time of last modified |
protected
string
|
$aBodyData | |
#
Body data of xml file |
protected
array
|
$aCfg | |
#
For init global variable |
protected
array
|
$aCfgClient | |
#
For init global variable $cfgClient |
protected
|
$oDB | |
#
CONTENIDO database object |
protected
integer
|
$iClient | |
#
For init global variable $client |
public
array
|
$aRevisionFiles | |
#
Revision files of current file |
protected
integer
|
$iRevisionNumber | |
#
Number of Revision |
protected
array
|
$dTimestamp | |
#
Timestamp |
protected
array
|
$sArea | |
#
For init global variable $area |
protected
integer
|
$iFrame | |
#
For init global variable $frame |
protected
array
|
$aVarForm | |
#
For init variables |
protected
integer
|
$iIdentity | |
#
Identity the Id of Content Type |
protected
string
|
$sDescripion | |
|
protected
string
|
$iVersion | |
|
private
boolean
|
$bVersioningActive | |
#
To take control versioning is switched off |
protected
integer
|
$dActualTimestamp | |
#
Timestamp |
protected
string
|
$sAlternativePath | |
#
Alternative Path for save version files |
public static
integer
|
$iDisplayNotification | |
#
Displays Notification only onetimes per object |