eZPublishCommunityProject  2013.4
eZ\Publish\API\Repository\Values\ObjectState\ObjectState Class Reference
+ Inheritance diagram for eZ\Publish\API\Repository\Values\ObjectState\ObjectState:
+ Collaboration diagram for eZ\Publish\API\Repository\Values\ObjectState\ObjectState:

Public Member Functions

 getDescription ($languageCode)
 This method returns the name of the content type in the given language. More...
 
 getDescriptions ()
 This method returns the human readable description of the content type. More...
 
 getName ($languageCode)
 This method returns the name of the content type in the given language. More...
 
 getNames ()
 This method returns the human readable name in all provided languages of the content type. More...
 
 getObjectStateGroup ()
 The object state group this object state belongs to. More...
 
- Public Member Functions inherited from eZ\Publish\API\Repository\Values\ValueObject
 __construct (array $properties=array())
 Construct object optionally with a set of properties. More...
 
 __get ($property)
 Magic get function handling read to non public properties. More...
 
 __isset ($property)
 Magic isset function handling isset() to non public properties. More...
 
 __set ($property, $value)
 Magic set function handling writes to non public properties. More...
 
 __unset ($property)
 Magic unset function handling unset() to non public properties. More...
 
 attribute ($property)
 Internal function for Legacy template engine compatibility to get property value. More...
 
 attributes ()
 Internal function for Legacy template engine compatibility to get properties. More...
 
 hasAttribute ($property)
 Internal function for Legacy template engine compatibility to check existence of property. More...
 

Protected Attributes

 $defaultLanguageCode
 
 $id
 
 $identifier
 
 $languageCodes
 
 $priority
 

Additional Inherited Members

- Static Public Member Functions inherited from eZ\Publish\API\Repository\Values\ValueObject
static __set_state (array $array)
 Returns a new instance of this class with the data specified by $array. More...
 
- Protected Member Functions inherited from eZ\Publish\API\Repository\Values\ValueObject
 getProperties ($dynamicProperties=array())
 Function where list of properties are returned. More...
 

Member Function Documentation

eZ\Publish\API\Repository\Values\ObjectState\ObjectState::getDescription (   $languageCode)
abstract

This method returns the name of the content type in the given language.

Parameters
string$languageCode
Returns
string the description for the given language or null if none exists.
eZ\Publish\API\Repository\Values\ObjectState\ObjectState::getDescriptions ( )
abstract

This method returns the human readable description of the content type.

The structure of this field is: array( 'eng' => '<description_eng>', 'de' => '<description_de>' );

Returns
string[]
eZ\Publish\API\Repository\Values\ObjectState\ObjectState::getName (   $languageCode)
abstract

This method returns the name of the content type in the given language.

Parameters
string$languageCode
Returns
string the name for the given language or null if none exists.
eZ\Publish\API\Repository\Values\ObjectState\ObjectState::getNames ( )
abstract

This method returns the human readable name in all provided languages of the content type.

The structure of the return value is: array( 'eng' => '<name_eng>', 'de' => '<name_de>' );

Returns
string[]
eZ\Publish\API\Repository\Values\ObjectState\ObjectState::getObjectStateGroup ( )
abstract

The object state group this object state belongs to.

Returns

Member Data Documentation

eZ\Publish\API\Repository\Values\ObjectState\ObjectState::$defaultLanguageCode
protected
eZ\Publish\API\Repository\Values\ObjectState\ObjectState::$id
protected
eZ\Publish\API\Repository\Values\ObjectState\ObjectState::$identifier
protected
eZ\Publish\API\Repository\Values\ObjectState\ObjectState::$languageCodes
protected
eZ\Publish\API\Repository\Values\ObjectState\ObjectState::$priority
protected

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