loadByName( 'Test' );
$execution = new ezcWorkflowDatabaseExecution( $db );
$execution->workflow = $workflow;
$execution->addPlugin( new ezcWorkflowExecutionVisualizerPlugin( '/tmp' ) );
$execution->start();
?>
显示文件
Open project: zetacomponents/workflow
Property | Type | Description | |
---|---|---|---|
$fileCounter | integer | Filename counter. | |
$properties | array(string=>mixed) | Properties. |
Method | 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. |
Method | 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 |