original_string: protected function validateEditUser()
      {
          $this->setSubmitted('user');
          $this->setSubmittedBool('status');
          $this->setSubmitted('update', $this->data_user);
  
          $this->validateComponent('user', array('admin' => $this->access('user_edit')));
  
          return !$this->hasErrors();
      }
code: protected function validateEditUser()
      {
          $this->setSubmitted('user');
          $this->setSubmittedBool('status');
          $this->setSubmitted('update', $this->data_user);
  
          $this->validateComponent('user', array('admin' => $this->access('user_edit')));
  
          return !$this->hasErrors();
      }
code_tokens: protected function validateEditUser ( ) { $ this -> setSubmitted ( 'user' ) ; $ this -> setSubmittedBool ( 'status' ) ; $ this -> setSubmitted ( 'update' , $ this -> data_user ) ; $ this -> validateComponent ( 'user' , array ( 'admin' => $ this -> access ( 'user_edit' ) ) ) ; return ! $ this -> hasErrors ( ) ; }
docstring: Validates a submitted user data
  @return bool
docstring_tokens: Validates a submitted user data