ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilUserPasswordResetRequestTargetAdjustmentCase Class Reference

Class ilUserProfileIncompleteAndPasswordResetRequestTargetAdjustmentCase. More...

+ Inheritance diagram for ilUserPasswordResetRequestTargetAdjustmentCase:
+ Collaboration diagram for ilUserPasswordResetRequestTargetAdjustmentCase:

Public Member Functions

 shouldStoreRequestTarget ()
 isInFulfillment ()
 shouldAdjustRequest ()
 adjust ()
- Public Member Functions inherited from ilUserRequestTargetAdjustmentCase
 __construct (ilObjUser $user, ilCtrl $ctrl)

Additional Inherited Members

- Protected Attributes inherited from ilUserRequestTargetAdjustmentCase
 $ctrl
 $user

Detailed Description

Class ilUserProfileIncompleteAndPasswordResetRequestTargetAdjustmentCase.

Definition at line 9 of file class.ilUserPasswordResetRequestTargetAdjustmentCase.php.

Member Function Documentation

ilUserPasswordResetRequestTargetAdjustmentCase::adjust ( )
Returns
void

Reimplemented from ilUserRequestTargetAdjustmentCase.

Definition at line 51 of file class.ilUserPasswordResetRequestTargetAdjustmentCase.php.

References $_GET, and ilUtil\redirect().

{
if(isset($_GET['baseClass']) && strtolower($_GET['baseClass']) == 'ilpersonaldesktopgui')
{
$this->ctrl->setTargetScript('ilias.php');
ilUtil::redirect($this->ctrl->getLinkTargetByClass(array('ilpersonaldesktopgui', 'ilpersonalsettingsgui'), 'showPassword', '', false, false));
}
else
{
ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
}
}

+ Here is the call graph for this function:

ilUserPasswordResetRequestTargetAdjustmentCase::isInFulfillment ( )
Returns
boolean

Reimplemented from ilUserRequestTargetAdjustmentCase.

Definition at line 22 of file class.ilUserPasswordResetRequestTargetAdjustmentCase.php.

References $_GET.

Referenced by shouldAdjustRequest().

{
if(!isset($_GET['baseClass']) || strtolower($_GET['baseClass']) != 'ilpersonaldesktopgui')
{
return false;
}
return (
strtolower($this->ctrl->getCmdClass()) == 'ilpersonalsettingsgui' &&
in_array(strtolower($this->ctrl->getCmd()), array('showpassword', 'savepassword'))
);
}

+ Here is the caller graph for this function:

ilUserPasswordResetRequestTargetAdjustmentCase::shouldAdjustRequest ( )
Returns
boolean

Reimplemented from ilUserRequestTargetAdjustmentCase.

Definition at line 38 of file class.ilUserPasswordResetRequestTargetAdjustmentCase.php.

References isInFulfillment().

{
if(!$this->isInFulfillment() && ($this->user->isPasswordChangeDemanded() || $this->user->isPasswordExpired()))
{
return true;
}
return false;
}

+ Here is the call graph for this function:

ilUserPasswordResetRequestTargetAdjustmentCase::shouldStoreRequestTarget ( )
Returns
boolean

Reimplemented from ilUserRequestTargetAdjustmentCase.

Definition at line 14 of file class.ilUserPasswordResetRequestTargetAdjustmentCase.php.

{
return true;
}

The documentation for this class was generated from the following file: