Class cLayoutSynchronizer
This class synchronizes layouts from filesystem to database table.
Package: Core\LayoutHandler
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Rusmir Jusufovic
Located at classes/class.layout.synchronizer.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Rusmir Jusufovic
Located at classes/class.layout.synchronizer.php
public
|
|
private
|
#
_addOrUpdateLayout( string $dir, string $oldLayoutName, string $newLayoutName, string $idclient )
Add a Layout to table or update a layout |
private
|
#
_updateModulnameInDb( string $oldName, string $newName, integer $idclient )
Update the name of layout (if the name not allowes) |
private
boolean
|
#
_renameFileAndDir( string $dir, string $dirNameOld, string $dirNameNew, integer $client )
Rename the directory and files |
private
boolean
|
|
private
|
|
public
|
|
private
|
#
_compareFileAndLayoutTimestamp( )
Compare file change timestamp and the timestamp in ["tab"]["lay"]. If file had changed make new code :conGenerateCodeForAllArtsUsingMod |
private
|
|
private
boolean
|
|
public
boolean
|
#
synchronize( )
Synchronize the Layout directory with the lay-table und the lay-table with directory. |
protected
array
|
$_cfg |
|
|
protected
array
|
$_cfgClient |
|
|
protected
integer
|
$_lang |
|
|
protected
integer
|
$_client |
|
|
private
unknown_type
|
$_outputMessage | array() |