class CustomLayout extends Layout (View source)

Properties

$error from  ConcreteObject
Area $area from  Layout
Block $block from  Layout
int $arLayoutID
bool $arLayoutUsesThemeGridFramework from  Layout
int $arLayoutNumColumns from  Layout
protected string $arLayoutType
int $arLayoutSpacing
bool $arLayoutIsCustom

Methods

loadError($error)

No description

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

static 
camelcase($file)

No description

static 
uncamelcase($string)

No description

getByID(int $arLayoutID)

No description

from  Layout
setAreaObject(Area $a)

No description

from  Layout
setBlockObject(Block $b)

No description

from  Layout
getBlockObject()

No description

from  Layout
getAreaObject()

No description

from  Layout
int
getAreaLayoutID()

No description

from  Layout
bool
from  Layout
int
getAreaLayoutNumColumns()

No description

from  Layout
Column[]
getAreaLayoutColumns()

No description

from  Layout
int
addLayoutColumn()

No description

duplicate()

No description

exportDetails($node)

No description

export(SimpleXMLElement $node)

No description

from  Layout
delete()

No description

from  Layout
getFormatter()

No description

from  Layout
loadColumnNumber()

No description

from  Layout
loadDetails()

No description

int
getAreaLayoutSpacing()

No description

bool
setAreaLayoutColumnSpacing(int $spacing)

No description

enableAreaLayoutCustomColumnWidths()

Enable custom column widths on layouts.

disableAreaLayoutCustomColumnWidths()

Disable custom column widths on layouts.

add(int $spacing = 0, bool $iscustom = false)

No description

Details

loadError($error)

No description

Parameters

$error

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

Parameters

$arr

static camelcase($file)

No description

Parameters

$file

static uncamelcase($string)

No description

Parameters

$string

static CustomLayout|ThemeGridLayout|null getByID(int $arLayoutID)

No description

Parameters

int $arLayoutID

Return Value

CustomLayout|ThemeGridLayout|null

setAreaObject(Area $a)

No description

Parameters

Area $a

setBlockObject(Block $b)

No description

Parameters

Block $b

Block getBlockObject()

No description

Return Value

Block

Area getAreaObject()

No description

Return Value

Area

int getAreaLayoutID()

No description

Return Value

int

bool isAreaLayoutUsingThemeGridFramework()

No description

Return Value

bool

int getAreaLayoutNumColumns()

No description

Return Value

int

Column[] getAreaLayoutColumns()

No description

Return Value

Column[]

int addLayoutColumn()

No description

Return Value

int

duplicate()

No description

exportDetails($node)

No description

Parameters

$node

export(SimpleXMLElement $node)

No description

Parameters

SimpleXMLElement $node

delete()

No description

FormatterInterface getFormatter()

No description

Return Value

FormatterInterface

protected loadColumnNumber()

No description

protected loadDetails()

No description

int getAreaLayoutSpacing()

No description

Return Value

int

bool hasAreaLayoutCustomColumnWidths()

No description

Return Value

bool

setAreaLayoutColumnSpacing(int $spacing)

No description

Parameters

int $spacing

enableAreaLayoutCustomColumnWidths()

Enable custom column widths on layouts.

disableAreaLayoutCustomColumnWidths()

Disable custom column widths on layouts.

static CustomLayout|ThemeGridLayout|null add(int $spacing = 0, bool $iscustom = false)

No description

Parameters

int $spacing
bool $iscustom

Return Value

CustomLayout|ThemeGridLayout|null