eZPublish  4.4
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 ()
 
 currentEvent ()
 
 eZWorkflowProcess ($row)
 
 lastWorkflowEvent ()
 
 node ()
 
 parameterList ()
 
 removeThis ()
 
 reset ()
 
 run (&$workflow, &$workflowEvent, &$eventLog)
 
 setParameters ($parameterList=null)
 
 user ()
 
 workflow ()
 
 workflowEvent ()
 
- Public Member Functions inherited from eZPersistentObject
 attribute ($attr, $noFunction=false)
 
 attributes ()
 
 eZPersistentObject ($row)
 
 fill ($row)
 
 hasAttribute ($attr)
 
 hasDirtyData ()
 
 remove ($conditions=null, $extraConditions=null)
 
 setAttribute ($attr, $val)
 
 setHasDirtyData ($hasDirtyData)
 
 store ($fieldFilters=null)
 
 sync ($fieldFilters=null)
 

Static Public Member Functions

 cleanup ()
 
static create ($processKey, $parameters)
 
static createKey ($parameters, $keys=null)
 
static definition ()
 
static fetch ($id, $asObject=true)
 
static fetchForContent ($workflowID, $userID, $contentID, $contentVersion, $nodeID, $asObject=true)
 
static fetchForSession ($sessionKey, $workflowID, $asObject=true)
 
static fetchForStatus ($status=eZWorkflow::STATUS_DEFERRED_TO_CRON, $asObject=true)
 
static fetchList ($conds=null, $asObject=true, $offset=false, $limit=false)
 
static fetchListByKey ($searchKey, $asObject=true)
 
static fetchUserList ($userID, $asObject=true)
 
- Static Public Member Functions inherited from eZPersistentObject
static conditionText ($conditions)
 
static conditionTextByRow ($conditions, $row)
 
static count ($def, $conds=null, $field=null)
 
static definition ()
 
static escapeArray ($array)
 
static fetchObject ($def, $field_filters, $conds, $asObject=true, $grouping=null, $custom_fields=null)
 
static fetchObjectList ($def, $field_filters=null, $conds=null, $sorts=null, $limit=null, $asObject=true, $grouping=false, $custom_fields=null, $custom_tables=null, $custom_conds=null)
 
static getShortAttributeName ($db, $def, $attrName)
 
static handleRows ($rows, $class_name, $asObject)
 
static newObjectOrder ($def, $orderField, $conditions)
 
static removeObject ($def, $conditions=null, $extraConditions=null)
 
static reorderObject ($def, $orderField, $conditions, $down=true)
 
static swapRow ($table, $keys, $order_id, $rows, $id1, $id2)
 
static updateObjectList ($parameters)
 

Public Attributes

 $ActivationDate
 
 $ContentID
 
 $Created
 
 $EventID
 
 $EventPosition
 
 $EventStatus
 
 $ID
 
 $LastEventID
 
 $LastEventPosition
 
 $LastEventStatus
 
 $Modified
 
 $NodeID
 
 $UserID
 
 $WorkflowID
 
- Public Attributes inherited from eZPersistentObject
 $PersistentDataDirty
 Whether the data is dirty, ie needs to be stored, or not. More...
 

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

Referenced by create().

static eZWorkflowProcess::fetch (   $id,
  $asObject = true 
)
static
static eZWorkflowProcess::fetchForContent (   $workflowID,
  $userID,
  $contentID,
  $contentVersion,
  $nodeID,
  $asObject = true 
)
static
static eZWorkflowProcess::fetchForSession (   $sessionKey,
  $workflowID,
  $asObject = true 
)
static
static eZWorkflowProcess::fetchForStatus (   $status = eZWorkflow::STATUS_DEFERRED_TO_CRON,
  $asObject = true 
)
static
static eZWorkflowProcess::fetchList (   $conds = null,
  $asObject = true,
  $offset = false,
  $limit = false 
)
static
static eZWorkflowProcess::fetchListByKey (   $searchKey,
  $asObject = true 
)
static
static eZWorkflowProcess::fetchUserList (   $userID,
  $asObject = true 
)
static
eZWorkflowProcess::lastWorkflowEvent ( )
eZWorkflowProcess::node ( )
eZWorkflowProcess::parameterList ( )
eZWorkflowProcess::removeThis ( )
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::user ( )
eZWorkflowProcess::workflow ( )
eZWorkflowProcess::workflowEvent ( )

Member Data Documentation

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

Referenced by advance().

eZWorkflowProcess::$EventPosition

Referenced by advance().

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

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