|
eZ Publish
[trunk]
|
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 () | |
Static Public Member Functions | |
| cleanup () | |
| static | create ($processKey, $parameters) |
| static | createKey ($parameters, $keys=null) |
| static | definition () |
| Returns the definition for the object, the default implementation is to return an empty array. | |
| 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) |
Public Attributes | |
| $ActivationDate | |
| $ContentID | |
| $Created | |
| $EventID | |
| $EventPosition | |
| $EventStatus | |
| $ID | |
| $LastEventID | |
| $LastEventPosition | |
| $LastEventStatus | |
| $Modified | |
| $NodeID | |
| $UserID | |
| $WorkflowID | |
Definition at line 17 of file ezworkflowprocess.php.
| eZWorkflowProcess::advance | ( | $ | next_event_id = 0, |
| $ | next_event_pos = 0, |
||
| $ | status = 0 |
||
| ) |
Definition at line 169 of file ezworkflowprocess.php.
Referenced by run().
Definition at line 542 of file ezworkflowprocess.php.
| eZWorkflowProcess::cleanup | ( | ) | [static] |
Removes all workflow processes from database.
Definition at line 651 of file ezworkflowprocess.php.
Definition at line 566 of file ezworkflowprocess.php.
| static eZWorkflowProcess::create | ( | $ | processKey, |
| $ | parameters | ||
| ) | [static] |
Definition at line 133 of file ezworkflowprocess.php.
Referenced by eZMultiplexerType\execute(), and eZTrigger\runTrigger().
| static eZWorkflowProcess::createKey | ( | $ | parameters, |
| $ | keys = null |
||
| ) | [static] |
Definition at line 453 of file ezworkflowprocess.php.
Referenced by eZMultiplexerType\execute(), and eZTrigger\runTrigger().
Definition at line 538 of file ezworkflowprocess.php.
| static eZWorkflowProcess::definition | ( | ) | [static] |
Returns the definition for the object, the default implementation is to return an empty array.
It's upto each inheriting class to return a proper definition array.
The definition array is an associative array consists of these keys:
Example: public 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 24 of file ezworkflowprocess.php.
Referenced by fetch(), fetchForContent(), fetchForSession(), fetchForStatus(), fetchList(), fetchListByKey(), fetchUserList(), and removeThis().
| eZWorkflowProcess::eZWorkflowProcess | ( | $ | row | ) |
Definition at line 19 of file ezworkflowprocess.php.
Referenced by create().
| static eZWorkflowProcess::fetch | ( | $ | id, |
| $ | asObject = true |
||
| ) | [static] |
Definition at line 436 of file ezworkflowprocess.php.
Referenced by content(), eZPaymentObject\continueWorkflow(), lastWorkflowEvent(), node(), removeThis(), run(), workflow(), and workflowEvent().
| static eZWorkflowProcess::fetchForContent | ( | $ | workflowID, |
| $ | userID, | ||
| $ | contentID, | ||
| $ | contentVersion, | ||
| $ | nodeID, | ||
| $ | asObject = true |
||
| ) | [static] |
Definition at line 500 of file ezworkflowprocess.php.
| static eZWorkflowProcess::fetchForSession | ( | $ | sessionKey, |
| $ | workflowID, | ||
| $ | asObject = true |
||
| ) | [static] |
Definition at line 529 of file ezworkflowprocess.php.
| static eZWorkflowProcess::fetchForStatus | ( | $ | status = eZWorkflow::STATUS_DEFERRED_TO_CRON, |
| $ | asObject = true |
||
| ) | [static] |
Definition at line 514 of file ezworkflowprocess.php.
| static eZWorkflowProcess::fetchList | ( | $ | conds = null, |
| $ | asObject = true, |
||
| $ | offset = false, |
||
| $ | limit = false |
||
| ) | [static] |
Definition at line 444 of file ezworkflowprocess.php.
| static eZWorkflowProcess::fetchListByKey | ( | $ | searchKey, |
| $ | asObject = true |
||
| ) | [static] |
Definition at line 484 of file ezworkflowprocess.php.
Referenced by eZMultiplexerType\execute(), and eZTrigger\runTrigger().
| static eZWorkflowProcess::fetchUserList | ( | $ | userID, |
| $ | asObject = true |
||
| ) | [static] |
Definition at line 492 of file ezworkflowprocess.php.
Definition at line 602 of file ezworkflowprocess.php.
Definition at line 575 of file ezworkflowprocess.php.
Definition at line 611 of file ezworkflowprocess.php.
Definition at line 624 of file ezworkflowprocess.php.
Definition at line 157 of file ezworkflowprocess.php.
Referenced by run().
| eZWorkflowProcess::run | ( | &$ | workflow, |
| &$ | workflowEvent, | ||
| &$ | eventLog | ||
| ) |
Definition at line 180 of file ezworkflowprocess.php.
| eZWorkflowProcess::setParameters | ( | $ | parameterList = null | ) |
Definition at line 546 of file ezworkflowprocess.php.
Definition at line 557 of file ezworkflowprocess.php.
Definition at line 584 of file ezworkflowprocess.php.
Definition at line 593 of file ezworkflowprocess.php.
| eZWorkflowProcess::$ActivationDate |
Definition at line 671 of file ezworkflowprocess.php.
| eZWorkflowProcess::$ContentID |
Definition at line 661 of file ezworkflowprocess.php.
| eZWorkflowProcess::$Created |
Definition at line 669 of file ezworkflowprocess.php.
| eZWorkflowProcess::$EventID |
Definition at line 663 of file ezworkflowprocess.php.
| eZWorkflowProcess::$EventPosition |
Definition at line 664 of file ezworkflowprocess.php.
| eZWorkflowProcess::$EventStatus |
Definition at line 668 of file ezworkflowprocess.php.
| eZWorkflowProcess::$ID |
Definition at line 658 of file ezworkflowprocess.php.
| eZWorkflowProcess::$LastEventID |
Definition at line 665 of file ezworkflowprocess.php.
| eZWorkflowProcess::$LastEventPosition |
Definition at line 666 of file ezworkflowprocess.php.
| eZWorkflowProcess::$LastEventStatus |
Definition at line 667 of file ezworkflowprocess.php.
| eZWorkflowProcess::$Modified |
Definition at line 670 of file ezworkflowprocess.php.
| eZWorkflowProcess::$NodeID |
Definition at line 662 of file ezworkflowprocess.php.
| eZWorkflowProcess::$UserID |
Definition at line 660 of file ezworkflowprocess.php.
| eZWorkflowProcess::$WorkflowID |
Definition at line 659 of file ezworkflowprocess.php.