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( mixed $layoutId = 0, mixed $layoutCode = "", mixed $cfg = array(), mixed $lang = 0, mixed $db = null )
Construct of the class |
public
string
|
|
public
string
|
|
public static
boolean
|
#
existLayout( string $layoutAlias, mixed $cfgClient, mixed $client )
Look in layout directory if layout [$layoutAlias] directory exists |
public
|
|
public
string
|
|
public
|
|
private
boolean
|
|
private
boolean
|
|
private
|
|
public
boolean,
|
|
public
boolean
|
|
public
|
#
saveLayoutByUpgrade( string $layoutCode = '' )
Save the layout only if layout doesn't exist in filesystem! Use it for upgrade! |
private
|
|
public
boolean
|
|
public
|
|
public
content
|
|
public static
|
protected
integer
|
$_layoutId | 0 |
#
The ID of the layout |
protected
string
|
$_layoutCode | "" |
#
The code of the layout |
protected
mixed
|
$_db | null |
|
protected
string
|
$_layoutName | "" |
#
Layout name |
protected
array
|
$_cfg | array() |
#
The contenido cfg |
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 |