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

Public Member Functions

 adjustEventPlacements (&$events)
 
 cleanupWorkFlowProcess ()
 
 create ($user_id)
 
creator ()
 
 definition ()
 
 eZWorkflow ($row)
 
 fetch ($id, $asObject=true, $version=0)
 
fetchEventCount ($id=false, $version=0)
 
 fetchEventIndexed ($index)
 
fetchEvents ($id=false, $asObject=true, $version=0)
 
 fetchList ($version=0, $enabled=1, $asObject=true)
 
fetchListCount ($version=0, $enabled=1)
 
groupList ()
 
ingroupIDList ()
 
ingroupList ()
 
 isAllowed ($moduleName, $functionName, $connectType)
 
modifier ()
 
 remove ($remove_childs=false)
 
 removeEvents ($events=false, $id=false, $version=false)
 
 removeWorkflow ($id, $version)
 
 setIsEnabled ($enabled, $id=false, $version=0)
 
 setVersion ($version, $set_childs=false)
 
 statusName ($status)
 
 store ($store_childs=false)
 
workflowType ()
 
- 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

fetchLimited ($moduleName, $functionName, $connectType)
 
 removeTemporary ()
 

Private Attributes

 $AllGroups
 
 $Created
 
 $CreatorID
 
 $ID
 
 $InGroupIDs
 
 $InGroups
 
 $IsEnabled
 
 $Modified
 
 $ModifierID
 
 $Name
 
 $Version
 
 $WorkflowTypeString
 

Member Function Documentation

eZWorkflow::adjustEventPlacements ( $events)
eZWorkflow::cleanupWorkFlowProcess ( )
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.
eZWorkflow::create (   $user_id)
& eZWorkflow::creator ( )
eZWorkflow::definition ( )
eZWorkflow::eZWorkflow (   $row)

Referenced by create().

eZWorkflow::fetch (   $id,
  $asObject = true,
  $version = 0 
)
& eZWorkflow::fetchEventCount (   $id = false,
  $version = 0 
)
eZWorkflow::fetchEventIndexed (   $index)
& eZWorkflow::fetchEvents (   $id = false,
  $asObject = true,
  $version = 0 
)
& eZWorkflow::fetchLimited (   $moduleName,
  $functionName,
  $connectType 
)
static

Fetch workflows based on module, function and connection type

Parameters
modulename
functionname
connecttype
Returns
array of allowed workflows limited by trigger

Referenced by eZTrigger\fetchAllowedWorkflows().

eZWorkflow::fetchList (   $version = 0,
  $enabled = 1,
  $asObject = true 
)
& eZWorkflow::fetchListCount (   $version = 0,
  $enabled = 1 
)
& eZWorkflow::groupList ( )
& eZWorkflow::ingroupIDList ( )
& eZWorkflow::ingroupList ( )
eZWorkflow::isAllowed (   $moduleName,
  $functionName,
  $connectType 
)

Check if a trigger specified trigger is allowed to use with this workflow

Parameters
modulename
functionname
connecttype
Returns
true if allowed, false if not.

Referenced by fetchLimited().

& eZWorkflow::modifier ( )
eZWorkflow::remove (   $remove_childs = false)
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.
eZWorkflow::removeEvents (   $events = false,
  $id = false,
  $version = false 
)
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.
eZWorkflow::removeTemporary ( )
static

Removes all temporary versions.

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.
eZWorkflow::removeWorkflow (   $id,
  $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.
eZWorkflow::setIsEnabled (   $enabled,
  $id = false,
  $version = 0 
)
eZWorkflow::setVersion (   $version,
  $set_childs = false 
)
eZWorkflow::statusName (   $status)
eZWorkflow::store (   $store_childs = false)
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.
& eZWorkflow::workflowType ( )

Member Data Documentation

eZWorkflow::$AllGroups
private

Referenced by groupList().

eZWorkflow::$Created
private
eZWorkflow::$CreatorID
private
eZWorkflow::$ID
private
eZWorkflow::$InGroupIDs
private

Referenced by ingroupIDList().

eZWorkflow::$InGroups
private

Referenced by ingroupList().

eZWorkflow::$IsEnabled
private
eZWorkflow::$Modified
private
eZWorkflow::$ModifierID
private
eZWorkflow::$Name
private
eZWorkflow::$Version
private
eZWorkflow::$WorkflowTypeString
private

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