* $condition = new ezcWorkflowConditionVariable ( 'variable name' , * new ezcWorkflowConditionIsGreatherThan ( $comparisonValue ) * ); * * * @package Workflow * @version 1.1rc1 */ class ezcWorkflowConditionIsGreaterThan extends ezcWorkflowConditionComparison { /** * @var mixed */ protected $operator = '>'; /** * Evaluates this condition with $value and returns true if $value is greather than * 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; } } ?>