original_string: public function category(array &$submitted, array $options = array())
      {
          $this->options = $options;
          $this->submitted = &$submitted;
  
          $this->validateCategory();
          $this->validateWeight();
          $this->validateBool('status');
          $this->validateTitle();
          $this->validateMetaTitle();
          $this->validateMetaDescription();
          $this->validateDescriptionCategory();
          $this->validateGroupCategory();
          $this->validateParentCategory();
          $this->validateTranslation();
          $this->validateImages();
          $this->validateAlias();
          $this->validateUploadImages('category');
  
          $this->unsetSubmitted('update');
  
          return $this->getResult();
      }
code: public function category(array &$submitted, array $options = array())
      {
          $this->options = $options;
          $this->submitted = &$submitted;
  
          $this->validateCategory();
          $this->validateWeight();
          $this->validateBool('status');
          $this->validateTitle();
          $this->validateMetaTitle();
          $this->validateMetaDescription();
          $this->validateDescriptionCategory();
          $this->validateGroupCategory();
          $this->validateParentCategory();
          $this->validateTranslation();
          $this->validateImages();
          $this->validateAlias();
          $this->validateUploadImages('category');
  
          $this->unsetSubmitted('update');
  
          return $this->getResult();
      }
code_tokens: public function category ( array & $ submitted , array $ options = array ( ) ) { $ this -> options = $ options ; $ this -> submitted = & $ submitted ; $ this -> validateCategory ( ) ; $ this -> validateWeight ( ) ; $ this -> validateBool ( 'status' ) ; $ this -> validateTitle ( ) ; $ this -> validateMetaTitle ( ) ; $ this -> validateMetaDescription ( ) ; $ this -> validateDescriptionCategory ( ) ; $ this -> validateGroupCategory ( ) ; $ this -> validateParentCategory ( ) ; $ this -> validateTranslation ( ) ; $ this -> validateImages ( ) ; $ this -> validateAlias ( ) ; $ this -> validateUploadImages ( 'category' ) ; $ this -> unsetSubmitted ( 'update' ) ; return $ this -> getResult ( ) ; }
docstring: Performs full category data validation
  @param array $submitted
  @param array $options
  @return boolean|array
docstring_tokens: Performs full category data validation