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
loadColumnNumber()

No description

from Layout
setAreaObject(Area $a)

No description

from Layout
setBlockObject(Block $b)

No description

from Layout
getBlockObject()

No description

from Layout
Area
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
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, bool $iscustom = false)

No description

Details

loadError($error)

Parameters

$error

isError()

getError()

setPropertiesFromArray($arr)

Parameters

$arr

static camelcase($file)

Parameters

$file

static uncamelcase($string)

Parameters

$string

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

Parameters

int $arLayoutID

Return Value

CustomLayout|ThemeGridLayout|null

protected loadColumnNumber()

setAreaObject(Area $a)

Parameters

Area $a

setBlockObject(Block $b)

Parameters

Block $b

Block getBlockObject()

Return Value

Block

Area getAreaObject()

Return Value

Area

int getAreaLayoutID()

Return Value

int

bool isAreaLayoutUsingThemeGridFramework()

Return Value

bool

int getAreaLayoutNumColumns()

Return Value

int

Column[] getAreaLayoutColumns()

Return Value

Column[]

int addLayoutColumn()

Return Value

int

duplicate()

exportDetails($node)

Parameters

$node

export(SimpleXMLElement $node)

Parameters

SimpleXMLElement $node

delete()

FormatterInterface getFormatter()

Return Value

FormatterInterface

protected loadDetails()

int getAreaLayoutSpacing()

Return Value

int

bool hasAreaLayoutCustomColumnWidths()

Return Value

bool

setAreaLayoutColumnSpacing(int $spacing)

Parameters

int $spacing

enableAreaLayoutCustomColumnWidths()

Enable custom column widths on layouts.

disableAreaLayoutCustomColumnWidths()

Disable custom column widths on layouts.

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

Parameters

int $spacing
bool $iscustom

Return Value

CustomLayout|ThemeGridLayout|null