original_string: protected function validateUserRegister()
      {
          $this->setSubmitted('user', null, false);
          $this->filterSubmitted(array('email', 'password', 'name'));
          $this->setSubmitted('store_id', $this->store_id);
          $this->validateComponent('user');
  
          return !$this->hasErrors();
      }
code: protected function validateUserRegister()
      {
          $this->setSubmitted('user', null, false);
          $this->filterSubmitted(array('email', 'password', 'name'));
          $this->setSubmitted('store_id', $this->store_id);
          $this->validateComponent('user');
  
          return !$this->hasErrors();
      }
code_tokens: protected function validateUserRegister ( ) { $ this -> setSubmitted ( 'user' , null , false ) ; $ this -> filterSubmitted ( array ( 'email' , 'password' , 'name' ) ) ; $ this -> setSubmitted ( 'store_id' , $ this -> store_id ) ; $ this -> validateComponent ( 'user' ) ; return ! $ this -> hasErrors ( ) ; }
docstring: Validates an array of submitted data during registration
  @return bool
docstring_tokens: Validates an array of submitted data during registration