original_string: public function lessThan(array $options) {
          if (isset($options['element'])) {
              if (isset($this->data[$options['element']])) {
                  $than = ' "' . $this->cleanElement($options['element']) . '"';
                  if ($this->elementData < $this->data[$options['element']]) {
                      return true;
                  }
              }
          } else if (isset($options['value'])) {
              $than = $options['value'];
              if ($this->elementData < $options['value']) {
                  return true;
              }
          }
  
          $this->addError($this->checkMessage('Value must be less than ' . $than, $options));
          return false;
      }
code: public function lessThan(array $options) {
          if (isset($options['element'])) {
              if (isset($this->data[$options['element']])) {
                  $than = ' "' . $this->cleanElement($options['element']) . '"';
                  if ($this->elementData < $this->data[$options['element']]) {
                      return true;
                  }
              }
          } else if (isset($options['value'])) {
              $than = $options['value'];
              if ($this->elementData < $options['value']) {
                  return true;
              }
          }
  
          $this->addError($this->checkMessage('Value must be less than ' . $than, $options));
          return false;
      }
code_tokens: public function lessThan ( array $ options ) { if ( isset ( $ options [ 'element' ] ) ) { if ( isset ( $ this -> data [ $ options [ 'element' ] ] ) ) { $ than = ' "' . $ this -> cleanElement ( $ options [ 'element' ] ) . '"' ; if ( $ this -> elementData < $ this -> data [ $ options [ 'element' ] ] ) { return true ; } } } else if ( isset ( $ options [ 'value' ] ) ) { $ than = $ options [ 'value' ] ; if ( $ this -> elementData < $ options [ 'value' ] ) { return true ; } } $ this -> addError ( $ this -> checkMessage ( 'Value must be less than ' . $ than , $ options ) ) ; return false ; }
docstring: Checks if the value of the element is less than the given value
  @param string $name Name of the element to filter
  @param  array $options Keys may include [message]
  @return boolean
docstring_tokens: Checks if the value of the element is less than the given value