|
eZ Publish
[4.2]
|
! eZKernel The class eZWorkflow does More...
Inheritance diagram for eZWorkflow:
Collaboration diagram for eZWorkflow:Public Member Functions | |
| cleanupWorkFlowProcess () | |
| creator () | |
| eZWorkflow ($row) | |
| fetchEventCount ($version=false) | |
| fetchEventIndexed ($index) | |
| fetchEvents ($asObject=true, $version=false) | |
| groupList () | |
| ingroupIDList () | |
| ingroupList () | |
| isAllowed ($moduleName, $functionName, $connectType) | |
| modifier () | |
| removeThis ($remove_childs=false) | |
| setVersion ($version, $set_childs=false) | |
| store ($store_childs=false) | |
| storeDefined ($store_childs=false) | |
| workflowType () | |
Static Public Member Functions | |
| static | adjustEventPlacements ($events) |
| static | create ($user_id) |
| static | definition () |
| static | fetch ($id, $asObject=true, $version=0) |
| static | fetchEventCountByWorkflowID ($id, $version=0) |
| static | fetchEventsByWorkflowID ($id, $asObject=true, $version=0) |
| static | fetchLimited ($moduleName, $functionName, $connectType) |
| static | fetchList ($version=0, $enabled=1, $asObject=true) |
| static | fetchListCount ($version=0, $enabled=1) |
| static | removeEvents ($events=false, $id=false, $version=false) |
| static | removeTemporary () |
| static | removeWorkflow ($id, $version) |
| static | setIsEnabled ($enabled, $id, $version=0) |
| static | statusName ($status) |
| static | statusNameMap () |
| Get status name map. | |
Public Attributes | |
| $AllGroups | |
| $Created | |
| $CreatorID | |
| $ID | |
| $InGroupIDs | |
| $InGroups | |
| $IsEnabled | |
| $Modified | |
| $ModifierID | |
| $Name | |
| $Version | |
| $WorkflowTypeString | |
| const | STATUS_BUSY = 1 |
| const | STATUS_CANCELLED = 5 |
| const | STATUS_DEFERRED_TO_CRON = 4 |
| const | STATUS_DONE = 2 |
| const | STATUS_FAILED = 3 |
| const | STATUS_FETCH_TEMPLATE = 6 |
| const | STATUS_FETCH_TEMPLATE_REPEAT = 10 |
| const | STATUS_NONE = 0 |
| const | STATUS_REDIRECT = 7 |
| const | STATUS_RESET = 8 |
| const | STATUS_WAITING_PARENT = 9 |
! eZKernel The class eZWorkflow does
Definition at line 37 of file ezworkflow.php.
| static eZWorkflow::adjustEventPlacements | ( | $ | events | ) | [static] |
Definition at line 243 of file ezworkflow.php.
| eZWorkflow::cleanupWorkFlowProcess | ( | ) |
Definition at line 542 of file ezworkflow.php.
| static eZWorkflow::create | ( | $ | user_id | ) | [static] |
Definition at line 125 of file ezworkflow.php.
| eZWorkflow::creator | ( | ) |
Definition at line 485 of file ezworkflow.php.
| static eZWorkflow::definition | ( | ) | [static] |
The definition array is an associative array consists of these keys:
asc or desc.Example:
static function definition() { return array( "fields" => array( "id" => "ID", "version" => "Version", "name" => "Name" ), "keys" => array( "id", "version" ), "function_attributes" => array( "current" => "currentVersion", "class_name" => "className" ), "increment_key" => "id", "class_name" => "eZContentClass", "sort" => array( "id" => "asc" ), "name" => "ezcontentclass" ); }
Reimplemented from eZPersistentObject.
Definition at line 56 of file ezworkflow.php.
Referenced by fetch(), fetchList(), fetchListCount(), removeWorkflow(), and setIsEnabled().
| eZWorkflow::eZWorkflow | ( | $ | row | ) |
Definition at line 51 of file ezworkflow.php.
Referenced by create().
| static eZWorkflow::fetch | ( | $ | id, |
| $ | asObject = true, |
||
| $ | version = 0 |
||
| ) | [static] |
Definition at line 327 of file ezworkflow.php.
Referenced by creator(), eZMultiplexerType\execute(), and modifier().
| eZWorkflow::fetchEventCount | ( | $ | version = false | ) |
Definition at line 451 of file ezworkflow.php.
| static eZWorkflow::fetchEventCountByWorkflowID | ( | $ | id, |
| $ | version = 0 |
||
| ) | [static] |
Definition at line 470 of file ezworkflow.php.
| eZWorkflow::fetchEventIndexed | ( | $ | index | ) |
Definition at line 414 of file ezworkflow.php.
| eZWorkflow::fetchEvents | ( | $ | asObject = true, |
| $ | version = false |
||
| ) |
Definition at line 433 of file ezworkflow.php.
Referenced by cleanupWorkFlowProcess(), isAllowed(), setVersion(), store(), and storeDefined().
| static eZWorkflow::fetchEventsByWorkflowID | ( | $ | id, |
| $ | asObject = true, |
||
| $ | version = 0 |
||
| ) | [static] |
Definition at line 444 of file ezworkflow.php.
| static eZWorkflow::fetchLimited | ( | $ | moduleName, |
| $ | functionName, | ||
| $ | connectType | ||
| ) | [static] |
Fetch workflows based on module, function and connection type
| $moduleName | module name |
| $functionName | function name |
| $connectType | connection type |
Definition at line 346 of file ezworkflow.php.
Referenced by eZTrigger\fetchAllowedWorkflows().
| static eZWorkflow::fetchList | ( | $ | version = 0, |
| $ | enabled = 1, |
||
| $ | asObject = true |
||
| ) | [static] |
Definition at line 389 of file ezworkflow.php.
Referenced by eZMultiplexerType\attribute(), fetchLimited(), groupList(), and removeTemporary().
| static eZWorkflow::fetchListCount | ( | $ | version = 0, |
| $ | enabled = 1 |
||
| ) | [static] |
Definition at line 399 of file ezworkflow.php.
| eZWorkflow::groupList | ( | ) |
Definition at line 527 of file ezworkflow.php.
| eZWorkflow::ingroupIDList | ( | ) |
Definition at line 513 of file ezworkflow.php.
| eZWorkflow::ingroupList | ( | ) |
Definition at line 505 of file ezworkflow.php.
| eZWorkflow::isAllowed | ( | $ | moduleName, |
| $ | functionName, | ||
| $ | connectType | ||
| ) |
Check if a trigger specified trigger is allowed to use with this workflow
| $moduleName | module name |
| $functionName | function name |
| $connectType | connection type |
Definition at line 373 of file ezworkflow.php.
Referenced by fetchLimited().
| eZWorkflow::modifier | ( | ) |
Definition at line 495 of file ezworkflow.php.
| static eZWorkflow::removeEvents | ( | $ | events = false, |
| $ | id = false, |
||
| $ | version = false |
||
| ) | [static] |
Definition at line 215 of file ezworkflow.php.
| static eZWorkflow::removeTemporary | ( | ) | [static] |
Removes all temporary versions.
Definition at line 195 of file ezworkflow.php.
| eZWorkflow::removeThis | ( | $ | remove_childs = false | ) |
Definition at line 167 of file ezworkflow.php.
| static eZWorkflow::removeWorkflow | ( | $ | id, |
| $ | version | ||
| ) | [static] |
Definition at line 156 of file ezworkflow.php.
| static eZWorkflow::setIsEnabled | ( | $ | enabled, |
| $ | id, | ||
| $ | version = 0 |
||
| ) | [static] |
Definition at line 141 of file ezworkflow.php.
| eZWorkflow::setVersion | ( | $ | version, |
| $ | set_childs = false |
||
| ) |
Definition at line 307 of file ezworkflow.php.
| static eZWorkflow::statusName | ( | $ | status | ) | [static] |
Definition at line 117 of file ezworkflow.php.
| static eZWorkflow::statusNameMap | ( | ) | [static] |
Get status name map.
Definition at line 571 of file ezworkflow.php.
Referenced by statusName().
| eZWorkflow::store | ( | $ | store_childs = false | ) |
Reimplemented from eZPersistentObject.
Definition at line 258 of file ezworkflow.php.
Referenced by storeDefined().
| eZWorkflow::storeDefined | ( | $ | store_childs = false | ) |
Definition at line 284 of file ezworkflow.php.
| eZWorkflow::workflowType | ( | ) |
Definition at line 533 of file ezworkflow.php.
| eZWorkflow::$AllGroups |
Definition at line 596 of file ezworkflow.php.
| eZWorkflow::$Created |
Definition at line 592 of file ezworkflow.php.
| eZWorkflow::$CreatorID |
Definition at line 590 of file ezworkflow.php.
| eZWorkflow::$ID |
Definition at line 585 of file ezworkflow.php.
| eZWorkflow::$InGroupIDs |
Definition at line 595 of file ezworkflow.php.
| eZWorkflow::$InGroups |
Definition at line 594 of file ezworkflow.php.
| eZWorkflow::$IsEnabled |
Definition at line 589 of file ezworkflow.php.
| eZWorkflow::$Modified |
Definition at line 593 of file ezworkflow.php.
| eZWorkflow::$ModifierID |
Definition at line 591 of file ezworkflow.php.
| eZWorkflow::$Name |
Definition at line 586 of file ezworkflow.php.
| eZWorkflow::$Version |
Definition at line 588 of file ezworkflow.php.
| eZWorkflow::$WorkflowTypeString |
Definition at line 587 of file ezworkflow.php.
| const eZWorkflow::STATUS_BUSY = 1 |
Definition at line 40 of file ezworkflow.php.
Referenced by eZTrigger\runTrigger(), eZTrigger\runWorkflow(), and statusNameMap().
| const eZWorkflow::STATUS_CANCELLED = 5 |
Definition at line 44 of file ezworkflow.php.
Referenced by eZMultiplexerType\execute(), eZWorkflowProcess\run(), eZTrigger\runTrigger(), eZTrigger\runWorkflow(), and statusNameMap().
| const eZWorkflow::STATUS_DEFERRED_TO_CRON = 4 |
Definition at line 43 of file ezworkflow.php.
Referenced by eZMultiplexerType\execute(), eZWorkflowProcess\run(), eZTrigger\runTrigger(), eZTrigger\runWorkflow(), and statusNameMap().
| const eZWorkflow::STATUS_DONE = 2 |
Definition at line 41 of file ezworkflow.php.
Referenced by eZMultiplexerType\execute(), eZWorkflowProcess\run(), eZTrigger\runTrigger(), eZTrigger\runWorkflow(), and statusNameMap().
| const eZWorkflow::STATUS_FAILED = 3 |
Definition at line 42 of file ezworkflow.php.
Referenced by eZMultiplexerType\execute(), eZWorkflowProcess\run(), eZTrigger\runTrigger(), eZTrigger\runWorkflow(), and statusNameMap().
| const eZWorkflow::STATUS_FETCH_TEMPLATE = 6 |
Definition at line 45 of file ezworkflow.php.
Referenced by eZMultiplexerType\execute(), eZWorkflowProcess\run(), eZTrigger\runTrigger(), eZTrigger\runWorkflow(), and statusNameMap().
| const eZWorkflow::STATUS_FETCH_TEMPLATE_REPEAT = 10 |
Definition at line 49 of file ezworkflow.php.
Referenced by eZMultiplexerType\execute(), eZWorkflowProcess\run(), eZTrigger\runTrigger(), and eZTrigger\runWorkflow().
| const eZWorkflow::STATUS_NONE = 0 |
Definition at line 39 of file ezworkflow.php.
Referenced by eZTrigger\runTrigger(), eZTrigger\runWorkflow(), and statusNameMap().
| const eZWorkflow::STATUS_REDIRECT = 7 |
Definition at line 46 of file ezworkflow.php.
Referenced by eZMultiplexerType\execute(), eZWorkflowProcess\run(), eZTrigger\runTrigger(), eZTrigger\runWorkflow(), and statusNameMap().
| const eZWorkflow::STATUS_RESET = 8 |
Definition at line 47 of file ezworkflow.php.
Referenced by eZWorkflowProcess\run(), eZTrigger\runTrigger(), eZTrigger\runWorkflow(), and statusNameMap().
| const eZWorkflow::STATUS_WAITING_PARENT = 9 |
Definition at line 48 of file ezworkflow.php.
Referenced by eZMultiplexerType\execute().