PHP Класс ezcWorkflowExecutionVisualizerPlugin, Workflow

loadByName( 'Test' ); $execution = new ezcWorkflowDatabaseExecution( $db ); $execution->workflow = $workflow; $execution->addPlugin( new ezcWorkflowExecutionVisualizerPlugin( '/tmp' ) ); $execution->start(); ?>
Наследование: extends ezcWorkflowExecutionPlugin
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$fileCounter integer Filename counter.
$properties array(string=>mixed) Properties.

Открытые методы

Метод Описание
__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.

Защищенные методы

Метод Описание
visualize ( ezcWorkflowExecution $execution ) Visualizes the current state of the workflow execution.

Описание методов

__construct() публичный Метод

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

__get() публичный Метод

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

__isset() публичный Метод

Property isset access.
public __isset ( string $propertyName ) : boolean
$propertyName string
Результат boolean

__set() публичный Метод

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

afterNodeActivated() публичный Метод

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

afterNodeExecuted() публичный Метод

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

visualize() защищенный Метод

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

Описание свойств

$fileCounter защищенное свойство

Filename counter.
protected int $fileCounter
Результат integer

$properties защищенное свойство

Properties.
protected array(string=>mixed) $properties
Результат array(string=>mixed)