PHP Класс Pimcore\Model\Object\KeyValue\KeyConfig

Наследование: extends Pimcore\Model\AbstractModel
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$cache array
$cacheEnabled boolean
$creationDate integer
$description The key description.
$group The group id.
$id integer
$mandatory
$modificationDate integer
$name string The key
$possiblevalues Array of possible vales ("select" datatype)
$translator
$type ..)
$unit Unit information (just for information)

Открытые методы

Метод Описание
create ( ) : KeyConfig
delete ( ) Deletes the key value key configuration
getById ( integer $id ) : KeyConfig
getByName ( $name, null $groupId = null ) : KeyConfig
getCacheEnabled ( ) : boolean
getCreationDate ( ) : integer
getDescription ( ) : mixed Returns the key description.
getGroup ( ) : mixed
getId ( ) : integer
getMandatory ( ) : mixed
getModificationDate ( ) : integer
getName ( ) : string
getPossibleValues ( ) : mixed
getTranslator ( ) : mixed Returns the translator id.
getType ( ) : mixed
getUnit ( ) : mixed
save ( ) Saves the key config
setCacheEnabled ( boolean $cacheEnabled )
setCreationDate ( $creationDate )
setDescription ( $description ) : KeyConfig Sets the key description
setGroup ( $group )
setId ( integer $id )
setMandatory ( mixed $mandatory )
setModificationDate ( $modificationDate )
setName ( string $name )
setPossibleValues ( $values )
setTranslator ( $translator ) Sets the translator id.
setType ( $type )
setUnit ( $unit )

Описание методов

create() публичный статический метод

public static create ( ) : KeyConfig
Результат KeyConfig

delete() публичный метод

Deletes the key value key configuration
public delete ( )

getById() публичный статический метод

public static getById ( integer $id ) : KeyConfig
$id integer
Результат KeyConfig

getByName() публичный статический метод

public static getByName ( $name, null $groupId = null ) : KeyConfig
$name
$groupId null
Результат KeyConfig

getCacheEnabled() публичный статический метод

public static getCacheEnabled ( ) : boolean
Результат boolean

getCreationDate() публичный метод

public getCreationDate ( ) : integer
Результат integer

getDescription() публичный метод

Returns the key description.
public getDescription ( ) : mixed
Результат mixed

getGroup() публичный метод

public getGroup ( ) : mixed
Результат mixed

getId() публичный метод

public getId ( ) : integer
Результат integer

getMandatory() публичный метод

public getMandatory ( ) : mixed
Результат mixed

getModificationDate() публичный метод

public getModificationDate ( ) : integer
Результат integer

getName() публичный метод

public getName ( ) : string
Результат string

getPossibleValues() публичный метод

public getPossibleValues ( ) : mixed
Результат mixed

getTranslator() публичный метод

Returns the translator id.
public getTranslator ( ) : mixed
Результат mixed

getType() публичный метод

public getType ( ) : mixed
Результат mixed

getUnit() публичный метод

public getUnit ( ) : mixed
Результат mixed

save() публичный метод

Saves the key config
public save ( )

setCacheEnabled() публичный статический метод

public static setCacheEnabled ( boolean $cacheEnabled )
$cacheEnabled boolean

setCreationDate() публичный метод

public setCreationDate ( $creationDate )
$creationDate

setDescription() публичный метод

Sets the key description
public setDescription ( $description ) : KeyConfig
$description
Результат KeyConfig

setGroup() публичный метод

public setGroup ( $group )
$group

setId() публичный метод

public setId ( integer $id )
$id integer

setMandatory() публичный метод

public setMandatory ( mixed $mandatory )
$mandatory mixed

setModificationDate() публичный метод

public setModificationDate ( $modificationDate )
$modificationDate

setName() публичный метод

public setName ( string $name )
$name string

setPossibleValues() публичный метод

public setPossibleValues ( $values )
$values

setTranslator() публичный метод

Sets the translator id.
public setTranslator ( $translator )
$translator

setType() публичный метод

public setType ( $type )
$type

setUnit() публичный метод

public setUnit ( $unit )
$unit

Описание свойств

$cache публичное статическое свойство

public static array $cache
Результат array

$cacheEnabled публичное статическое свойство

public static bool $cacheEnabled
Результат boolean

$creationDate публичное свойство

public int $creationDate
Результат integer

$description публичное свойство

The key description.
public $description

$group публичное свойство

The group id.
public $group

$id публичное свойство

public int $id
Результат integer

$mandatory публичное свойство

public $mandatory

$modificationDate публичное свойство

public int $modificationDate
Результат integer

$name публичное свойство

The key
public string $name
Результат string

$possiblevalues публичное свойство

Array of possible vales ("select" datatype)
public $possiblevalues

$translator публичное свойство

public $translator

$type публичное свойство

..)
public $type

$unit публичное свойство

Unit information (just for information)
public $unit