public function editUser($user_id = null)
    {
        $this->setUser($user_id);
        $this->setTitleEditUser();
        $this->setBreadcrumbEditUser();
        $this->controlAccessEditUser($user_id);

        $this->setData('user', $this->data_user);
        $this->setData('roles', $this->role->getList());
        $this->setData('can_delete', $this->canDeleteUser());
        $this->setData('is_superadmin', $this->isSuperadminUser());
        $this->setData('password_limit', $this->user->getPasswordLength());

        $this->submitEditUser();
        $this->outputEditUser();
    }
public function editUser($user_id = null)
    {
        $this->setUser($user_id);
        $this->setTitleEditUser();
        $this->setBreadcrumbEditUser();
        $this->controlAccessEditUser($user_id);

        $this->setData('user', $this->data_user);
        $this->setData('roles', $this->role->getList());
        $this->setData('can_delete', $this->canDeleteUser());
        $this->setData('is_superadmin', $this->isSuperadminUser());
        $this->setData('password_limit', $this->user->getPasswordLength());

        $this->submitEditUser();
        $this->outputEditUser();
    }
public function editUser ( $ user_id = null ) { $ this -> setUser ( $ user_id ) ; $ this -> setTitleEditUser ( ) ; $ this -> setBreadcrumbEditUser ( ) ; $ this -> controlAccessEditUser ( $ user_id ) ; $ this -> setData ( 'user' , $ this -> data_user ) ; $ this -> setData ( 'roles' , $ this -> role -> getList ( ) ) ; $ this -> setData ( 'can_delete' , $ this -> canDeleteUser ( ) ) ; $ this -> setData ( 'is_superadmin' , $ this -> isSuperadminUser ( ) ) ; $ this -> setData ( 'password_limit' , $ this -> user -> getPasswordLength ( ) ) ; $ this -> submitEditUser ( ) ; $ this -> outputEditUser ( ) ; }
Displays the user edit page
@param integer|null $user_id
Displays the user edit page