__construct($cfg, $cfgClient, $lang, $client)
setLastModified(int $timestamp, $idlay)
inttimestamp of last modification
synchronize()
_addLayout(string $name, int $idclient)
string
int
_addOrUpdateLayout(string $dir, string $oldLayoutName, string $newLayoutName, string $idclient)
string
string
string
string
_compareFileAndLayoutTimestamp()
If file had changed make new code :conGenerateCodeForAllArtsUsingMod
_isExistInTable(string $alias, int $idclient)
stringlayout name
intclient id
_isValidFirstChar(string $file) : boolean
string
booleantrue if the first char !='.' else false_renameFileAndDir(string $dir, string $dirNameOld, string $dirNameNew, int $client)
string
string
string
int
_renameFiles(\path $dir, string $oldLayoutName, string $newLayoutName)
\pathto client layout-direcotry $dir
stringlayout name in file directory
stringclear layout name
_showOutputMessage()
_updateModulnameInDb(string $oldName, string $newName, int $idclient)
stringold name
stringnew module name
intid of client
$_cfg
$_cfgClient
$_client
$_lang
$_outputMessage