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)

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 Preset add(Layout $arLayout, string $name)

No description

Parameters

Layout $arLayout
string $name

Return Value

Preset

static Preset[] getList()

No description

Return Value

Preset[]

static UserPreset getByID(int $arLayoutPresetID)

No description

Parameters

int $arLayoutPresetID

Return Value

UserPreset

delete()

No description

int getAreaLayoutPresetID()

No description

Return Value

int

string getAreaLayoutPresetName()

No description

Return Value

string

int getAreaLayoutID()

No description

Return Value

int

CustomLayout|ThemeGridLayout|null getAreaLayoutObject()

No description

Return Value

CustomLayout|ThemeGridLayout|null

updateAreaLayoutObject(Layout $arLayout)

No description

Parameters

Layout $arLayout

updateName(string $arLayoutPresetName)

No description

Parameters

string $arLayoutPresetName

getPresetObject()

No description