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();
    }
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();
    }
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 ( ) ; }
Validates an array of submitted data during registration
@return bool
Validates an array of submitted data during registration