original_string: protected function validateLanguage()
      {
          $this->setSubmitted('language');
          $this->setSubmittedBool('status');
          $this->setSubmittedBool('default');
          $this->setSubmitted('update', $this->data_language);
  
          $this->validateComponent('language');
  
          return !$this->hasErrors();
      }
code: protected function validateLanguage()
      {
          $this->setSubmitted('language');
          $this->setSubmittedBool('status');
          $this->setSubmittedBool('default');
          $this->setSubmitted('update', $this->data_language);
  
          $this->validateComponent('language');
  
          return !$this->hasErrors();
      }
code_tokens: protected function validateLanguage ( ) { $ this -> setSubmitted ( 'language' ) ; $ this -> setSubmittedBool ( 'status' ) ; $ this -> setSubmittedBool ( 'default' ) ; $ this -> setSubmitted ( 'update' , $ this -> data_language ) ; $ this -> validateComponent ( 'language' ) ; return ! $ this -> hasErrors ( ) ; }
docstring: Validates a language
  @return boolean
docstring_tokens: Validates a language