PHP Interface ezcWorkflowServiceObject, Workflow

Show file Open project: zetacomponents/workflow

Public Methods

Method 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 method

Returns a textual representation of this service object.
public __toString ( ) : string
return string

execute() public method

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
return boolean