original_string: public function file(array &$submitted, array $options = array())
      {
          $this->options = $options;
          $this->submitted = &$submitted;
  
          $this->validateFile();
          $this->validateTitleFile();
          $this->validateDescription();
          $this->validateWeight();
          $this->validateTranslation();
          $this->validateUploadFile();
          $this->validatePathFile();
          $this->validateEntityFile();
          $this->validateEntityIdFile();
          $this->validateFileTypeFile();
          $this->validateMimeTypeFile();
  
          $this->unsetSubmitted('update');
  
          return $this->getResult();
      }
code: public function file(array &$submitted, array $options = array())
      {
          $this->options = $options;
          $this->submitted = &$submitted;
  
          $this->validateFile();
          $this->validateTitleFile();
          $this->validateDescription();
          $this->validateWeight();
          $this->validateTranslation();
          $this->validateUploadFile();
          $this->validatePathFile();
          $this->validateEntityFile();
          $this->validateEntityIdFile();
          $this->validateFileTypeFile();
          $this->validateMimeTypeFile();
  
          $this->unsetSubmitted('update');
  
          return $this->getResult();
      }
code_tokens: public function file ( array & $ submitted , array $ options = array ( ) ) { $ this -> options = $ options ; $ this -> submitted = & $ submitted ; $ this -> validateFile ( ) ; $ this -> validateTitleFile ( ) ; $ this -> validateDescription ( ) ; $ this -> validateWeight ( ) ; $ this -> validateTranslation ( ) ; $ this -> validateUploadFile ( ) ; $ this -> validatePathFile ( ) ; $ this -> validateEntityFile ( ) ; $ this -> validateEntityIdFile ( ) ; $ this -> validateFileTypeFile ( ) ; $ this -> validateMimeTypeFile ( ) ; $ this -> unsetSubmitted ( 'update' ) ; return $ this -> getResult ( ) ; }
docstring: Performs full file data validation
  @param array $submitted
  @param array $options
  @return boolean|array
docstring_tokens: Performs full file data validation