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();
    }
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();
    }
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 ( ) ; }
Validates a submitted user data
@return bool
Validates a submitted user data