PHP Class Pimcore\Model\Object\ClassDefinition\Data\Classificationstore

Inheritance: extends Pimcore\Model\Object\ClassDefinition\Data, use trait Pimcore\Model\Element\ChildsCompatibilityTrait
Show file Open project: pimcore/pimcore

Public Properties

Property Type Description
$allowedGroupIds array
$childs array
$fieldDefinitionsCache array
$fieldtype string Static type of this element
$height integer
$labelWidth integer
$layout string
$localized boolean
$maxTabs integer
$name string
$phpdocType string Type for the generated phpdoc
$region string
$storeId integer
$title string
$width integer

Protected Properties

Property Type Description
$referencedFields array contains further localized field definitions if there are more than one localized fields in on class

Public Methods

Method Description
__sleep ( ) : array
addChild ( mixed $child ) : void
addReferencedField ( $field )
checkValidity ( mixed $data, boolean $omitMandatoryCheck = false ) Checks if data is valid for current data field
classSaved ( $class, $params = [] ) : void This method is called in Object|Class::save() and is used to create the database table for the classification data
delete ( $object )
enrichLayoutDefinition ( $object )
getAllowedGroupIds ( ) : array
getChildren ( ) : array
getDataForEditmode ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
getDataForGrid ( $data, null $object = null, mixed $params = [] ) : stdClass
getDataForSearchIndex ( $object, mixed $params = [] ) : string
getDataFromEditmode ( string $containerData, null | AbstractObject $object = null, mixed $params = [] ) : string
getDiffDataForEditmode ( mixed $data, null $object = null, mixed $params = [] )
getDiffDataFromEditmode ( $data, null $object = null, mixed $params = [] )
getForCsvExport ( AbstractObject $object, array $params = [] ) : string converts object data to a simple string value or CSV Export
getForWebserviceExport ( AbstractObject $object, mixed $params = [] )
getFromCsvImport ( string $importValue, null | AbstractObject $object = null, mixed $params = [] ) : null
getFromWebserviceImport ( mixed $value, null | AbstractObject $object = null, mixed $params = [], IdMapper $idMapper = null ) : mixed | null | Classificationstore
getGetterCode ( $class ) : string
getHeight ( ) : integer
getKeyConfiguration ( $keyId ) : mixed
getLabelWidth ( ) : integer
getLayout ( ) : string
getMaxTabs ( ) : integer
getName ( ) : string
getReferencedFields ( ) : array
getRegion ( ) : string
getSetterCode ( $class ) : string
getStoreId ( ) : integer
getTitle ( ) : string
getValidLanguages ( )
getVersionPreview ( $data, null | AbstractObject $object = null, mixed $params = [] ) : string
getWidth ( ) : integer
hasChildren ( ) : boolean
isDiffChangeAllowed ( string $object, mixed $params = [] ) : boolean True if change is allowed in edit mode.
isLocalized ( ) : boolean
load ( $object, array $params = [] ) : Classificationstore
preGetData ( $object, array $params = [] ) : Localizedfield
recursiveGetActiveGroupCollectionMapping ( $object, $mergedMapping = [] )
recursiveGetActiveGroupsIds ( $object, array $activeGroups = [] ) : array
save ( $object, array $params = [] )
setAllowedGroupIds ( array $allowedGroupIds )
setChildren ( array $children )
setHeight ( $height )
setLabelWidth ( integer $labelWidth )
setLayout ( $layout )
setLocalized ( boolean $localized )
setMaxTabs ( integer $maxTabs )
setName ( string $name )
setReferencedFields ( array $referencedFields )
setRegion ( $region )
setStoreId ( integer $storeId )
setTitle ( string $title )
setValues ( mixed $data = [], array $blockedKeys = [] ) : void
setWidth ( $width )

Private Methods

Method Description
doGetDataForEditMode ( $data, $object, &$fieldData, &$metaData, integer $level = 1 ) : array

Method Details

__sleep() public method

public __sleep ( ) : array
return array

addChild() public method

public addChild ( mixed $child ) : void
$child mixed
return void

addReferencedField() public method

public addReferencedField ( $field )
$field

checkValidity() public method

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

classSaved() public method

This method is called in Object|Class::save() and is used to create the database table for the classification data
public classSaved ( $class, $params = [] ) : void
return void

delete() public method

public delete ( $object )
$object

enrichLayoutDefinition() public method

public enrichLayoutDefinition ( $object )

getAllowedGroupIds() public method

public getAllowedGroupIds ( ) : array
return array

getChildren() public method

public getChildren ( ) : array
return array

getDataForEditmode() public method

See also: Object\ClassDefinition\Data::getDataForEditmode
public getDataForEditmode ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
$data string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
return string

getDataForGrid() public method

public getDataForGrid ( $data, null $object = null, mixed $params = [] ) : stdClass
$data
$object null
$params mixed
return stdClass

getDataForSearchIndex() public method

public getDataForSearchIndex ( $object, mixed $params = [] ) : string
$object
$params mixed
return string

getDataFromEditmode() public method

See also: Model\Object\ClassDefinition\Data::getDataFromEditmode
public getDataFromEditmode ( string $containerData, null | AbstractObject $object = null, mixed $params = [] ) : string
$containerData string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
return string

getDiffDataForEditmode() public method

public getDiffDataForEditmode ( mixed $data, null $object = null, mixed $params = [] )
$data mixed
$object null
$params mixed

getDiffDataFromEditmode() public method

public getDiffDataFromEditmode ( $data, null $object = null, mixed $params = [] )
$data
$object null
$params mixed

getForCsvExport() public method

converts object data to a simple string value or CSV Export
public getForCsvExport ( AbstractObject $object, array $params = [] ) : string
$object Pimcore\Model\Object\AbstractObject
$params array
return string

getForWebserviceExport() public method

public getForWebserviceExport ( AbstractObject $object, mixed $params = [] )
$object Pimcore\Model\Object\AbstractObject
$params mixed

getFromCsvImport() public method

public getFromCsvImport ( string $importValue, null | AbstractObject $object = null, mixed $params = [] ) : null
$importValue string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
return null

getFromWebserviceImport() public method

public getFromWebserviceImport ( mixed $value, null | AbstractObject $object = null, mixed $params = [], IdMapper $idMapper = null ) : mixed | null | Classificationstore
$value mixed
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
$idMapper IdMapper
return mixed | null | Pimcore\Model\Object\Classificationstore

getGetterCode() public method

public getGetterCode ( $class ) : string
$class
return string

getHeight() public method

public getHeight ( ) : integer
return integer

getKeyConfiguration() public method

public getKeyConfiguration ( $keyId ) : mixed
$keyId
return mixed

getLabelWidth() public method

public getLabelWidth ( ) : integer
return integer

getLayout() public method

public getLayout ( ) : string
return string

getMaxTabs() public method

public getMaxTabs ( ) : integer
return integer

getName() public method

public getName ( ) : string
return string

getReferencedFields() public method

public getReferencedFields ( ) : array
return array

getRegion() public method

public getRegion ( ) : string
return string

getSetterCode() public method

public getSetterCode ( $class ) : string
$class
return string

getStoreId() public method

public getStoreId ( ) : integer
return integer

getTitle() public method

public getTitle ( ) : string
return string

getValidLanguages() public method

public getValidLanguages ( )

getVersionPreview() public method

See also: Object\ClassDefinition\Data::getVersionPreview
public getVersionPreview ( $data, null | AbstractObject $object = null, mixed $params = [] ) : string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
return string

getWidth() public method

public getWidth ( ) : integer
return integer

hasChildren() public method

public hasChildren ( ) : boolean
return boolean

isDiffChangeAllowed() public method

True if change is allowed in edit mode.
public isDiffChangeAllowed ( string $object, mixed $params = [] ) : boolean
$object string
$params mixed
return boolean

isLocalized() public method

public isLocalized ( ) : boolean
return boolean

load() public method

public load ( $object, array $params = [] ) : Classificationstore
$object
$params array
return Pimcore\Model\Object\Classificationstore

preGetData() public method

public preGetData ( $object, array $params = [] ) : Localizedfield
$object
$params array
return Pimcore\Model\Object\Localizedfield

recursiveGetActiveGroupCollectionMapping() public method

public recursiveGetActiveGroupCollectionMapping ( $object, $mergedMapping = [] )

recursiveGetActiveGroupsIds() public method

public recursiveGetActiveGroupsIds ( $object, array $activeGroups = [] ) : array
$object \Object_Abstract
$activeGroups array
return array

save() public method

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

setAllowedGroupIds() public method

public setAllowedGroupIds ( array $allowedGroupIds )
$allowedGroupIds array

setChildren() public method

public setChildren ( array $children )
$children array

setHeight() public method

public setHeight ( $height )
$height

setLabelWidth() public method

public setLabelWidth ( integer $labelWidth )
$labelWidth integer

setLayout() public method

public setLayout ( $layout )
$layout

setLocalized() public method

public setLocalized ( boolean $localized )
$localized boolean

setMaxTabs() public method

public setMaxTabs ( integer $maxTabs )
$maxTabs integer

setName() public method

public setName ( string $name )
$name string

setReferencedFields() public method

public setReferencedFields ( array $referencedFields )
$referencedFields array

setRegion() public method

public setRegion ( $region )
$region

setStoreId() public method

public setStoreId ( integer $storeId )
$storeId integer

setTitle() public method

public setTitle ( string $title )
$title string

setValues() public method

public setValues ( mixed $data = [], array $blockedKeys = [] ) : void
$data mixed
$blockedKeys array
return void

setWidth() public method

public setWidth ( $width )
$width

Property Details

$allowedGroupIds public property

public array $allowedGroupIds
return array

$childs public property

public array $childs
return array

$fieldDefinitionsCache public property

public array $fieldDefinitionsCache
return array

$fieldtype public property

Static type of this element
public string $fieldtype
return string

$height public property

public int $height
return integer

$labelWidth public property

public int $labelWidth
return integer

$layout public property

public string $layout
return string

$localized public property

public bool $localized
return boolean

$maxTabs public property

public int $maxTabs
return integer

$name public property

public string $name
return string

$phpdocType public property

Type for the generated phpdoc
public string $phpdocType
return string

$referencedFields protected property

contains further localized field definitions if there are more than one localized fields in on class
protected array $referencedFields
return array

$region public property

public string $region
return string

$storeId public property

public int $storeId
return integer

$title public property

public string $title
return string

$width public property

public int $width
return integer