* $condition = new ezcWorkflowConditionVariable ( 'variable name' , * new ezcWorkflowConditionIsLessThan ( $comparisonValue ) * ); * * * @package Workflow * @version 1.0 */ class ezcWorkflowConditionIsLessThan extends ezcWorkflowConditionComparison { /** * 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; } /** * Returns a textual representation of this condition. * * @return string * @ignore */ public function __toString() { return '< ' . $this->value; } } ?>