* $condition = new ezcWorkflowConditionVariable ( 'variable name' , * new ezcWorkflowConditionIsEqualOrGreatherThan ( $comparisonValue ) * ); * * * @package Workflow * @version 1.0 */ class ezcWorkflowConditionIsEqualOrGreaterThan extends ezcWorkflowConditionComparison { /** * Evaluates this condition with $value and returns true if $value is greather than * or equal to the reference value or false if not. * * @param mixed $value * @return boolean true when the condition holds, false otherwise. * @ignore */ public function evaluate( $value ) { return $value >= $this->value; } /** * Returns a textual representation of this condition. * * @return string * @ignore */ public function __toString() { return '>= ' . $this->value; } } ?>