PHP Interface ezcWorkflowServiceObject, Workflow

Afficher le fichier Open project: zetacomponents/workflow

Méthodes publiques

Méthode Description
__toString ( ) : string Returns a textual representation of this service object.
execute ( ezcWorkflowExecution $execution ) : boolean Executes the business logic of this service object.

Method Details

__toString() public méthode

Returns a textual representation of this service object.
public __toString ( ) : string
Résultat string

execute() public méthode

Implementations can return true if the execution of the service object was successful to resume the workflow and activate the next node. Returning false will cause the workflow to be suspended and the service object to be executed again on a later invokation.
public execute ( ezcWorkflowExecution $execution ) : boolean
$execution ezcWorkflowExecution
Résultat boolean