loadByName( 'Test' );
$execution = new ezcWorkflowDatabaseExecution( $db );
$execution->workflow = $workflow;
$execution->addPlugin( new ezcWorkflowExecutionVisualizerPlugin( '/tmp' ) );
$execution->start();
?>
Afficher le fichier
Open project: zetacomponents/workflow
Свойство | Type | Description | |
---|---|---|---|
$fileCounter | integer | Filename counter. | |
$properties | array(string=>mixed) | Properties. |
Méthode | Description | |
---|---|---|
__construct ( string $directory ) | Constructor. | |
__get ( string $propertyName ) | Property get access. | |
__isset ( string $propertyName ) : boolean | Property isset access. | |
__set ( string $propertyName, string $propertyValue ) | Property set access. | |
afterNodeActivated ( ezcWorkflowExecution $execution, ezcWorkflowNode $node ) | Called after a node has been activated. | |
afterNodeExecuted ( ezcWorkflowExecution $execution, ezcWorkflowNode $node ) | Called after a node has been executed. |
Méthode | Description | |
---|---|---|
visualize ( ezcWorkflowExecution $execution ) | Visualizes the current state of the workflow execution. |
public __construct ( string $directory ) | ||
$directory | string | The directory to which the DOT files are written. |
public afterNodeActivated ( ezcWorkflowExecution $execution, ezcWorkflowNode $node ) | ||
$execution | ezcWorkflowExecution | |
$node | ezcWorkflowNode |
public afterNodeExecuted ( ezcWorkflowExecution $execution, ezcWorkflowNode $node ) | ||
$execution | ezcWorkflowExecution | |
$node | ezcWorkflowNode |
protected visualize ( ezcWorkflowExecution $execution ) | ||
$execution | ezcWorkflowExecution |