original_string: public function validateComponent($handler_id, array $options = array())
      {
          $result = $this->validator->run($handler_id, $this->submitted, $options);
  
          if ($result === true) {
              return array();
          }
  
          return $this->errors = (array) $result;
      }
code: public function validateComponent($handler_id, array $options = array())
      {
          $result = $this->validator->run($handler_id, $this->submitted, $options);
  
          if ($result === true) {
              return array();
          }
  
          return $this->errors = (array) $result;
      }
code_tokens: public function validateComponent ( $ handler_id , array $ options = array ( ) ) { $ result = $ this -> validator -> run ( $ handler_id , $ this -> submitted , $ options ) ; if ( $ result === true ) { return array ( ) ; } return $ this -> errors = ( array ) $ result ; }
docstring: Validates a submitted set of elements
  @param string $handler_id
  @param array $options
  @return array
docstring_tokens: Validates a submitted set of elements