class UserPreset extends Object (View source)

Properties

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

Methods

loadError($error)

No description

from  Object
isError()

No description

from  Object
getError()

No description

from  Object
setPropertiesFromArray($arr)

No description

from  Object
static 
camelcase($file)

No description

from  Object
static 
uncamelcase($string)

No description

from  Object
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