* $condition = new ezcWorkflowConditionVariable ( 'variable name' , * new ezcWorkflowConditionIsFalse ( $comparisonValue ) * ); * * * @package Workflow * @version 1.1rc1 */ class ezcWorkflowConditionIsFalse implements ezcWorkflowCondition { /** * Evaluates this condition with $value and returns true if it is false and false if it is not. * * @param mixed $value * @return boolean true when the condition holds, false otherwise. * @ignore */ public function evaluate( $value ) { return $value === false; } /** * Returns a textual representation of this condition. * * @return string * @ignore */ public function __toString() { return 'is false'; } } ?>