PHP Класс Pimcore\Model\Object\ClassDefinition\Data\KeyValue

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

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

Свойство Тип Описание
$descWidth width of description column
$fieldtype string Static type of this element
$groupDescWidth width of group description column
$groupWidth width of group column
$height Height of grid
$keyWidth width of key column
$maxheight Maximum height of grid
$metaVisible boolean Whether the metadata column is visible
$metawidth Width of metadata column
$multivalent Whether the value can be multivalent
$phpdocType string Type for the generated phpdoc
$unitWidth width of unit column
$valueWidth width of value column

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

Метод Описание
checkValidity ( mixed $data, boolean $omitMandatoryCheck = false ) Checks if data is valid for current data field
classSaved ( ClassDefinition $class, mixed $params = [] ) : void This method is called in Object\\ClassDefinition::save() and is used to create the database table for the localized data
delete ( $object )
getDataForEditmode ( KeyValue $data, null | AbstractObject $object = null, mixed $params = [] ) : tbd
getDataFromEditmode ( mixed $data, null $object = null, $params = [] ) : mixed | KeyValue
getDescWidth ( ) : mixed Returns the width of the description column.
getDiffDataForEditMode ( mixed $data, null $object = null, mixed $params = [] ) : array | null
getDiffDataFromEditmode ( $data, null $object = null, mixed $params = [] ) : mixed | KeyValue
getForWebserviceExport ( string $object, mixed $params = [] ) : mixed converts data to be exposed via webservices
getFromWebserviceImport ( mixed $value, null $relatedObject = null, mixed $params = [], null $idMapper = null ) : mixed | KeyValue
getGroupDescWidth ( ) : integer
getGroupWidth ( ) : integer
getKeyWidth ( ) : integer
getMaxheight ( ) : integer
getMetaVisible ( ) : boolean
getMetawidth ( )
getMultivalent ( )
getUnitWidth ( ) : mixed Returns the width of the unit column.
getValueWidth ( ) : integer
isDiffChangeAllowed ( string $object, mixed $params = [] ) : boolean
load ( $object, array $params = [] ) : KeyValue
save ( $object, array $params = [] )
setDescWidth ( $width ) : Pimcore\Model\Object\ClassDefinition\Data_KeyValue Sets the width of the description column.
setGroupDescWidth ( integer $width ) : void
setGroupWidth ( integer $width )
setKeyWidth ( integer $width )
setMaxheight ( $maxheight )
setMetaVisible ( boolean $metaVisible )
setMetawidth ( $metawidth )
setMultivalent ( $multivalent )
setUnitWidth ( integer $width ) : void
setValueWidth ( integer $width ) : void
synchronizeWithMasterDefinition ( Data $masterDefinition )

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

checkValidity() публичный Метод

Checks if data is valid for current data field
public checkValidity ( mixed $data, boolean $omitMandatoryCheck = false )
$data mixed
$omitMandatoryCheck boolean

classSaved() публичный Метод

This method is called in Object\\ClassDefinition::save() and is used to create the database table for the localized data
public classSaved ( ClassDefinition $class, mixed $params = [] ) : void
$class Pimcore\Model\Object\ClassDefinition
$params mixed
Результат void

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

public delete ( $object )
$object

getDataForEditmode() публичный Метод

См. также: Object\ClassDefinition\Data::getDataForEditmode
public getDataForEditmode ( KeyValue $data, null | AbstractObject $object = null, mixed $params = [] ) : tbd
$data Pimcore\Model\Object\Data\KeyValue
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
Результат tbd

getDataFromEditmode() публичный Метод

public getDataFromEditmode ( mixed $data, null $object = null, $params = [] ) : mixed | KeyValue
$data mixed
$object null
Результат mixed | Pimcore\Model\Object\Data\KeyValue

getDescWidth() публичный Метод

Returns the width of the description column.
public getDescWidth ( ) : mixed
Результат mixed

getDiffDataForEditMode() публичный Метод

public getDiffDataForEditMode ( mixed $data, null $object = null, mixed $params = [] ) : array | null
$data mixed
$object null
$params mixed
Результат array | null

getDiffDataFromEditmode() публичный Метод

public getDiffDataFromEditmode ( $data, null $object = null, mixed $params = [] ) : mixed | KeyValue
$data
$object null
$params mixed
Результат mixed | Pimcore\Model\Object\Data\KeyValue

getForWebserviceExport() публичный Метод

converts data to be exposed via webservices
public getForWebserviceExport ( string $object, mixed $params = [] ) : mixed
$object string
$params mixed
Результат mixed

getFromWebserviceImport() публичный Метод

public getFromWebserviceImport ( mixed $value, null $relatedObject = null, mixed $params = [], null $idMapper = null ) : mixed | KeyValue
$value mixed
$relatedObject null
$params mixed
$idMapper null
Результат mixed | Pimcore\Model\Object\Data\KeyValue

getGroupDescWidth() публичный Метод

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

getGroupWidth() публичный Метод

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

getKeyWidth() публичный Метод

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

getMaxheight() публичный Метод

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

getMetaVisible() публичный Метод

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

getMetawidth() публичный Метод

public getMetawidth ( )

getMultivalent() публичный Метод

public getMultivalent ( )

getUnitWidth() публичный Метод

Returns the width of the unit column.
public getUnitWidth ( ) : mixed
Результат mixed

getValueWidth() публичный Метод

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

isDiffChangeAllowed() публичный Метод

public isDiffChangeAllowed ( string $object, mixed $params = [] ) : boolean
$object string
$params mixed
Результат boolean

load() публичный Метод

public load ( $object, array $params = [] ) : KeyValue
$object
$params array
Результат Pimcore\Model\Object\Data\KeyValue

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

public save ( $object, array $params = [] )
$object
$params array

setDescWidth() публичный Метод

Sets the width of the description column.
public setDescWidth ( $width ) : Pimcore\Model\Object\ClassDefinition\Data_KeyValue
$width
Результат Pimcore\Model\Object\ClassDefinition\Data_KeyValue

setGroupDescWidth() публичный Метод

public setGroupDescWidth ( integer $width ) : void
$width integer
Результат void

setGroupWidth() публичный Метод

public setGroupWidth ( integer $width )
$width integer

setKeyWidth() публичный Метод

public setKeyWidth ( integer $width )
$width integer

setMaxheight() публичный Метод

public setMaxheight ( $maxheight )
$maxheight

setMetaVisible() публичный Метод

public setMetaVisible ( boolean $metaVisible )
$metaVisible boolean

setMetawidth() публичный Метод

public setMetawidth ( $metawidth )
$metawidth

setMultivalent() публичный Метод

public setMultivalent ( $multivalent )
$multivalent

setUnitWidth() публичный Метод

public setUnitWidth ( integer $width ) : void
$width integer
Результат void

setValueWidth() публичный Метод

public setValueWidth ( integer $width ) : void
$width integer
Результат void

synchronizeWithMasterDefinition() публичный Метод

public synchronizeWithMasterDefinition ( Data $masterDefinition )
$masterDefinition Pimcore\Model\Object\ClassDefinition\Data

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

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

width of description column
public $descWidth

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

Static type of this element
public string $fieldtype
Результат string

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

width of group description column
public $groupDescWidth

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

width of group column
public $groupWidth

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

Height of grid
public $height

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

width of key column
public $keyWidth

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

Maximum height of grid
public $maxheight

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

Whether the metadata column is visible
public bool $metaVisible
Результат boolean

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

Width of metadata column
public $metawidth

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

Whether the value can be multivalent
public $multivalent

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

Type for the generated phpdoc
public string $phpdocType
Результат string

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

width of unit column
public $unitWidth

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

width of value column
public $valueWidth