class UserPreset extends ConcreteObject (View source)

Properties

$error from ConcreteObject
int $arLayoutPresetID
string $arLayoutPresetName
int $arLayoutID

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

static Preset
add(Layout $arLayout, string $name)

No description

static Preset[]
getList()

No description

static UserPreset
getByID(int $arLayoutPresetID)

No description

delete()

No description

int
getAreaLayoutPresetID()

No description

string
getAreaLayoutPresetName()

No description

int
getAreaLayoutID()

No description

CustomLayout|ThemeGridLayout|null
getAreaLayoutObject()

No description

updateAreaLayoutObject(Layout $arLayout)

No description

updateName(string $arLayoutPresetName)

No description

getPresetObject()

No description

Details

loadError($error)

Parameters

$error

isError()

getError()

setPropertiesFromArray($arr)

Parameters

$arr

static camelcase($file)

Parameters

$file

static uncamelcase($string)

Parameters

$string

static Preset add(Layout $arLayout, string $name)

Parameters

Layout $arLayout
string $name

Return Value

Preset

static Preset[] getList()

Return Value

Preset[]

static UserPreset getByID(int $arLayoutPresetID)

Parameters

int $arLayoutPresetID

Return Value

UserPreset

delete()

int getAreaLayoutPresetID()

Return Value

int

string getAreaLayoutPresetName()

Return Value

string

int getAreaLayoutID()

Return Value

int

CustomLayout|ThemeGridLayout|null getAreaLayoutObject()

Return Value

CustomLayout|ThemeGridLayout|null

updateAreaLayoutObject(Layout $arLayout)

Parameters

Layout $arLayout

updateName(string $arLayoutPresetName)

Parameters

string $arLayoutPresetName

getPresetObject()