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, object $oDB, integer $iClient, object $sArea, object $iFrame )
The Version object constructor, initializes class variables |
protected
|
|
protected
|
|
public
array
|
|
public
boolean
|
#
createNewXml( string $sDirectory, mixed $sFileName )
This function creats an xml file. XML Writer helps for create this file. |
public
boolean
|
|
protected
array
|
|
public
boolean
|
#
deleteFile( mixed $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
|
#
buildSelectBox( string $sTableForm, string $sAddHeader, string $sLabelOfSelectBox, string $sIdOfSelectBox, boolean $disabled = false )
The general SelectBox function for get Revision. |
private
|
#
getMessages( )
Messagebox for build selectBox. Dynamic allocation for type. return array the attributes alt and poput returns |
private
|
#
getSelectBox( string $aTempVesions, string $sIdOfSelectBox )
A Class Function for fill version files |
public
string
|
#
getTextarea( string $sName, string $sInitValue, integer $iWidth, integer $iHeight, boolean $sId = '', mixed $disabled = false )
Build new Textarea with below parameters |
public
string
|
#
getTextBox( string $sName, string $sInitValue, integer $iWidth, mixed $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
???
|
$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 |
|
#
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
???
|
$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 |
private
boolean
|
$bVersioningActive |
|
#
To take control versioning is switched off |
protected
???
|
$dActualTimestamp |
|
#
Timestamp |
protected
string
|
$sAlternativePath |
|
#
Alternative Path for save version files |
public static
integer
|
$iDisplayNotification |
|
#
Displays Notification only onetimes per object |