Свойство | Type | Description | |
---|---|---|---|
$intPid | integer | Parent ID | |
$intUserId | integer | User ID | |
$strEditUrl | string | Edit URL | |
$strPath | string | File path | |
$strTable | string | Table | |
$strUsername | string | Username |
Méthode | Description | |
---|---|---|
__construct ( string $strTable, integer $intPid ) | Initialize the object | |
addToTemplate ( |
Add a list of versions to a template | |
compare ( ) | Compare versions | |
create ( ) | Create a new version of a record | |
initialize ( ) | Create the initial version of a record | |
renderDropdown ( ) : string | Render the versions dropdown menu | |
restore ( integer $intVersion ) | Restore a version | |
setEditUrl ( string $strEditUrl ) | Set the edit URL | |
setUserId ( integer $intUserId ) | Set the user ID | |
setUsername ( string $strUsername ) | Set the username |
Méthode | Description | |
---|---|---|
getEditUrl ( ) : string | Return the edit URL | |
getUserId ( ) : string | Return the user ID | |
getUsername ( ) : string | Return the username | |
implodeRecursive ( mixed $var, boolean $binary = false ) : string | Implode a multi-dimensional array recursively |
public __construct ( string $strTable, integer $intPid ) | ||
$strTable | string | |
$intPid | integer |
public static addToTemplate ( |
||
$objTemplate |
protected getEditUrl ( ) : string | ||
Résultat | string |
protected getUsername ( ) : string | ||
Résultat | string |
public renderDropdown ( ) : string | ||
Résultat | string |
public setEditUrl ( string $strEditUrl ) | ||
$strEditUrl | string |
public setUsername ( string $strUsername ) | ||
$strUsername | string |