|
eZ Publish
[4.2]
|
The class eZTrigger does. More...
Inheritance diagram for eZTrigger:
Collaboration diagram for eZTrigger:Public Member Functions | |
| eZTrigger ($row) | |
| fetchAllowedWorkflows () | |
Static Public Member Functions | |
| static | createNew ($moduleName, $functionName, $connectType, $workflowID, $name=false) |
| static | definition () |
| static | fetch ($triggerID) |
| static | fetchList ($parameters=array(), $asObject=true) |
| static | removeTriggerForWorkflow ($workFlowID) |
| static | runTrigger ($name, $moduleName, $function, $parameters, $keys=null) |
| static | runWorkflow ($workflowProcess) |
Public Attributes | |
| const | FETCH_TEMPLATE = 4 |
| const | FETCH_TEMPLATE_REPEAT = 7 |
| const | NO_CONNECTED_WORKFLOWS = 3 |
| const | REDIRECT = 5 |
| const | STATUS_CRON_JOB = 0 |
| const | WORKFLOW_CANCELLED = 2 |
| const | WORKFLOW_DONE = 1 |
| const | WORKFLOW_RESET = 6 |
The class eZTrigger does.
Definition at line 39 of file eztrigger.php.
| static eZTrigger::createNew | ( | $ | moduleName, |
| $ | functionName, | ||
| $ | connectType, | ||
| $ | workflowID, | ||
| $ | name = false |
||
| ) | [static] |
Definition at line 363 of file eztrigger.php.
| static eZTrigger::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 58 of file eztrigger.php.
Referenced by fetch(), fetchList(), and runTrigger().
| eZTrigger::eZTrigger | ( | $ | row | ) |
| static eZTrigger::fetch | ( | $ | triggerID | ) | [static] |
Definition at line 116 of file eztrigger.php.
Referenced by runTrigger(), and runWorkflow().
| eZTrigger::fetchAllowedWorkflows | ( | ) |
Get array containing allowed workflows for this trigger.
Definition at line 99 of file eztrigger.php.
| static eZTrigger::fetchList | ( | $ | parameters = array(), |
| $ | asObject = true |
||
| ) | [static] |
Definition at line 124 of file eztrigger.php.
| static eZTrigger::removeTriggerForWorkflow | ( | $ | workFlowID | ) | [static] |
Removes triggers which uses the given workflowID.
Definition at line 391 of file eztrigger.php.
| static eZTrigger::runTrigger | ( | $ | name, |
| $ | moduleName, | ||
| $ | function, | ||
| $ | parameters, | ||
| $ | keys = null |
||
| ) | [static] |
Definition at line 156 of file eztrigger.php.
Referenced by eZModuleOperationInfo\executeTrigger().
| static eZTrigger::runWorkflow | ( | $ | workflowProcess | ) | [static] |
Definition at line 259 of file eztrigger.php.
Referenced by runTrigger().
| const eZTrigger::FETCH_TEMPLATE = 4 |
Definition at line 45 of file eztrigger.php.
Referenced by eZModuleOperationInfo\executeTrigger(), and runWorkflow().
| const eZTrigger::FETCH_TEMPLATE_REPEAT = 7 |
Definition at line 48 of file eztrigger.php.
Referenced by eZModuleOperationInfo\executeTrigger(), and runWorkflow().
| const eZTrigger::NO_CONNECTED_WORKFLOWS = 3 |
Definition at line 44 of file eztrigger.php.
Referenced by eZModuleOperationInfo\executeTrigger(), and runTrigger().
| const eZTrigger::REDIRECT = 5 |
Definition at line 46 of file eztrigger.php.
Referenced by eZModuleOperationInfo\executeTrigger(), and runWorkflow().
| const eZTrigger::STATUS_CRON_JOB = 0 |
Definition at line 41 of file eztrigger.php.
Referenced by eZModuleOperationInfo\executeTrigger(), and runWorkflow().
| const eZTrigger::WORKFLOW_CANCELLED = 2 |
Definition at line 43 of file eztrigger.php.
Referenced by eZModuleOperationInfo\executeTrigger(), runTrigger(), and runWorkflow().
| const eZTrigger::WORKFLOW_DONE = 1 |
Definition at line 42 of file eztrigger.php.
Referenced by eZModuleOperationInfo\executeTrigger(), runTrigger(), and runWorkflow().
| const eZTrigger::WORKFLOW_RESET = 6 |
Definition at line 47 of file eztrigger.php.
Referenced by eZModuleOperationInfo\executeTrigger(), and runWorkflow().