* $condition = new ezcWorkflowConditionVariable ( 'variable name' , * new ezcWorkflowConditionIsEqualOrGreatherThan ( $comparisonValue ) * ); * * * @package Workflow * @version 1.1rc1 */ class ezcWorkflowConditionIsEqualOrGreaterThan extends ezcWorkflowConditionComparison { /** * @var mixed */ protected $operator = '>='; /** * 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; } } ?>