eZPublish  3.9
eZContentObject Class Reference

Handles eZ publish content objects. More...

+ Inheritance diagram for eZContentObject:
+ Collaboration diagram for eZContentObject:

Public Member Functions

 accessList ($function)
 
 addContentObjectRelation ($toObjectID, $fromObjectVersion=false, $fromObjectID=false, $attributeID=0, $relationType=EZ_CONTENT_OBJECT_RELATION_COMMON)
 
addLocation ($parentNodeID, $asObject=false)
 
 allContentObjectAttributes ($contentObjectID, $asObject=true)
 
allLanguages ()
 
 appendInputRelationList ($addingIDList, $relationType)
 
assignedNodes ($asObject=true)
 
authorArray ()
 
availableLanguages ()
 
availableLanguagesJsArray ()
 
 cacheInfo ($Params)
 
canCreate ()
 
canCreateClassList ($asObject=false, $includeFilter=true, $groupList=false, $fetchID=false)
 
canCreateLanguages ()
 
canDiff ()
 
canEdit ($originalClassID=false, $parentClassID=false, $returnAccessList=false, $language=false)
 
canEditLanguages ()
 
canMove ()
 
canMoveFrom ()
 
canPdf ()
 
canRead ()
 
canRemove ()
 
canTranslate ()
 
canViewEmbed ()
 
 checkAccess ($functionName, $originalClassID=false, $parentClassID=false, $returnAccessList=false, $language=false)
 
 checkGroupLimitationAccess ($limitationValueList, $userID, $contentObjectID=false)
 
 classListFromPolicy ($policy, $allowedLanguageCodes=false)
 
className ()
 
 cleanupInternalDrafts ($userID=false, $timeDuration=86400)
 
 clearCache ($idArray=array())
 
 clone ()
 
 commitInputRelations ($editVersion)
 
contentActionList ()
 
contentClass ()
 
contentClassGroupIDList ()
 
contentClassIdentifier ()
 
contentObjectAttributes ($asObject=true, $version=false, $language=false, $contentObjectAttributeID=false, $distinctItemsOnly=false)
 
contentObjectListRelatingThis ($version=false, $objectID=false)
 
copy ($allVersions=true)
 
 copyContentObjectRelations ($currentVersion, $newVersion, $newObjectID=false)
 
 copyRevertTo ($version, $language=false)
 
 copyVersion (&$newObject, &$version, $newVersionNumber, $contentObjectID=false, $status=EZ_VERSION_STATUS_DRAFT, $languageCode=false, $copyFromLanguageCode=false)
 
 create ($name, $contentclassID, $userID, $sectionID=1, $version=1, $languageCode=false)
 
 createInitialVersion ($userID, $initialLanguageCode=false)
 
 createNewVersion ($copyFromVersion=false, $versionCheck=true, $languageCode=false, $copyFromLanguageCode=false, $status=EZ_VERSION_STATUS_DRAFT)
 
createNewVersionIn ($languageCode, $copyFromLanguageCode=false, $copyFromVersion=false, $versionCheck=true, $status=EZ_VERSION_STATUS_DRAFT)
 
 createNodeAssignment ($parentNodeID, $isMain, $remoteID=false, $sortField=2, $sortOrder=0)
 
 createWithNodeAssignment ($parentNode, $contentClassID, $languageCode, $remoteID=false)
 
currentLanguage ()
 
currentLanguageObject ()
 
currentVersion ($asObject=true)
 
dataMap ()
 
defaultLanguage ()
 
 definition ()
 
embeddedContentObjectCount ($fromObjectVersion=false, $fromObjectID=false)
 
embeddedContentObjectList ($fromObjectVersion=false, $fromObjectID=false)
 
 expireAllCache ()
 
 expireAllViewCache ()
 
 expireComplexViewModeCache ()
 
 expireTemplateBlockCache ()
 
 eZContentObject ($row)
 
fetch ($id, $asObject=true)
 
fetchByNodeID ($nodeID, $asObject=true)
 
fetchByRemoteID ($remoteID, $asObject=true)
 
fetchClassAttributes ($version=0, $asObject=true)
 
fetchDataMap ($version=false, $language=false)
 
 fetchFilteredList ($conditions=null, $offset=false, $limit=false, $asObject=true)
 
fetchIDArray ($idArray, $asObject=true)
 
 fetchInput (&$contentObjectAttributes, $attributeDataBaseName, $customActionAttributeArray, $customActionParameters)
 
 fetchList ($asObject=true, $conditions=null, $offset=false, $limit=false)
 
 fetchListCount ($conditions=null)
 
 fetchObjectCountByUserID ($classID, $userID)
 
 fetchSameClassList ($contentClassID, $asObject=true, $offset=false, $limit=false)
 
 fetchSameClassListCount ($contentClassID)
 
 fixReverseRelations ($objectID, $mode=false)
 
 fixupInput (&$contentObjectAttributes, $attributeDataBaseName)
 
 getVersionCount ()
 
 handleAllCustomHTTPActions ($attributeDataBaseName, $customActionAttributeArray, $customActionParameters, $objectVersion=false)
 
 handleCustomHTTPActions (&$contentObjectAttribute, $attributeDataBaseName, $customActionAttributeArray, $customActionParameters)
 
 hasContentAction ($name)
 
 hasRemainingVersions ()
 
initialLanguage ()
 
initialLanguageCode ()
 
isAlwaysAvailable ()
 
 isCacheExpired ($timestamp)
 
 isComplexViewMode ($viewMode)
 
 isComplexViewModeCacheExpired ($viewMode, $timestamp)
 
 isObjectRelationTyped ()
 
languages ()
 
linkedContentObjectCount ($fromObjectVersion=false, $fromObjectID=false)
 
linkedContentObjectList ($fromObjectVersion=false, $fromObjectID=false)
 
mainNode ()
 
mainNodeID ()
 
mainParentNodeID ()
 
matchIngroupIDList ()
 
name ($version=false, $lang=false)
 
 names ()
 
 nextVersion ()
 
owner ()
 
parentNodeIDArray ()
 
parentNodes ($version=false, $asObject=true)
 
 permissions ()
 
 postUnserialize (&$package)
 
 previousVersion ()
 
 publishContentObjectRelations ($version)
 
 purge ($id=false)
 
 recursionProtect ($id)
 
 recursionProtectionEnd ()
 
 recursionProtectionStart ()
 
relatedContentObjectArray ($fromObjectVersion=false, $fromObjectID=false, $attributeID=0, $params=false)
 
relatedContentObjectCount ($fromObjectVersion=false, $fromObjectID=false, $attributeID=0, $params=false)
 
relatedContentObjectList ($fromObjectVersion=false, $fromObjectID=false, $attributeID=0, $groupByAttribute=false, $params=false)
 
relatedObjectCount ($version=false, $objectID=false, $attributeID=0, $reverseRelatedObjects=false, $params=false)
 
relatedObjects ($fromObjectVersion=false, $objectID=false, $attributeID=0, $groupByAttribute=false, $params=false, $reverseRelatedObjects=false)
 
 relationTypeMask ($allRelations=false)
 
remoteID ()
 
 remove ($id=false, $nodeID=null)
 
 removeContentObjectRelation ($toObjectID=false, $fromObjectVersion=false, $fromObjectID=false, $attributeID=0, $relationType=EZ_CONTENT_OBJECT_RELATION_COMMON)
 
 removeReverseRelations ($objectID)
 
 removeTranslation ($languageID)
 
 rename ($newName)
 
 resetDataMap ()
 
 resetInputRelationList ()
 
reverseEmbeddedObjectCount ($fromObjectVersion=false, $fromObjectID=false)
 
reverseEmbeddedObjectList ($fromObjectVersion=false, $fromObjectID=false)
 
reverseLinkedObjectCount ($fromObjectVersion=false, $fromObjectID=false)
 
reverseLinkedObjectList ($fromObjectVersion=false, $fromObjectID=false)
 
reverseRelatedObjectCount ($version=false, $toObjectID=false, $attributeID=0, $params=false)
 
reverseRelatedObjectList ($version=false, $toObjectID=false, $attributeID=0, $groupByAttribute=false, $params=false)
 
 revertTo ($version)
 
 serialize (&$package, $specificVersion=false, $options=false, $contentNodeIDArray=false, $topNodeIDArray=false)
 
 setAlwaysAvailableLanguageID ($languageID, $version=false)
 
 setCachedName ($name)
 
 setClassName ($name)
 
 setContentObjectAttributes (&$attributes, $version, $language)
 
 setCurrentLanguage ($lang)
 
 setName ($objectName, $versionNum=false, $languageCode=false)
 
 setPermissions ($permissionArray)
 
 store ()
 
 storeInput (&$contentObjectAttributes, $attributeInputMap)
 
 storeNodeModified ()
 
 translationList ()
 
 translationStringList ()
 
 validateInput (&$contentObjectAttributes, $attributeDataBaseName, $inputParameters=false, $parameters=array())
 
version ($version, $asObject=true)
 
versionLanguageName ($contentObjectID, $version, $lang=false)
 
versions ($asObject=true, $parameters=array())
 
- Public Member Functions inherited from eZPersistentObject
attribute ($attr, $noFunction=false)
 
 attributes ()
 
 conditionText (&$conditions)
 
conditionTextByRow (&$conditions, &$row)
 
 definition ()
 
escapeArray (&$array)
 
 eZPersistentObject ($row)
 
 fetchObject (&$def, $field_filters, $conds, $asObject=true, $grouping=null, $custom_fields=null)
 
 fetchObjectList (&$def, $field_filters=null, $conds=null, $sorts=null, $limit=null, $asObject=true, $grouping=false, $custom_fields=null, $custom_tables=null, $custom_conds=null)
 
 fill (&$row)
 
 getShortAttributeName (&$db, &$def, $attrName)
 
 handleRows (&$rows, $class_name, $asObject)
 
 hasAttribute ($attr)
 
 hasDirtyData ()
 
 newObjectOrder (&$def, $orderField, $conditions)
 
 remove ($conditions=null, $extraConditions=null)
 
 removeObject (&$def, $conditions=null, $extraConditions=null)
 
 reorderObject (&$def, $orderField, $conditions, $down=true)
 
 setAttribute ($attr, $val)
 
 setHasDirtyData ($hasDirtyData)
 
 store ($fieldFilters=null)
 
 swapRow ($table, &$keys, &$order_id, &$rows, $id1, $id2)
 
 sync ($fieldFilters=null)
 
 updateObjectList ($parameters)
 

Static Public Member Functions

 cleanupAllInternalDrafts ($userID=false, $timeDuration=86400)
 
 createFetchSQLString ($id)
 
 exists ($id)
 
 expireTemplateBlockCacheIfNeeded ()
 
 fillNodeListAttributes (&$nodeList, $asObject=true)
 
 removeVersions ($versionStatus=false)
 
 setDefaultLanguage ($lang)
 
unserialize (&$package, &$domNode, &$options, $ownerID=false, $handlerType= 'ezcontentobject')
 

Public Attributes

 $ClassIdentifier
 Cached class identifier. More...
 
 $ClassName
 Stores the current class name. More...
 
 $ContentActionList = false
 Contains an array of the content object actions for the current object. More...
 
 $ContentObjectAttributes = array()
 Contains a cached version of the content object attributes for the given version and language. More...
 
 $CurrentLanguage
 Stores the current language. More...
 
 $DataMap = array()
 Contains the datamap for content object attributes. More...
 
 $ID
 
 $InputRelationList = array()
 Contains the arrays of relatedobject id by fetching input for this object. More...
 
 $MainNodeID = false
 Contains the main node id for this object. More...
 
 $Name
 

Private Member Functions

 mapLanguage ($language, $options)
 

Detailed Description

Handles eZ publish content objects.

It encapsulates the data for an object and provides lots of functions for dealing with versions, translations and attributes.

See Also
eZContentClass

Member Function Documentation

eZContentObject::accessList (   $function)

Get accesslist for specified function

Parameters
function
Returns
AccessList
eZContentObject::addContentObjectRelation (   $toObjectID,
  $fromObjectVersion = false,
  $fromObjectID = false,
  $attributeID = 0,
  $relationType = EZ_CONTENT_OBJECT_RELATION_COMMON 
)

Adds a link to the given content object id.

Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.

Referenced by commitInputRelations(), eZObjectRelationType\storeObjectAttribute(), and eZObjectRelationListType\storeObjectAttribute().

& eZContentObject::addLocation (   $parentNodeID,
  $asObject = false 
)

Adds a new location (node) to the current object.

Parameters
$parenNodeIDThe id of the node to use as parent.
$asObjectIf true it will return the new child-node as an object, if not it returns the ID.
Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.
eZContentObject::allContentObjectAttributes (   $contentObjectID,
  $asObject = true 
)

Referenced by revertTo().

& eZContentObject::allLanguages ( )
eZContentObject::appendInputRelationList (   $addingIDList,
  $relationType 
)
& eZContentObject::assignedNodes (   $asObject = true)

Returns the node assignments for the current object.

Referenced by copy(), createNewVersion(), parentNodes(), and storeNodeModified().

& eZContentObject::authorArray ( )

Returns a list of all the authors for this object. The returned value is an array of eZ user objects.

& eZContentObject::availableLanguages ( )
Returns
the languages the object has been translated into/exists in.

Returns an array with the language codes.

It uses the attribute avail_lang as the source for the language list.

Referenced by canCreateLanguages(), canEditLanguages(), and copyVersion().

& eZContentObject::availableLanguagesJsArray ( )
eZContentObject::cacheInfo (   $Params)
Returns
a structure with information required for caching.
& eZContentObject::canCreate ( )
Note
The reference for the return value is required to workaround a bug with PHP references.
& eZContentObject::canCreateClassList (   $asObject = false,
  $includeFilter = true,
  $groupList = false,
  $fetchID = false 
)

Finds all classes that the current user can create objects from and returns. It is also possible to filter the list event more with $includeFilter and $groupList.

Parameters
$asObjectIf true then it return eZContentClass objects, if not it will be an associative array with name and id keys.
$includeFilterIf true then it will include only from class groups defined in $groupList, if not it will exclude those groups.
$groupListAn array with class group IDs that should be used in filtering, use false if you do not wish to filter at all.
$idA unique name for the current fetch, this must be supplied when filtering is used if you want caching to work.
& eZContentObject::canCreateLanguages ( )
& eZContentObject::canDiff ( )
Returns
true if the current user can diff this content object.
Note
The reference for the return value is required to workaround a bug with PHP references.
& eZContentObject::canEdit (   $originalClassID = false,
  $parentClassID = false,
  $returnAccessList = false,
  $language = false 
)
Note
The reference for the return value is required to workaround a bug with PHP references.

Referenced by canEditLanguages().

& eZContentObject::canEditLanguages ( )
& eZContentObject::canMove ( )

Check if the object can be moved. (actually checks 'edit' and 'remove' permissions)

Returns
true if the object can be moved by the current user.
See Also
checkAccess().
Note
The reference for the return value is required to workaround a bug with PHP references.
Deprecated:
The function canMove() is preferred since its naming is clearer.
& eZContentObject::canMoveFrom ( )

Check if the object can be moved. (actually checks 'edit' and 'remove' permissions)

Returns
true if the object can be moved by the current user.
See Also
checkAccess().
Note
The reference for the return value is required to workaround a bug with PHP references.

Referenced by canMove().

& eZContentObject::canPdf ( )
Returns
true if the current user can create a pdf of this content object.
Note
The reference for the return value is required to workaround a bug with PHP references.
& eZContentObject::canRead ( )
Returns
true if the current user can read this content object.
Note
The reference for the return value is required to workaround a bug with PHP references.
& eZContentObject::canRemove ( )
Note
The reference for the return value is required to workaround a bug with PHP references.
& eZContentObject::canTranslate ( )
Note
The reference for the return value is required to workaround a bug with PHP references.
& eZContentObject::canViewEmbed ( )
Returns
true if the node can be viewed as embeded object by the current user.
See Also
checkAccess().
Note
The reference for the return value is required to workaround a bug with PHP references.
eZContentObject::checkAccess (   $functionName,
  $originalClassID = false,
  $parentClassID = false,
  $returnAccessList = false,
  $language = false 
)

Check access for the current object

Parameters
functionname ( edit, read, remove, etc. )
originalclass ID ( used to check access for object creation ), default false
parentclass id ( used to check access for object creation ), default false
returnaccess list instead of access result (optional, default false )
Returns
1 if has access, 0 if not. If returnAccessList is set to true, access list is returned

Referenced by accessList(), canCreate(), canCreateLanguages(), canDiff(), canEdit(), canMoveFrom(), canPdf(), canRead(), canRemove(), canTranslate(), canViewEmbed(), and removeTranslation().

eZContentObject::checkGroupLimitationAccess (   $limitationValueList,
  $userID,
  $contentObjectID = false 
)

Referenced by checkAccess().

eZContentObject::classListFromPolicy (   $policy,
  $allowedLanguageCodes = false 
)

Referenced by canCreateClassList().

& eZContentObject::className ( )
Returns
The name of the class which this object was created from.
Note
The object will cache the class name information so multiple calls will be fast.
eZContentObject::cleanupAllInternalDrafts (   $userID = false,
  $timeDuration = 86400 
)
static

Removes all old internal drafts by the specified user. Only internal drafts older than 1 day will be considered.

Parameters
$userIDThe ID of the user to cleanup for, if false it will use the current user.
eZContentObject::cleanupInternalDrafts (   $userID = false,
  $timeDuration = 86400 
)

Removes old internal drafts by the specified user associated with this content object. Only internal drafts older than 1 day will be considered.

Parameters
$userIDThe ID of the user to cleanup for, if false it will use the current user.
eZContentObject::clearCache (   $idArray = array())

Clear in-memory caches.

Parameters
$idArrayobjects to clear caches for.

If the parameter is ommitted the caches are cleared for all objects.

Referenced by eZContentObjectTreeNode\assignSectionToSubTree(), eZContentObjectPackageHandler\installContentObjects(), eZContentObjectTreeNode\removeSubtrees(), and eZContentObjectPackageHandler\uninstall().

eZContentObject::clone ( )
Returns
a new clone of the current object which has is ready to be stored with a new ID.

Referenced by copy().

eZContentObject::commitInputRelations (   $editVersion)

Referenced by validateInput().

& eZContentObject::contentActionList ( )

Returns an array of the content actions which can be performed on the current object.

& eZContentObject::contentClass ( )
Returns
the content class for the current content object

Referenced by contentClassGroupIDList(), copyVersion(), matchIngroupIDList(), and rename().

& eZContentObject::contentClassGroupIDList ( )
Returns
the content class group identifiers for the current content object
& eZContentObject::contentClassIdentifier ( )
Returns
the content class identifer for the current content object
Note
The object will cache the class name information so multiple calls will be fast.
& eZContentObject::contentObjectAttributes (   $asObject = true,
  $version = false,
  $language = false,
  $contentObjectAttributeID = false,
  $distinctItemsOnly = false 
)

Fetches the attributes for the current published version of the object. TODO: fix using of $asObject parameter, fix condition for getting attribute from cache, probably need to move method to eZContentObjectVersion class

Referenced by contentActionList(), fetchDataMap(), and handleAllCustomHTTPActions().

& eZContentObject::contentObjectListRelatingThis (   $version = false,
  $objectID = false 
)

Returns the related objects.

Note
This function is a duplicate of reverseRelatedObjectList(), use that function instead.
& eZContentObject::copy (   $allVersions = true)

Makes a copy of the object which is stored and then returns it.

Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.
eZContentObject::copyContentObjectRelations (   $currentVersion,
  $newVersion,
  $newObjectID = false 
)

Referenced by copyVersion().

eZContentObject::copyRevertTo (   $version,
  $language = false 
)

Copies the given version of the object and creates a new current version.

Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.
eZContentObject::copyVersion ( $newObject,
$version,
  $newVersionNumber,
  $contentObjectID = false,
  $status = EZ_VERSION_STATUS_DRAFT,
  $languageCode = false,
  $copyFromLanguageCode = false 
)

Creates a new version and returns it as an eZContentObjectVersion object. If version number is given as argument that version is used to create a copy.

Parameters
$languageCodeIf false all languages will be copied, otherwise only specified by the locale code string or an array of the locale code strings.
Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.

Referenced by copy(), and createNewVersion().

eZContentObject::create (   $name,
  $contentclassID,
  $userID,
  $sectionID = 1,
  $version = 1,
  $languageCode = false 
)

Creates a new content object instance and stores it.

Referenced by eZContentClass\instantiate().

eZContentObject::createFetchSQLString (   $id)
static

Creates the SQL for fetching the object with ID $id and returns the string.

Referenced by exists(), and fetch().

eZContentObject::createInitialVersion (   $userID,
  $initialLanguageCode = false 
)
eZContentObject::createNewVersion (   $copyFromVersion = false,
  $versionCheck = true,
  $languageCode = false,
  $copyFromLanguageCode = false,
  $status = EZ_VERSION_STATUS_DRAFT 
)

Creates a new version and returns it as an eZContentObjectVersion object. If version number is given as argument that version is used to create a copy.

Parameters
$versionCheckIf true it will check if there are too many version and remove some of them to make room for a new.
Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.

Referenced by createNewVersionIn(), and rename().

& eZContentObject::createNewVersionIn (   $languageCode,
  $copyFromLanguageCode = false,
  $copyFromVersion = false,
  $versionCheck = true,
  $status = EZ_VERSION_STATUS_DRAFT 
)

Referenced by copyRevertTo().

eZContentObject::createNodeAssignment (   $parentNodeID,
  $isMain,
  $remoteID = false,
  $sortField = 2,
  $sortOrder = 0 
)

Creates a new node assignment that will place the object as child of node $nodeID.

Returns
The eZNodeAssignment object it created
Parameters
$parentNodeIDThe node ID of the parent node
$isMaintrue if the created node is the main node of the object
$remoteIDA string denoting the unique remote ID of the assignment or false for no remote id.
Note
The return assignment will already be stored in the database
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.
eZContentObject::createWithNodeAssignment (   $parentNode,
  $contentClassID,
  $languageCode,
  $remoteID = false 
)
& eZContentObject::currentLanguage ( )
& eZContentObject::currentLanguageObject ( )
& eZContentObject::currentVersion (   $asObject = true)

Returns the current version of this document.

Referenced by copy(), createNewVersion(), removeTranslation(), serialize(), and setAlwaysAvailableLanguageID().

& eZContentObject::dataMap ( )
Returns
a map with all the content object attributes where the keys are the attribute identifiers.
& eZContentObject::embeddedContentObjectCount (   $fromObjectVersion = false,
  $fromObjectID = false 
)

Returns the xml-embedded objects count.

& eZContentObject::embeddedContentObjectList (   $fromObjectVersion = false,
  $fromObjectID = false 
)

Returns the xml-embedded objects.

eZContentObject::exists (   $id)
static

Tests for the existance of a content object by using the ID $id.

Returns
true if the object exists, false otherwise.
Note
Uses the static function createFetchSQLString() to generate the SQL
eZContentObject::expireAllCache ( )

Sets all content cache files to be expired. Both view cache and cache blocks are expired.

Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.

Referenced by eZContentCacheManager\clearAllContentCache().

eZContentObject::expireAllViewCache ( )
eZContentObject::expireComplexViewModeCache ( )

Sets all complex viewmode content cache files to be expired.

Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.

Referenced by eZContentCacheManager\clearObjectViewCache().

eZContentObject::expireTemplateBlockCache ( )

Expires all template block cache. This should be expired anytime any content is published/modified or removed.

Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.

Referenced by eZContentCacheManager\clearTemplateBlockCache(), and expireTemplateBlockCacheIfNeeded().

eZContentObject::expireTemplateBlockCacheIfNeeded ( )
static

Callse eZContentObject::xpireTemplateBlockCache() unless template caching is disabled.

eZContentObject::eZContentObject (   $row)
& eZContentObject::fetch (   $id,
  $asObject = true 
)

Fetches the content object with the given ID

Note
Uses the static function createFetchSQLString() to generate the SQL

Referenced by eZContentObjectTreeNode\addChild(), eZShopOperationCollection\addToBasket(), eZObjectRelationListType\appendObject(), eZContentOperationCollection\attributePublishAction(), checkGroupLimitationAccess(), eZContentCacheManager\clearTemplateBlockCache(), eZWorkflowProcess\content(), eZInformationCollectionAttribute\contentObject(), eZProductCollectionItem\contentObject(), eZContentObjectVersion\contentObject(), eZUser\contentObject(), copyPublishContentObject(), eZContentOperationCollection\copyTranslations(), eZContentObjectVersion\creator(), eZObjectRelationListType\customObjectAttributeHTTPAction(), eZWaitUntilDateType\execute(), eZApproveType\execute(), eZMultiplexerType\execute(), eZShopFunctionCollection\fetchBestSellList(), fetchByRemoteID(), eZContentFunctionCollection\fetchContentObject(), eZApproveType\fetchHTTPInput(), eZContentFunctionCollection\fetchObject(), eZURLObjectLink\fetchObjectVersionList(), eZContentFunctionCollection\fetchRelatedObjects(), eZContentFunctionCollection\fetchRelatedObjectsCount(), eZShopFunctionCollection\fetchRelatedPurchaseList(), eZObjectRelationType\fromString(), eZObjectRelationListType\fromString(), eZContentObjectPackageHandler\generateFetchAliasArray(), eZContentCacheManager\generateObjectViewCache(), eZObjectRelationListType\handleCustomObjectHTTPActions(), importRSSItem(), eZObjectRelationListType\initializeObjectAttribute(), eZContentObjectPackageHandler\installSuspendedNodeAssignment(), eZTextFileUser\loginUser(), eZContentOperationCollection\loopNodeAssignment(), eZObjectRelationListType\metaData(), eZOrderStatusHistory\modifier(), eZContentCacheManager\nodeList(), eZContentCacheManager\nodeListForObject(), eZContentObjectAttribute\object(), eZInformationCollection\object(), eZObjectRelationType\objectAttributeContent(), eZObjectRelationListType\onPublish(), eZOrder\orderStatistics(), owner(), eZCollaborationItemParticipantLink\participant(), eZOrder\productList(), eZContentOperationCollection\publishNode(), eZContentUpload\publishObject(), eZLDAPUser\publishUpdateUser(), purge(), eZContentOperationCollection\registerSearchObject(), eZContentObjectOperations\remove(), remove(), eZContentOperationCollection\removeOldNodes(), eZContentOperationCollection\removeTemporaryDrafts(), eZContentOperationCollection\resetNodeassignmentOpcodes(), eZXMLTextType\serializeContentObjectAttribute(), eZObjectRelationType\serializeContentObjectAttribute(), eZObjectRelationListType\serializeContentObjectAttribute(), eZContentOperationCollection\setObjectStatusPublished(), eZContentOperationCollection\setVersionStatus(), eZObjectRelationListType\title(), unserialize(), eZContentObjectTreeNode\updateMainNodeID(), eZContentOperationCollection\updateNontranslatableAttributes(), eZContentOperationCollection\updateSectionID(), eZApproveType\validateGroupIDList(), eZObjectRelationListType\validateObjectAttributeHTTPInput(), and eZApproveType\validateUserIDList().

& eZContentObject::fetchByNodeID (   $nodeID,
  $asObject = true 
)

Fetches the contentobject which has a node with the ID $nodeID

Parameters
$asObjectIf true return the as a PHP object, if false return the raw database data.

Referenced by eZNodeAssignment\getParentObject(), eZContentCacheManager\nodeListForObject(), and eZContentObjectTreeNode\updateMainNodeID().

& eZContentObject::fetchClassAttributes (   $version = 0,
  $asObject = true 
)

Returns the attributes for the content object version $version and content object $contentObjectID. $language defines the language to fetch.

See Also
attributes

Referenced by serialize().

& eZContentObject::fetchDataMap (   $version = false,
  $language = false 
)
Returns
a map with all the content object attributes where the keys are the attribute identifiers.
See Also
eZContentObjectTreeNode::dataMap

Referenced by dataMap().

eZContentObject::fetchFilteredList (   $conditions = null,
  $offset = false,
  $limit = false,
  $asObject = true 
)

Referenced by fetchSameClassList().

& eZContentObject::fetchIDArray (   $idArray,
  $asObject = true 
)

Fetches the content object from the ID array

Referenced by checkGroupLimitationAccess(), and eZXMLOutputHandler\prefetch().

eZContentObject::fetchInput ( $contentObjectAttributes,
  $attributeDataBaseName,
  $customActionAttributeArray,
  $customActionParameters 
)
eZContentObject::fetchList (   $asObject = true,
  $conditions = null,
  $offset = false,
  $limit = false 
)
Returns
An array with content objects.
Parameters
$asObjectWhether to return objects or not
$conditionsOptional conditions to limit the fetch, set to null to skip it.
$offsetWhere to start fetch from, set to false to skip it.
$limitMaximum number of objects to fetch, set false to skip it.
See Also
fetchListCount

Referenced by eZContentCacheManager\clearContentCacheIfNeededBySectionID().

eZContentObject::fetchListCount (   $conditions = null)
Returns
The number of objects in the database. Optionally $conditions can be used to limit the list count.
See Also
fetchList
eZContentObject::fetchObjectCountByUserID (   $classID,
  $userID 
)
Returns
the number of objects of the given class is created by the given user.

Referenced by eZContentFunctionCollection\fetchObjectCountByUserID().

eZContentObject::fetchSameClassList (   $contentClassID,
  $asObject = true,
  $offset = false,
  $limit = false 
)
eZContentObject::fetchSameClassListCount (   $contentClassID)
eZContentObject::fillNodeListAttributes ( $nodeList,
  $asObject = true 
)
static

Fetches the attributes for an array of objects. The objectList parameter contains an array of object id's , versions and language to fetch attributes from.

Referenced by eZTreeMenuOperator\modify(), and eZContentObjectTreeNode\subTree().

eZContentObject::fixReverseRelations (   $objectID,
  $mode = false 
)

Referenced by purge(), and remove().

eZContentObject::fixupInput ( $contentObjectAttributes,
  $attributeDataBaseName 
)
eZContentObject::getVersionCount ( )

Returns number of exist versions.

Referenced by createNewVersion().

eZContentObject::handleAllCustomHTTPActions (   $attributeDataBaseName,
  $customActionAttributeArray,
  $customActionParameters,
  $objectVersion = false 
)
eZContentObject::handleCustomHTTPActions ( $contentObjectAttribute,
  $attributeDataBaseName,
  $customActionAttributeArray,
  $customActionParameters 
)

Referenced by fetchInput().

eZContentObject::hasContentAction (   $name)
Returns
true if the content action is in the content action list

Referenced by contentActionList().

eZContentObject::hasRemainingVersions ( )
Returns
true if the object has any versions remaining.
& eZContentObject::initialLanguage ( )
& eZContentObject::initialLanguageCode ( )
& eZContentObject::isAlwaysAvailable ( )

Referenced by copyVersion().

eZContentObject::isCacheExpired (   $timestamp)
Returns
if the content cache timestamp $timestamp is expired.

Referenced by eZContentCache\exists(), and eZContentCache\restore().

eZContentObject::isComplexViewMode (   $viewMode)
Returns
true if the viewmode is a complex viewmode.

Referenced by isComplexViewModeCacheExpired().

eZContentObject::isComplexViewModeCacheExpired (   $viewMode,
  $timestamp 
)
Returns
true if the viewmode is a complex viewmode and the viewmode timestamp is expired.

Referenced by eZContentCache\exists(), and eZContentCache\restore().

& eZContentObject::languages ( )

Referenced by availableLanguages().

& eZContentObject::linkedContentObjectCount (   $fromObjectVersion = false,
  $fromObjectID = false 
)

Returns the xml-linked objects count.

& eZContentObject::linkedContentObjectList (   $fromObjectVersion = false,
  $fromObjectID = false 
)

Returns the xml-linked objects.

& eZContentObject::mainNode ( )
& eZContentObject::mainNodeID ( )

Returns the main node id for the current object.

& eZContentObject::mainParentNodeID ( )
eZContentObject::mapLanguage (   $language,
  $options 
)
private

Maps input lange to another one if defined in $options['language_map']. If it cannot map it returns the original language.

Returns
string

Referenced by unserialize().

& eZContentObject::matchIngroupIDList ( )

Get class groups this object's class belongs to if match for class groups is enabled.

Returns
array of class group ids. False if match is disabled.
Note
The reference for the return value is required to workaround a bug with PHP references.
& eZContentObject::name (   $version = false,
  $lang = false 
)
eZContentObject::names ( )
eZContentObject::nextVersion ( )

Returns the next available version number for this object.

Referenced by createNewVersion().

& eZContentObject::owner ( )

Returns the owner of the object as a content object.

& eZContentObject::parentNodeIDArray ( )

Get parent node IDs

& eZContentObject::parentNodes (   $version = false,
  $asObject = true 
)
Parameters
$versionNo longer in use, published nodes are used instead.
$asObjectIf true it fetches PHP objects, otherwise it fetches IDs.
Returns
the parnet nodes for the current object.

Referenced by parentNodeIDArray().

eZContentObject::permissions ( )

Returns the permission for the current object.

eZContentObject::postUnserialize ( $package)

Performs additional unserialization actions that need to be performed when all objects contained in the package are already installed. (maintain objects' cross-relations)

eZContentObject::previousVersion ( )

Returns the previous available version number for this object, if existing, false otherwise ( if the object has only one version )

eZContentObject::publishContentObjectRelations (   $version)
eZContentObject::purge (   $id = false)

If nodeID is not given, this function will remove object from database. All versions and translations of this object will be lost. Otherwise, it will check node assignment and only delete the object from this node if it was assigned to other nodes as well.

Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.
eZContentObject::recursionProtectionEnd ( )
eZContentObject::recursionProtectionStart ( )
& eZContentObject::relatedContentObjectArray (   $fromObjectVersion = false,
  $fromObjectID = false,
  $attributeID = 0,
  $params = false 
)
& eZContentObject::relatedContentObjectCount (   $fromObjectVersion = false,
  $fromObjectID = false,
  $attributeID = 0,
  $params = false 
)
Returns
the number of related objects
Parameters
$attributeID: ( makes sense only when $params['AllRelations'] not set or EZ_CONTENT_OBJECT_RELATION_ATTRIBUTE ) >0 - return relations made with attribute ID ( "related object(s)" datatype ) 0 or false ( $params['AllRelations'] is EZ_CONTENT_OBJECT_RELATION_ATTRIBUTE )
  • return relations made with any attributes false ( $params['AllRelations'] not set )
  • return ALL relations (deprecated, use "$params['AllRelations'] = true" instead)
$params: other parameters from template fetch function : $params['AllRelations'] - relation type filter : true - return ALL relations, including attribute-level false - return object-level relations >0 - bit mask of EZ_CONTENT_OBJECT_RELATION_* values $params['SortBy'] - related objects sorting mode. Supported modes: class_identifier, class_name, modified, name, published, section $params['IgnoreVisibility'] - ignores 'hidden' state of related objects if true
& eZContentObject::relatedContentObjectList (   $fromObjectVersion = false,
  $fromObjectID = false,
  $attributeID = 0,
  $groupByAttribute = false,
  $params = false 
)

Returns the related objects.

Parameters
$attributeID: ( makes sense only when $params['AllRelations'] not set or EZ_CONTENT_OBJECT_RELATION_ATTRIBUTE ) >0 - return relations made with attribute ID ( "related object(s)" datatype ) 0 or false ( $params['AllRelations'] is EZ_CONTENT_OBJECT_RELATION_ATTRIBUTE )
  • return relations made with any attributes false ( $params['AllRelations'] not set )
  • return ALL relations (deprecated, use "$params['AllRelations'] = true" instead)
$groupByAttribute: false - return all relations as an array of content objects true - return all relations groupped by attribute ID This parameter makes sense only when $attributeID == false or $params['AllRelations'] = true
$params: other parameters from template fetch function : $params['AllRelations'] - relation type filter : true - return ALL relations, including attribute-level false - return object-level relations >0 - bit mask of EZ_CONTENT_OBJECT_RELATION_* values $params['SortBy'] - related objects sorting mode. Supported modes: class_identifier, class_name, modified, name, published, section $params['IgnoreVisibility'] - ignores 'hidden' state of related objects if true

Referenced by relatedContentObjectArray(), and eZContentObjectVersion\serialize().

& eZContentObject::relatedObjectCount (   $version = false,
  $objectID = false,
  $attributeID = 0,
  $reverseRelatedObjects = false,
  $params = false 
)
Returns
the number of related or reverse related objects
Parameters
$attributeID: ( makes sense only when $params['AllRelations'] not set or EZ_CONTENT_OBJECT_RELATION_ATTRIBUTE ) >0 - return relations made with attribute ID ( "related object(s)" datatype ) 0 or false ( $params['AllRelations'] is EZ_CONTENT_OBJECT_RELATION_ATTRIBUTE )
  • return relations made with any attributes false ( $params['AllRelations'] not set )
  • return ALL relations (deprecated, use "$params['AllRelations'] = true" instead)
$params: other parameters from template fetch function : $params['AllRelations'] - relation type filter : true - return ALL relations, including attribute-level false - return object-level relations >0 - bit mask of EZ_CONTENT_OBJECT_RELATION_* values $params['SortBy'] - related objects sorting mode. Supported modes: class_identifier, class_name, modified, name, published, section $params['IgnoreVisibility'] - ignores 'hidden' state of related objects if true
$reverseRelatedObjects: if "true" returns reverse related contentObjects if "false" returns related contentObjects

Referenced by embeddedContentObjectCount(), linkedContentObjectCount(), relatedContentObjectCount(), reverseEmbeddedObjectCount(), reverseLinkedObjectCount(), and reverseRelatedObjectCount().

& eZContentObject::relatedObjects (   $fromObjectVersion = false,
  $objectID = false,
  $attributeID = 0,
  $groupByAttribute = false,
  $params = false,
  $reverseRelatedObjects = false 
)

Returns the related or reverse related objects:

Parameters
$attributeID: ( makes sense only when $params['AllRelations'] not set or EZ_CONTENT_OBJECT_RELATION_ATTRIBUTE ) >0 - return relations made with attribute ID ( "related object(s)" datatype ) 0 or false ( $params['AllRelations'] is EZ_CONTENT_OBJECT_RELATION_ATTRIBUTE )
  • return relations made with any attributes false ( $params['AllRelations'] not set )
  • return ALL relations (deprecated, use "$params['AllRelations'] = true" instead)
$groupByAttribute: false - return all relations as an array of content objects true - return all relations groupped by attribute ID This parameter makes sense only when $attributeID == false or $params['AllRelations'] = true
$params: other parameters from template fetch function : $params['AllRelations'] - relation type filter : true - return ALL relations, including attribute-level false - return object-level relations >0 - bit mask of EZ_CONTENT_OBJECT_RELATION_* values $params['SortBy'] - related objects sorting mode. Supported modes: class_identifier, class_name, modified, name, published, section $params['IgnoreVisibility'] - ignores 'hidden' state of related objects if true
$reverseRelatedObjects: if "true" returns reverse related contentObjects if "false" returns related contentObjects

Referenced by commitInputRelations(), embeddedContentObjectList(), linkedContentObjectList(), relatedContentObjectList(), reverseEmbeddedObjectList(), reverseLinkedObjectList(), and reverseRelatedObjectList().

eZContentObject::relationTypeMask (   $allRelations = false)
& eZContentObject::remoteID ( )

Get remote id of content node

eZContentObject::remove (   $id = false,
  $nodeID = null 
)
Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.
eZContentObject::removeContentObjectRelation (   $toObjectID = false,
  $fromObjectVersion = false,
  $fromObjectID = false,
  $attributeID = 0,
  $relationType = EZ_CONTENT_OBJECT_RELATION_COMMON 
)

Removes a link to the given content object id.

Parameters
$toObjectIDIf false it will delete relations to all the objects.
$attributeIDID of class attribute. IF it is > 0 we remove relations created by a specific objectrelation[list] attribute. If it is set to 0 we remove relations created without using of objectrelation[list] attribute. If it is set to false, we remove all relations, no matter how were they created: using objectrelation[list] attribute or using "Add related objects" functionality in obect editing mode.
Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.

Referenced by commitInputRelations(), eZObjectRelationType\removeContentObjectRelation(), eZObjectRelationType\storeObjectAttribute(), and eZObjectRelationListType\storeObjectAttribute().

eZContentObject::removeReverseRelations (   $objectID)
eZContentObject::removeTranslation (   $languageID)
eZContentObject::removeVersions (   $versionStatus = false)
static
Deprecated:
This method is left here only for backward compatibility. Use eZContentObjectVersion::removeVersions() method instead.
eZContentObject::rename (   $newName)

Sets the object's name to $newName: tries to find attributes that are in 'object pattern name' and updates them.

Returns
true if object's name was changed, otherwise false.
eZContentObject::resetDataMap ( )
eZContentObject::resetInputRelationList ( )
& eZContentObject::reverseEmbeddedObjectCount (   $fromObjectVersion = false,
  $fromObjectID = false 
)

Returns the reverse xml-embedded objects count.

& eZContentObject::reverseEmbeddedObjectList (   $fromObjectVersion = false,
  $fromObjectID = false 
)

Returns the reverse xml-embedded objects.

& eZContentObject::reverseLinkedObjectCount (   $fromObjectVersion = false,
  $fromObjectID = false 
)

Returns the reverse xml-linked objects count.

& eZContentObject::reverseLinkedObjectList (   $fromObjectVersion = false,
  $fromObjectID = false 
)

Returns the reverse xml-linked objects.

& eZContentObject::reverseRelatedObjectCount (   $version = false,
  $toObjectID = false,
  $attributeID = 0,
  $params = false 
)

Returns the number of objects to which this object is related.

Parameters
$attributeID: ( makes sense only when $params['AllRelations'] not set or EZ_CONTENT_OBJECT_RELATION_ATTRIBUTE ) >0 - return relations made with attribute ID ( "related object(s)" datatype ) 0 or false ( $params['AllRelations'] is EZ_CONTENT_OBJECT_RELATION_ATTRIBUTE )
  • return relations made with any attributes false ( $params['AllRelations'] not set )
  • return ALL relations (deprecated, use "$params['AllRelations'] = true" instead)
$params: other parameters from template fetch function : $params['AllRelations'] - relation type filter : true - return ALL relations, including attribute-level false - return object-level relations >0 - bit mask of EZ_CONTENT_OBJECT_RELATION_* values

Referenced by eZContentFunctionCollection\fetchReverseRelatedObjectsCount().

& eZContentObject::reverseRelatedObjectList (   $version = false,
  $toObjectID = false,
  $attributeID = 0,
  $groupByAttribute = false,
  $params = false 
)

Returns the objects to which this object are related .

Parameters
$attributeID: ( makes sense only when $params['AllRelations'] not set or EZ_CONTENT_OBJECT_RELATION_ATTRIBUTE ) >0 - return relations made with attribute ID ( "related object(s)" datatype ) 0 or false ( $params['AllRelations'] is EZ_CONTENT_OBJECT_RELATION_ATTRIBUTE )
  • return relations made with any attributes false ( $params['AllRelations'] not set )
  • return ALL relations (deprecated, use "$params['AllRelations'] = true" instead)
$groupByAttribute: false - return all relations as an array of content objects true - return all relations groupped by attribute ID This parameter makes sense only when $attributeID == false or $params['AllRelations'] = true
$params: other parameters from template fetch function : $params['AllRelations'] - relation type filter : true - return ALL relations, including attribute-level false - return object-level relations >0 - bit mask of EZ_CONTENT_OBJECT_RELATION_* values $params['SortBy'] - related objects sorting mode. Supported modes: class_identifier, class_name, modified, name, published, section $params['IgnoreVisibility'] - ignores 'hidden' state of related objects if true

Referenced by contentObjectListRelatingThis(), eZContentFunctionCollection\fetchReverseRelatedObjects(), removeReverseRelations(), and eZContentObjectVersion\reverseRelatedObjectList().

eZContentObject::revertTo (   $version)

Reverts the object to the given version. All versions newer then the given version will be deleted.

Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.
eZContentObject::serialize ( $package,
  $specificVersion = false,
  $options = false,
  $contentNodeIDArray = false,
  $topNodeIDArray = false 
)
Returns
a DOM structure of the content object and it's attributes.
Parameters
package
Contentobject version, true for current version, false for all, else array containing specific versions.
packageoptions ( optianal )
arrayof allowed nodes ( optional )
arrayof top nodes in current package export (optional )
Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.
eZContentObject::setAlwaysAvailableLanguageID (   $languageID,
  $version = false 
)
eZContentObject::setCachedName (   $name)

Sets the name of the object, in memory only. Use setName() to change it.

eZContentObject::setClassName (   $name)
eZContentObject::setContentObjectAttributes ( $attributes,
  $version,
  $language 
)

Initializes the cached copy of the content object attributes for the given version and language

eZContentObject::setCurrentLanguage (   $lang)
eZContentObject::setDefaultLanguage (   $lang)
static

Set default language. Checks if default language is valid.

Parameters
defaultlanguage.
Note
Deprecated.
eZContentObject::setName (   $objectName,
  $versionNum = false,
  $languageCode = false 
)

Sets the name of the object in all translations.

Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.
eZContentObject::setPermissions (   $permissionArray)

Sets the permissions for this object.

eZContentObject::store ( )

Store the object

Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.

Referenced by removeTranslation(), revertTo(), serialize(), and setAlwaysAvailableLanguageID().

eZContentObject::storeInput ( $contentObjectAttributes,
  $attributeInputMap 
)
Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.
eZContentObject::storeNodeModified ( )

Update all nodes to set modified_subnode value

Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.

Referenced by store().

eZContentObject::translationList ( )
Returns
an array with locale objects, these objects represents the languages the content objects are allowed to be translated into.
Note
the setting ContentSettings/TranslationList in site.ini determines the array.
See Also
translationStringList

Referenced by eZContentFunctionCollection\fetchTranslationList(), eZContentObjectPackageCreator\initializeObjectLimits(), eZContentObjectPackageCreator\loadObjectLimits(), and eZContentObjectVersion\nonTranslationList().

eZContentObject::translationStringList ( )
Returns
an array with locale strings, these strings represents the languages which content objects are allowed to be translated into.
Note
the setting ContentSettings/TranslationList in site.ini determines the array.
See Also
translationList
& eZContentObject::unserialize ( $package,
$domNode,
$options,
  $ownerID = false,
  $handlerType = 'ezcontentobject' 
)
static

Unserialize xml structure. Create object from xml input.

Parameters
package
XMLDOM Node
parentnode object.
Options
ownerID, override owner ID, null to use XML owner id (optional)
Returns
created object, false if could not create object/xml invalid
Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.

Referenced by checkAccess(), and eZContentObjectPackageHandler\installContentObjects().

eZContentObject::validateInput ( $contentObjectAttributes,
  $attributeDataBaseName,
  $inputParameters = false,
  $parameters = array() 
)
& eZContentObject::version (   $version,
  $asObject = true 
)

Returns the given object version. False is returned if the versions does not exist.

Referenced by createNewVersion(), and serialize().

& eZContentObject::versionLanguageName (   $contentObjectID,
  $version,
  $lang = false 
)
& eZContentObject::versions (   $asObject = true,
  $parameters = array() 
)
Returns
an array of versions for the current object.
Note
The reference for the return value is required to workaround a bug with PHP references.

Referenced by cleanupInternalDrafts(), copy(), createNewVersion(), hasRemainingVersions(), postUnserialize(), removeTranslation(), and serialize().

Member Data Documentation

eZContentObject::$ClassIdentifier

Cached class identifier.

Referenced by contentClassIdentifier().

eZContentObject::$ClassName

Stores the current class name.

Referenced by className().

eZContentObject::$ContentActionList = false

Contains an array of the content object actions for the current object.

Referenced by contentActionList().

eZContentObject::$ContentObjectAttributes = array()

Contains a cached version of the content object attributes for the given version and language.

eZContentObject::$CurrentLanguage

Stores the current language.

Referenced by contentObjectAttributes(), currentLanguage(), fetchDataMap(), and name().

eZContentObject::$DataMap = array()

Contains the datamap for content object attributes.

Referenced by resetDataMap().

eZContentObject::$InputRelationList = array()

Contains the arrays of relatedobject id by fetching input for this object.

eZContentObject::$MainNodeID = false

Contains the main node id for this object.

Referenced by mainNodeID().

eZContentObject::$Name

Referenced by name().


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