Class cLayoutHandler
This class controls all layouts in filesystem.
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.handler.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.handler.php
public
|
#
__construct( integer $layoutId = 0, string $layoutCode = "", array $cfg = array(), integer $lang = 0,
Construct of the class |
public
string
|
|
public
string
|
|
public static
boolean
|
#
existLayout( string $layoutAlias, array $cfgClient, integer $client )
Look in layout directory if layout [$layoutAlias] directory exists |
public
|
|
public
string
|
|
public
|
|
private
boolean
|
|
private
boolean
|
|
private
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
#
saveLayoutByUpgrade( string $layoutCode = '' )
Save the layout only if layout doesn't exist in filesystem! Use it for upgrade! |
private
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
string|boolean
|
|
public static
|
protected
integer
|
$_layoutId
The ID of the layout |
#
0
|
protected
string
|
$_layoutCode
The code of the layout |
#
""
|
protected
|
$_db
|
#
NULL
|
protected
string
|
$_layoutName
Layout name |
#
""
|
protected
array
|
$_cfg
The contenido cfg |
#
array()
|
protected
string
|
$_encoding
Encoding of the page |
|
protected
string
|
$_layoutPath
Layout path [layout_path].layoutName/ |
#
""
|
protected
string
|
$_layoutMainPath
Main path of layouts. [layout_path].layouts |
#
""
|
protected
string
|
$_fileName
File name of the layout ([layoutname].html |
#
""
|