eZPublishCommunityProject  2013.5
eZ\Publish\API\Repository\Values\Content\VersionInfo Class Reference
+ Inheritance diagram for eZ\Publish\API\Repository\Values\Content\VersionInfo:
+ Collaboration diagram for eZ\Publish\API\Repository\Values\Content\VersionInfo:

Public Member Functions

 getContentInfo ()
 Content of the content this version belongs to. More...
 
 getName ($languageCode=null)
 Returns the name computed from the name schema in the given language. More...
 
 getNames ()
 Returns the names computed from the name schema in the available languages. 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...
 

Public Attributes

const STATUS_ARCHIVED = 2
 
const STATUS_DRAFT = 0
 
const STATUS_PUBLISHED = 1
 

Protected Attributes

 $creationDate
 
 $creatorId
 
 $id
 
 $initialLanguageCode
 
 $languageCodes = array()
 
 $modificationDate
 
 $status
 
 $versionNo
 

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\Content\VersionInfo::getContentInfo ( )
abstract
eZ\Publish\API\Repository\Values\Content\VersionInfo::getName (   $languageCode = null)
abstract

Returns the name computed from the name schema in the given language.

If no language is given the name in initial language of the version if present, otherwise null.

Parameters
string$languageCode
Returns
string
eZ\Publish\API\Repository\Values\Content\VersionInfo::getNames ( )
abstract

Returns the names computed from the name schema in the available languages.

Returns
string[]

Member Data Documentation

eZ\Publish\API\Repository\Values\Content\VersionInfo::$creationDate
protected
eZ\Publish\API\Repository\Values\Content\VersionInfo::$creatorId
protected
eZ\Publish\API\Repository\Values\Content\VersionInfo::$id
protected
eZ\Publish\API\Repository\Values\Content\VersionInfo::$initialLanguageCode
protected
eZ\Publish\API\Repository\Values\Content\VersionInfo::$languageCodes = array()
protected
eZ\Publish\API\Repository\Values\Content\VersionInfo::$modificationDate
protected
eZ\Publish\API\Repository\Values\Content\VersionInfo::$status
protected
eZ\Publish\API\Repository\Values\Content\VersionInfo::$versionNo
protected
const eZ\Publish\API\Repository\Values\Content\VersionInfo::STATUS_DRAFT = 0

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