eZPublishCommunityProject  2012.12
eZ\Publish\SPI\Persistence\Content\VersionInfo Class Reference

This class holds version information data. More...

+ Inheritance diagram for eZ\Publish\SPI\Persistence\Content\VersionInfo:
+ Collaboration diagram for eZ\Publish\SPI\Persistence\Content\VersionInfo:

Public Attributes

 $contentInfo
 
 $creationDate
 
 $creatorId
 
 $id
 
 $initialLanguageCode
 
 $languageIds = array()
 
 $modificationDate
 
 $names
 Returns the names computed from the name schema in the available languages. More...
 
 $status
 
 $versionNo
 
const STATUS_ARCHIVED = 3
 
const STATUS_DRAFT = 0
 
const STATUS_INTERNAL_DRAFT = 5
 
const STATUS_PENDING = 2
 
const STATUS_PUBLISHED = 1
 
const STATUS_QUEUED = 7
 
const STATUS_REJECTED = 4
 
const STATUS_REPEAT = 6
 

Additional Inherited Members

- 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...
 
- 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...
 

Detailed Description

This class holds version information data.

Member Data Documentation

eZ\Publish\SPI\Persistence\Content\VersionInfo::$contentInfo
eZ\Publish\SPI\Persistence\Content\VersionInfo::$creationDate
eZ\Publish\SPI\Persistence\Content\VersionInfo::$creatorId
eZ\Publish\SPI\Persistence\Content\VersionInfo::$id
eZ\Publish\SPI\Persistence\Content\VersionInfo::$initialLanguageCode
eZ\Publish\SPI\Persistence\Content\VersionInfo::$languageIds = array()
eZ\Publish\SPI\Persistence\Content\VersionInfo::$modificationDate
eZ\Publish\SPI\Persistence\Content\VersionInfo::$names

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

Eg. array( 'eng-GB' => "New Article" )

Returns
string[]
eZ\Publish\SPI\Persistence\Content\VersionInfo::$status
eZ\Publish\SPI\Persistence\Content\VersionInfo::$versionNo
const eZ\Publish\SPI\Persistence\Content\VersionInfo::STATUS_ARCHIVED = 3
const eZ\Publish\SPI\Persistence\Content\VersionInfo::STATUS_INTERNAL_DRAFT = 5
const eZ\Publish\SPI\Persistence\Content\VersionInfo::STATUS_PENDING = 2
const eZ\Publish\SPI\Persistence\Content\VersionInfo::STATUS_QUEUED = 7
const eZ\Publish\SPI\Persistence\Content\VersionInfo::STATUS_REJECTED = 4
const eZ\Publish\SPI\Persistence\Content\VersionInfo::STATUS_REPEAT = 6

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