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