PHP Class ezcWorkflowConditionIsFalse, Workflow

Typically used together with ezcWorkflowConditionVariable to use the condition on a workflow variable.
Inheritance: implements ezcWorkflowCondition
Show file Open project: zetacomponents/workflow Class Usage Examples

Public Methods

Method Description
__toString ( ) : string Returns a textual representation of this condition.
evaluate ( mixed $value ) : boolean Evaluates this condition with $value and returns true if it is false and false if it is not.

Method Details

__toString() public method

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

evaluate() public method

Evaluates this condition with $value and returns true if it is false and false if it is not.
public evaluate ( mixed $value ) : boolean
$value mixed
return boolean true when the condition holds, false otherwise.