PHP 클래스 ezcWorkflowExecutionVisualizerPlugin, Workflow

loadByName( 'Test' ); $execution = new ezcWorkflowDatabaseExecution( $db ); $execution->workflow = $workflow; $execution->addPlugin( new ezcWorkflowExecutionVisualizerPlugin( '/tmp' ) ); $execution->start(); ?>
상속: extends ezcWorkflowExecutionPlugin
파일 보기 프로젝트 열기: zetacomponents/workflow

보호된 프로퍼티들

프로퍼티 타입 설명
$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)