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

Class ilTermsOfServiceRequestTargetAdjustmentCase. More...

+ Inheritance diagram for ilTermsOfServiceRequestTargetAdjustmentCase:
+ Collaboration diagram for ilTermsOfServiceRequestTargetAdjustmentCase:

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

Member Function Documentation

ilTermsOfServiceRequestTargetAdjustmentCase::adjust ( )
Returns
void

Reimplemented from ilUserRequestTargetAdjustmentCase.

Definition at line 55 of file class.ilTermsOfServiceRequestTargetAdjustmentCase.php.

References ilUtil\redirect().

{
ilUtil::redirect('ilias.php?baseClass=ilStartUpGUI&cmdClass=ilStartupGUI&cmd=getAcceptance');
}

+ Here is the call graph for this function:

ilTermsOfServiceRequestTargetAdjustmentCase::isInFulfillment ( )
Returns
boolean

Reimplemented from ilUserRequestTargetAdjustmentCase.

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

Referenced by shouldAdjustRequest().

{
return (
strtolower($this->ctrl->getCmdClass()) == 'ilstartupgui' &&
strtolower($this->ctrl->getCmd()) == 'getacceptance'
);
}

+ Here is the caller graph for this function:

ilTermsOfServiceRequestTargetAdjustmentCase::shouldAdjustRequest ( )
Returns
boolean

Reimplemented from ilUserRequestTargetAdjustmentCase.

Definition at line 33 of file class.ilTermsOfServiceRequestTargetAdjustmentCase.php.

References isInFulfillment().

{
if($this->isInFulfillment())
{
return false;
}
if(
$this->user->hasToAcceptTermsOfService() &&
$this->user->checkTimeLimit() &&
$this->user->hasToAcceptTermsOfServiceInSession()
)
{
return true;
}
return false;
}

+ Here is the call graph for this function:

ilTermsOfServiceRequestTargetAdjustmentCase::shouldStoreRequestTarget ( )
Returns
boolean

Reimplemented from ilUserRequestTargetAdjustmentCase.

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

{
return true;
}

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