eZPublish  3.8
eZWorkflowProcess Class Reference
+ Inheritance diagram for eZWorkflowProcess:
+ Collaboration diagram for eZWorkflowProcess:

Public Member Functions

 advance ($next_event_id=0, $next_event_pos=0, $status=0)
 
 advanceToNext ()
 
content ()
 
create ($processKey, $parameters)
 
 createKey ($parameters, $keys=null)
 
 currentEvent ()
 
 definition ()
 
 eZWorkflowProcess ($row)
 
 fetch ($id, $asObject=true)
 
 fetchForContent ($workflowID, $userID, $contentID, $content_version, $nodeID, $asObject=true)
 
 fetchForSession ($sessionKey, $workflowID, $asObject=true)
 
 fetchForStatus ($status=EZ_WORKFLOW_STATUS_DEFERRED_TO_CRON, $asObject=true)
 
 fetchList ($conds=null, $asObject=true)
 
 fetchListByKey ($searchKey, $asObject=true)
 
 fetchUserList ($userID, $asObject=true)
 
lastWorkflowEvent ()
 
node ()
 
parameterList ()
 
 remove ()
 
 reset ()
 
 run (&$workflow, &$workflowEvent, &$eventLog)
 
setParameters ($parameterList=null)
 
 store ()
 
user ()
 
workflow ()
 
workflowEvent ()
 
- 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)
 
 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

 cleanup ()
 

Private Attributes

 $ActivationDate
 
 $ContentID
 
 $Created
 
 $EventID
 
 $EventPosition
 
 $EventStatus
 
 $ID
 
 $LastEventID
 
 $LastEventPosition
 
 $LastEventStatus
 
 $Modified
 
 $NodeID
 
 $UserID
 
 $WorkflowID
 

Member Function Documentation

eZWorkflowProcess::advance (   $next_event_id = 0,
  $next_event_pos = 0,
  $status = 0 
)

Referenced by run().

eZWorkflowProcess::advanceToNext ( )
eZWorkflowProcess::cleanup ( )
static

Removes all workflow processes from database.

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.
& eZWorkflowProcess::content ( )
& eZWorkflowProcess::create (   $processKey,
  $parameters 
)
eZWorkflowProcess::createKey (   $parameters,
  $keys = null 
)
eZWorkflowProcess::currentEvent ( )
eZWorkflowProcess::eZWorkflowProcess (   $row)

Referenced by create().

eZWorkflowProcess::fetch (   $id,
  $asObject = true 
)
eZWorkflowProcess::fetchForContent (   $workflowID,
  $userID,
  $contentID,
  $content_version,
  $nodeID,
  $asObject = true 
)
eZWorkflowProcess::fetchForSession (   $sessionKey,
  $workflowID,
  $asObject = true 
)
eZWorkflowProcess::fetchForStatus (   $status = EZ_WORKFLOW_STATUS_DEFERRED_TO_CRON,
  $asObject = true 
)
eZWorkflowProcess::fetchList (   $conds = null,
  $asObject = true 
)
eZWorkflowProcess::fetchListByKey (   $searchKey,
  $asObject = true 
)
eZWorkflowProcess::fetchUserList (   $userID,
  $asObject = true 
)
& eZWorkflowProcess::lastWorkflowEvent ( )
& eZWorkflowProcess::node ( )
& eZWorkflowProcess::parameterList ( )
eZWorkflowProcess::remove ( )
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.
eZWorkflowProcess::reset ( )

Referenced by run().

eZWorkflowProcess::run ( $workflow,
$workflowEvent,
$eventLog 
)
& eZWorkflowProcess::setParameters (   $parameterList = null)
eZWorkflowProcess::store ( )
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.
& eZWorkflowProcess::user ( )
& eZWorkflowProcess::workflow ( )
& eZWorkflowProcess::workflowEvent ( )

Member Data Documentation

eZWorkflowProcess::$ActivationDate
private
eZWorkflowProcess::$ContentID
private
eZWorkflowProcess::$Created
private
eZWorkflowProcess::$EventID
private

Referenced by advance().

eZWorkflowProcess::$EventPosition
private

Referenced by advance().

eZWorkflowProcess::$EventStatus
private
eZWorkflowProcess::$ID
private
eZWorkflowProcess::$LastEventID
private
eZWorkflowProcess::$LastEventPosition
private
eZWorkflowProcess::$LastEventStatus
private
eZWorkflowProcess::$Modified
private
eZWorkflowProcess::$NodeID
private
eZWorkflowProcess::$UserID
private
eZWorkflowProcess::$WorkflowID
private

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