ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($config, $reserved) | |
Initialize this filter. More... | |
shWarning (&$state, $expireOnDate, $warndaysbefore) | |
Show expirational warning if remaining days is equal or under defined $warndaysbefore. More... | |
checkDate ($expireOnDate) | |
Check if given date is older than today. More... | |
process (&$state) | |
Apply filter. More... | |
Public Member Functions inherited from SimpleSAML_Auth_ProcessingFilter | |
__construct (&$config, $reserved) | |
Constructor for a processing filter. More... | |
process (&$request) | |
Process a request. More... | |
Private Attributes | |
$warndaysbefore = 0 | |
$netid_attr = NULL | |
$expirydate_attr = NULL | |
$date_format = 'd.m.Y' | |
Additional Inherited Members | |
Data Fields inherited from SimpleSAML_Auth_ProcessingFilter | |
$priority = 50 | |
Priority of this filter. More... | |
Definition at line 23 of file ExpiryDate.php.
sspmod_expirycheck_Auth_Process_ExpiryDate::__construct | ( | $config, | |
$reserved | |||
) |
Initialize this filter.
array | $config | Configuration information about this filter. |
mixed | $reserved | For future use. |
Definition at line 37 of file ExpiryDate.php.
References $config.
sspmod_expirycheck_Auth_Process_ExpiryDate::checkDate | ( | $expireOnDate | ) |
Check if given date is older than today.
integer | $expireOnDate |
Definition at line 98 of file ExpiryDate.php.
References $end.
sspmod_expirycheck_Auth_Process_ExpiryDate::process | ( | & | $state | ) |
Apply filter.
array | &$state | The current state. |
Definition at line 115 of file ExpiryDate.php.
References $id, $netid_attr, $state, $url, SimpleSAML\Logger\error(), SimpleSAML\Module\getModuleURL(), SimpleSAML\Utils\HTTP\redirectTrustedURL(), SimpleSAML_Auth_State\saveState(), and SimpleSAML\Logger\warning().
sspmod_expirycheck_Auth_Process_ExpiryDate::shWarning | ( | & | $state, |
$expireOnDate, | |||
$warndaysbefore | |||
) |
Show expirational warning if remaining days is equal or under defined $warndaysbefore.
integer | $expireOnDate | |
integer | $warndaysbefore |
Definition at line 78 of file ExpiryDate.php.
References $end, $state, and $warndaysbefore.
|
private |
Definition at line 28 of file ExpiryDate.php.
|
private |
Definition at line 27 of file ExpiryDate.php.
|
private |
Definition at line 26 of file ExpiryDate.php.
Referenced by process().
|
private |
Definition at line 25 of file ExpiryDate.php.
Referenced by shWarning().