public function evaluate($value) {
		switch ($this->comparison) {
			case '':
			case '=':
				foreach ($this->value as $value_item) {
					if ($value_item == $value) {
						return true;
					}
				}
				return false;
			case '!=':
			case '<>':
				foreach ($this->value as $value_item) {
					if ($value_item != $value) {
						return true;
					}
				}
				return false;
			case '<':
				foreach ($this->value as $value_item) {
					if ($value_item < $value) {
						return true;
					}
				}
				return false;
			case '>':
				foreach ($this->value as $value_item) {
					if ($value_item > $value) {
						return true;
					}
				}
				return false;
			case '<=':
				foreach ($this->value as $value_item) {
					if ($value_item <= $value) {
						return true;
					}
				}
				return false;
			case '>=':
				foreach ($this->value as $value_item) {
					if ($value_item >= $value) {
						return true;
					}
				}
				return false;
			default:
				throw new \Exception("Unsupported comparison operator: '" . $this->comparison . "'");
		}
	}
public function evaluate($value) {
		switch ($this->comparison) {
			case '':
			case '=':
				foreach ($this->value as $value_item) {
					if ($value_item == $value) {
						return true;
					}
				}
				return false;
			case '!=':
			case '<>':
				foreach ($this->value as $value_item) {
					if ($value_item != $value) {
						return true;
					}
				}
				return false;
			case '<':
				foreach ($this->value as $value_item) {
					if ($value_item < $value) {
						return true;
					}
				}
				return false;
			case '>':
				foreach ($this->value as $value_item) {
					if ($value_item > $value) {
						return true;
					}
				}
				return false;
			case '<=':
				foreach ($this->value as $value_item) {
					if ($value_item <= $value) {
						return true;
					}
				}
				return false;
			case '>=':
				foreach ($this->value as $value_item) {
					if ($value_item >= $value) {
						return true;
					}
				}
				return false;
			default:
				throw new \Exception("Unsupported comparison operator: '" . $this->comparison . "'");
		}
	}
public function evaluate ( $ value ) { switch ( $ this -> comparison ) { case '' : case '=' : foreach ( $ this -> value as $ value_item ) { if ( $ value_item == $ value ) { return true ; } } return false ; case '!=' : case '<>' : foreach ( $ this -> value as $ value_item ) { if ( $ value_item != $ value ) { return true ; } } return false ; case '<' : foreach ( $ this -> value as $ value_item ) { if ( $ value_item < $ value ) { return true ; } } return false ; case '>' : foreach ( $ this -> value as $ value_item ) { if ( $ value_item > $ value ) { return true ; } } return false ; case '<=' : foreach ( $ this -> value as $ value_item ) { if ( $ value_item <= $ value ) { return true ; } } return false ; case '>=' : foreach ( $ this -> value as $ value_item ) { if ( $ value_item >= $ value ) { return true ; } } return false ; default : throw new \ Exception ( "Unsupported comparison operator: '" . $ this -> comparison . "'" ) ; } }
evaluate the condition against the given value

@access public
@param $value
@return bool
evaluate the condition against the given value