spoof
|
Public Member Functions | |
processEvent ($function, $result) | |
Public Member Functions inherited from Entity | |
setEngine (IEngine $workflow) | |
Public Member Functions inherited from IEntity | |
getState () | |
setState ($state, $time) |
Protected Attributes | |
$entityID | |
Protected Attributes inherited from Entity | |
$workflow | |
$datacontrol |
State workflow entity abstract class
processEvent | ( | $function, | |
$result | |||
) |
Processes given event consisting of function and its result
This implements the IEntity interface requirement for processing an event in the state based workflow. Based on the current state of the object, and function/result combination, gets next state defined in workflow definition and sets the object state. This event is also logged in the workflow logger container.
string | $function | function executed |
string | $result | result of the executed function |
Implements IEntity.
|
protected |