PHP Class Pimcore\Model\Object\Classificationstore

Inheritance: extends Pimcore\Model\AbstractModel
Mostrar archivo Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$activeGroups array
$class ClassDefinition
$fieldname string
$groupCollectionMapping array
$items array
$object Concrete

Public Methods

Method Description
__construct ( array $items = null )
addItem ( $item ) : void
doGetFallbackValues ( ) : boolean
getActiveGroups ( ) : array
getClass ( ) : ClassDefinition
getFieldname ( ) : string
getGroupCollectionMapping ( $groupId ) : mixed
getGroupCollectionMappings ( ) : array
getGroupIdsWithData ( ) : array Returns an array of
getItems ( ) : array
getLanguage ( null $language = null ) : string
getLocalizedKeyValue ( $groupId, $keyId, string $language = "default", boolean | false $ignoreFallbackLanguage = false, $ignoreDefaultLanguage = false ) : null
getObject ( ) : Concrete
removeGroupData ( $groupId ) Removes the group with the given id
setActiveGroups ( array $activeGroups )
setClass ( ClassDefinition $class )
setFieldname ( string $fieldname )
setGroupCollectionMapping ( $groupId, $collectionId )
setGroupCollectionMappings ( array $groupCollectionMapping )
setItems ( array $items )
setLocalizedKeyValue ( $groupId, $keyId, $value, null $language = null )
setObject ( Concrete $object )

Protected Methods

Method Description
getFallbackValue ( $groupId, $keyId, $language, $fielddefinition )

Method Details

__construct() public method

public __construct ( array $items = null )
$items array

addItem() public method

public addItem ( $item ) : void
$item
return void

doGetFallbackValues() public static method

public static doGetFallbackValues ( ) : boolean
return boolean

getActiveGroups() public method

public getActiveGroups ( ) : array
return array

getClass() public method

public getClass ( ) : ClassDefinition
return ClassDefinition

getFallbackValue() protected method

protected getFallbackValue ( $groupId, $keyId, $language, $fielddefinition )

getFieldname() public method

public getFieldname ( ) : string
return string

getGroupCollectionMapping() public method

public getGroupCollectionMapping ( $groupId ) : mixed
$groupId
return mixed

getGroupCollectionMappings() public method

public getGroupCollectionMappings ( ) : array
return array

getGroupIdsWithData() public method

Returns an array of
public getGroupIdsWithData ( ) : array
return array

getItems() public method

public getItems ( ) : array
return array

getLanguage() public method

public getLanguage ( null $language = null ) : string
$language null
return string

getLocalizedKeyValue() public method

public getLocalizedKeyValue ( $groupId, $keyId, string $language = "default", boolean | false $ignoreFallbackLanguage = false, $ignoreDefaultLanguage = false ) : null
$groupId
$keyId
$language string
$ignoreFallbackLanguage boolean | false
return null

getObject() public method

public getObject ( ) : Concrete
return Concrete

removeGroupData() public method

Removes the group with the given id
public removeGroupData ( $groupId )
$groupId

setActiveGroups() public method

public setActiveGroups ( array $activeGroups )
$activeGroups array

setClass() public method

public setClass ( ClassDefinition $class )
$class ClassDefinition

setFieldname() public method

public setFieldname ( string $fieldname )
$fieldname string

setGroupCollectionMapping() public method

public setGroupCollectionMapping ( $groupId, $collectionId )
$groupId
$collectionId

setGroupCollectionMappings() public method

public setGroupCollectionMappings ( array $groupCollectionMapping )
$groupCollectionMapping array

setItems() public method

public setItems ( array $items )
$items array

setLocalizedKeyValue() public method

public setLocalizedKeyValue ( $groupId, $keyId, $value, null $language = null )
$groupId
$keyId
$value
$language null

setObject() public method

public setObject ( Concrete $object )
$object Concrete

Property Details

$activeGroups public_oe property

public array $activeGroups
return array

$class public_oe property

public ClassDefinition,Pimcore\Model\Object $class
return ClassDefinition

$fieldname public_oe property

public string $fieldname
return string

$groupCollectionMapping public_oe property

public array $groupCollectionMapping
return array

$items public_oe property

public array $items
return array

$object public_oe property

public Concrete,Pimcore\Model\Object $object
return Concrete