__construct($cfg, $cfgClient, $lang, $client)
setLastModified(int $timestamp, $idlay)
int
timestamp 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)
string
layout name
int
client id
_isValidFirstChar(string $file) : boolean
string
boolean
true 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)
\path
to client layout-direcotry $dir
string
layout name in file directory
string
clear layout name
_showOutputMessage()
_updateModulnameInDb(string $oldName, string $newName, int $idclient)
string
old name
string
new module name
int
id of client
$_cfg
$_cfgClient
$_client
$_lang
$_outputMessage