deprecated | [2011-11-15] Use cLayoutHandler instead of this class. |
---|
__construct($layoutId, $layoutCode, $cfg, $lang, $db)
deprecated | [2011-11-15] Use cLayoutHandler instead of this class. |
---|
eraseLayout() : boolean
Also deletes the version files.
inherited_from | \cLayoutHandler::eraseLayout() |
---|
boolean
true on success or false on failureexistLayout(string $layoutAlias, $cfgClient, $client) : \boolen
inherited_from | \cLayoutHandler::existLayout() |
---|
string
\boolen
if file exist truegetLayoutCode() : \content
inherited_from | \cLayoutHandler::getLayoutCode() |
---|
\content
or falsegetLayoutName() : string
inherited_from | \cLayoutHandler::getLayoutName() |
---|
string
layoutnameinit(int $layoutId, $layoutCode, array $cfg, $lang)
inherited_from | \cLayoutHandler::init() |
---|
int
array
initWithDbObject(\cDb $dbObject)
isWritable(string $fileName, string $directory) : \boolean,
inherited_from | \cLayoutHandler::isWritable() |
---|
string
file name
string
directory where is the file
\boolean,
success true else falserename(string $old, string $new)
inherited_from | \cLayoutHandler::rename() |
---|
string
string
saveLayout(string $layoutCode) : boolean
inherited_from | \cLayoutHandler::saveLayout() |
---|
string
boolean
truesaveLayoutByUpgrade(string $layoutCode)
inherited_from | \cLayoutHandler::saveLayoutByUpgrade() |
---|
string
upgrade() : void
Use it for upgrade.
inherited_from | \cLayoutHandler::upgrade() |
---|
\cException |
if the layout could not be saved |
---|
_makeDirectories() : boolean
Main directory and Layout directory
inherited_from | \cLayoutHandler::_makeDirectories() |
---|
boolean
true if successfully_makeDirectory(string $directory) : boolean
inherited_from | \cLayoutHandler::_makeDirectory() |
---|
string
boolean
true if succssesfully_rec_rmdir($path)
inherited_from | \cLayoutHandler::_rec_rmdir() |
---|
_save($layoutCode)
inherited_from | \cLayoutHandler::_save() |
---|
_setEncoding(int $lang)
inherited_from | \cLayoutHandler::_setEncoding() |
---|
int
$_cfg : array
inherited_from | \cLayoutHandler::$$_cfg |
---|
$_db
inherited_from | \cLayoutHandler::$$_db |
---|
$_encoding : string
inherited_from | \cLayoutHandler::$$_encoding |
---|
$_fileName : string
inherited_from | \cLayoutHandler::$$_fileName |
---|
$_layoutCode : string
inherited_from | \cLayoutHandler::$$_layoutCode |
---|
$_layoutId : int
inherited_from | \cLayoutHandler::$$_layoutId |
---|
$_layoutMainPath : string
[layout_path].layouts
inherited_from | \cLayoutHandler::$$_layoutMainPath |
---|
$_layoutName : string
inherited_from | \cLayoutHandler::$$_layoutName |
---|
$_layoutPath : string
inherited_from | \cLayoutHandler::$$_layoutPath |
---|