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
|
#
__construct( unknown_type $cfg, unknown_type $cfgClient, unknown_type $lang, unknown_type $client )
|
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
|
#
_renameFileAndDir( string $dir, string $dirNameOld, string $dirNameNew, integer $client )
Rename the directory and files |
private
|
|
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
|
#
synchronize( )
Synchronize the Layout directory with the lay-table und the lay-table with directory. |
protected
unknown_type
|
$_cfg |
|
|
protected
unknown_type
|
$_lang |
|
|
protected
unknown_type
|
$_client |
|
|
protected
unknown_type
|
$_cfgClient |
|
|
private
unknown_type
|
$_outputMessage | array() |