PHP Class ezcWorkflowExecutionVisualizerPlugin, Workflow

loadByName( 'Test' ); $execution = new ezcWorkflowDatabaseExecution( $db ); $execution->workflow = $workflow; $execution->addPlugin( new ezcWorkflowExecutionVisualizerPlugin( '/tmp' ) ); $execution->start(); ?>
Inheritance: extends ezcWorkflowExecutionPlugin
Afficher le fichier Open project: zetacomponents/workflow

Protected Properties

Свойство Type Description
$fileCounter integer Filename counter.
$properties array(string=>mixed) Properties.

Méthodes publiques

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éthodes protégées

Méthode Description
visualize ( ezcWorkflowExecution $execution ) Visualizes the current state of the workflow execution.

Method Details

__construct() public méthode

Constructor.
public __construct ( string $directory )
$directory string The directory to which the DOT files are written.

__get() public méthode

Property get access.
public __get ( string $propertyName )
$propertyName string

__isset() public méthode

Property isset access.
public __isset ( string $propertyName ) : boolean
$propertyName string
Résultat boolean

__set() public méthode

Property set access.
public __set ( string $propertyName, string $propertyValue )
$propertyName string
$propertyValue string

afterNodeActivated() public méthode

Called after a node has been activated.
public afterNodeActivated ( ezcWorkflowExecution $execution, ezcWorkflowNode $node )
$execution ezcWorkflowExecution
$node ezcWorkflowNode

afterNodeExecuted() public méthode

Called after a node has been executed.
public afterNodeExecuted ( ezcWorkflowExecution $execution, ezcWorkflowNode $node )
$execution ezcWorkflowExecution
$node ezcWorkflowNode

visualize() protected méthode

Visualizes the current state of the workflow execution.
protected visualize ( ezcWorkflowExecution $execution )
$execution ezcWorkflowExecution

Property Details

$fileCounter protected_oe property

Filename counter.
protected int $fileCounter
Résultat integer

$properties protected_oe property

Properties.
protected array(string=>mixed) $properties
Résultat array(string=>mixed)