eZPublishCommunityProject  2013.9
eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Mapper Class Reference

Mapper for ObjectState and object state Group objects. More...

Public Member Functions

 __construct (LanguageHandler $languageHandler)
 Creates a new mapper. More...
 
 createObjectStateFromData (array $data)
 Creates ObjectState object from provided $data. More...
 
 createObjectStateFromInputStruct (InputStruct $input)
 Creates an instance of ObjectState object from provided $input struct. More...
 
 createObjectStateGroupFromData (array $data)
 Creates ObjectStateGroup object from provided $data. More...
 
 createObjectStateGroupFromInputStruct (InputStruct $input)
 Creates an instance of ObjectStateGroup object from provided $input struct. More...
 
 createObjectStateGroupListFromData (array $data)
 Creates ObjectStateGroup array of objects from provided $data. More...
 
 createObjectStateListFromData (array $data)
 Creates ObjectState array of objects from provided $data. More...
 

Protected Attributes

 $languageHandler
 

Detailed Description

Mapper for ObjectState and object state Group objects.

Constructor & Destructor Documentation

eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Mapper::__construct ( LanguageHandler  $languageHandler)

Creates a new mapper.

Parameters
\eZ\Publish\SPI\Persistence\Content\Language\Handler$languageHandler

Member Function Documentation

eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Mapper::createObjectStateFromData ( array  $data)

Creates ObjectState object from provided $data.

Parameters
array$data
Returns

Referenced by eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Mapper\createObjectStateListFromData().

eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Mapper::createObjectStateFromInputStruct ( InputStruct  $input)

Creates an instance of ObjectState object from provided $input struct.

Parameters
\eZ\Publish\SPI\Persistence\Content\ObjectState\InputStruct$input
Returns
eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Mapper::createObjectStateGroupFromData ( array  $data)

Creates ObjectStateGroup object from provided $data.

Parameters
array$data
Returns

Referenced by eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Mapper\createObjectStateGroupListFromData().

eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Mapper::createObjectStateGroupFromInputStruct ( InputStruct  $input)

Creates an instance of ObjectStateGroup object from provided $input struct.

Parameters
\eZ\Publish\SPI\Persistence\Content\ObjectState\InputStruct$input
Returns
eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Mapper::createObjectStateGroupListFromData ( array  $data)

Creates ObjectStateGroup array of objects from provided $data.

Parameters
array$data
Returns
[]
eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Mapper::createObjectStateListFromData ( array  $data)

Creates ObjectState array of objects from provided $data.

Parameters
array$data
Returns
[]

Member Data Documentation

eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Mapper::$languageHandler
protected

The documentation for this class was generated from the following file: