Class ilUserAccountMaintenanceEnforcement.
More...
Class ilUserAccountMaintenanceEnforcement.
Definition at line 7 of file class.ilUserRequestTargetAdjustment.php.
◆ __construct()
ilUserRequestTargetAdjustment::__construct |
( |
ilObjUser |
$user, |
|
|
ilCtrl |
$ctrl |
|
) |
| |
◆ adjust()
ilUserRequestTargetAdjustment::adjust |
( |
| ) |
|
- Returns
- boolean
Definition at line 69 of file class.ilUserRequestTargetAdjustment.php.
References $_SERVER, $GLOBALS, array, defined, ilSession\get(), ilSession\set(), storeRequest(), ilContext\supportsRedirects(), and user().
73 $GLOBALS[
'DIC']->logger()->init()->debug(
'CERT SSO request. No adjustment.');
78 $GLOBALS[
'DIC']->logger()->init()->debug(
'Context does not support redirects. No adjustment.');
81 else if($this->ctrl->isAsynch())
83 $GLOBALS[
'DIC']->logger()->init()->debug(
'Async request. No adjustment.');
86 else if(in_array(basename(
$_SERVER[
'PHP_SELF']),
array(
'logout.php')))
88 $GLOBALS[
'DIC']->logger()->init()->debug(
'Logout request. No adjustment.');
91 else if(!$this->
user->getId() || $this->
user->isAnonymous())
93 $GLOBALS[
'DIC']->logger()->init()->debug(
'Anyonymous request. No adjustment.');
98 $GLOBALS[
'DIC']->logger()->init()->debug(__CLASS__ .
' already passed in the current user session.');
102 foreach($this->cases as $case)
104 if($case->isInFulfillment())
106 $GLOBALS[
'DIC']->logger()->init()->debug(
'Case is in fullfillment:' . get_class($case));
110 if($case->shouldAdjustRequest())
113 $GLOBALS[
'DIC']->logger()->init()->debug(
'Case required adjustment:' . get_class($case));
114 if($case->shouldStoreRequestTarget())
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
static get($a_var)
Get a value.
static set($a_var, $a_val)
Set a value.
Create styles array
The data for the language used.
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
static supportsRedirects()
Are redirects supported?
◆ initCases()
ilUserRequestTargetAdjustment::initCases |
( |
| ) |
|
|
protected |
Definition at line 39 of file class.ilUserRequestTargetAdjustment.php.
References array, and user().
Referenced by __construct().
41 require_once
'Services/TermsOfService/classes/class.ilTermsOfServiceRequestTargetAdjustmentCase.php';
42 require_once
'Services/User/classes/class.ilUserProfileIncompleteRequestTargetAdjustmentCase.php';
43 require_once
'Services/User/classes/class.ilUserPasswordResetRequestTargetAdjustmentCase.php';
Class ilUserProfileIncompleteRequestTargetAdjustmentCase.
Create styles array
The data for the language used.
Class ilUserProfileIncompleteAndPasswordResetRequestTargetAdjustmentCase.
Class ilTermsOfServiceRequestTargetAdjustmentCase.
◆ storeRequest()
ilUserRequestTargetAdjustment::storeRequest |
( |
| ) |
|
|
protected |
◆ $cases
ilUserRequestTargetAdjustment::$cases = array() |
|
protected |
◆ $ctrl
ilUserRequestTargetAdjustment::$ctrl |
|
protected |
◆ $user
ilUserRequestTargetAdjustment::$user |
|
protected |
The documentation for this class was generated from the following file: