PHP Interface ezcWorkflowCondition, Workflow

Mostra file Open project: zetacomponents/workflow Interface Usage Examples

Public Methods

Method Description
__toString ( ) : string Returns a textual representation of this condition.
evaluate ( mixed $value ) : boolean Evaluates this condition.

Method Details

__toString() public method

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

evaluate() public method

Evaluates this condition.
public evaluate ( mixed $value ) : boolean
$value mixed
return boolean true when the condition holds, false otherwise.