eZPublish  3.9
eZContentOperationCollection Class Reference

The class eZContentOperationCollection does. More...

Public Member Functions

 attributePublishAction ($objectID, $versionNum)
 
 beginPublish ()
 
 copyTranslations ($objectID, $versionNum)
 
 createNotificationEvent ($objectID, $versionNum)
 
 endPublish ()
 
 eZContentOperationCollection ()
 
 loopNodeAssignment ($objectID, $versionNum)
 
 loopNodes ($nodeID)
 
 publishNode ($parentNodeID, $objectID, $versionNum, $mainNodeID)
 
 publishObjectExtensionHandler ($contentObjectID, $contentObjectVersion)
 
 readNode ($nodeID)
 
 readObject ($nodeID, $userID, $languageCode)
 
 registerSearchObject ($objectID, $versionNum)
 
 removeOldNodes ($objectID, $versionNum)
 
 removeTemporaryDrafts ($objectID, $versionNum)
 
 resetNodeassignmentOpcodes ($objectID, $versionNum)
 
 setObjectStatusPublished ($objectID, $versionNum)
 
 setVersionStatus ($objectID, $versionNum, $status)
 
 updateNontranslatableAttributes ($objectID, $versionNum)
 
 updateSectionID ($objectID, $versionNum)
 

Static Public Member Functions

 clearObjectViewCache ($objectID, $versionNum=true, $additionalNodeList=false)
 
 generateObjectViewCache ($objectID)
 

Detailed Description

Member Function Documentation

eZContentOperationCollection::attributePublishAction (   $objectID,
  $versionNum 
)
eZContentOperationCollection::beginPublish ( )

Start global transaction.

eZContentOperationCollection::clearObjectViewCache (   $objectID,
  $versionNum = true,
  $additionalNodeList = false 
)
static

Clears the related viewcaches for the content object using the smart viewcache system.

Parameters
$objectIDThe ID of the content object to clear caches for
$versionNumThe version of the object to use or true for current version
$additionalNodeListAn array with node IDs to add to clear list, or false for no additional nodes.
eZContentOperationCollection::copyTranslations (   $objectID,
  $versionNum 
)

Copies missing translations from published version to the draft.

eZContentOperationCollection::createNotificationEvent (   $objectID,
  $versionNum 
)
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.
eZContentOperationCollection::endPublish ( )

Stop (commit) global transaction.

eZContentOperationCollection::eZContentOperationCollection ( )

Constructor

eZContentOperationCollection::generateObjectViewCache (   $objectID)
static

Generates the related viewcaches (PreGeneration) for the content object. It will only do this if [ContentSettings]/PreViewCache in site.ini is enabled.

Parameters
$objectIDThe ID of the content object to generate caches for.
eZContentOperationCollection::loopNodeAssignment (   $objectID,
  $versionNum 
)
eZContentOperationCollection::loopNodes (   $nodeID)
eZContentOperationCollection::publishNode (   $parentNodeID,
  $objectID,
  $versionNum,
  $mainNodeID 
)

Referenced by loopNodeAssignment().

eZContentOperationCollection::publishObjectExtensionHandler (   $contentObjectID,
  $contentObjectVersion 
)
eZContentOperationCollection::readNode (   $nodeID)
eZContentOperationCollection::readObject (   $nodeID,
  $userID,
  $languageCode 
)
eZContentOperationCollection::registerSearchObject (   $objectID,
  $versionNum 
)
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.
eZContentOperationCollection::removeOldNodes (   $objectID,
  $versionNum 
)
eZContentOperationCollection::removeTemporaryDrafts (   $objectID,
  $versionNum 
)
eZContentOperationCollection::resetNodeassignmentOpcodes (   $objectID,
  $versionNum 
)
eZContentOperationCollection::setObjectStatusPublished (   $objectID,
  $versionNum 
)
eZContentOperationCollection::setVersionStatus (   $objectID,
  $versionNum,
  $status 
)
eZContentOperationCollection::updateNontranslatableAttributes (   $objectID,
  $versionNum 
)

Updates non-translatable attributes.

eZContentOperationCollection::updateSectionID (   $objectID,
  $versionNum 
)

Referenced by publishNode().


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