|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for sspmod_expirycheck_Auth_Process_ExpiryDate:
Collaboration diagram for sspmod_expirycheck_Auth_Process_ExpiryDate: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. |
Reimplemented from SimpleSAML_Auth_ProcessingFilter.
Definition at line 115 of file ExpiryDate.php.
References $globalConfig, $id, $netid_attr, $state, $url, date, SimpleSAML\Logger\error(), SimpleSAML_Configuration\getInstance(), SimpleSAML\Module\getModuleURL(), SimpleSAML\Utils\HTTP\redirectTrustedURL(), SimpleSAML_Auth_State\saveState(), and SimpleSAML\Logger\warning().
Here is the call graph for this function:| 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().