ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Warning.php
Go to the documentation of this file.
1 <?php
2 
9 
10 
11 
20  public function process(&$state) {
21  assert('is_array($state)');
22 
23  if (isset($state['isPassive']) && $state['isPassive'] === TRUE) {
24  // We have a passive request. Skip the warning
25  return;
26  }
27 
28  // Save state and redirect.
29  $id = SimpleSAML_Auth_State::saveState($state, 'warning:request');
30  $url = SimpleSAML\Module::getModuleURL('preprodwarning/showwarning.php');
32  }
33 
34 
35 
36 }
process(&$state)
Process a authentication response.
Definition: Warning.php:20
if(!array_key_exists('StateId', $_REQUEST)) $id
static redirectTrustedURL($url, $parameters=array())
This function redirects to the specified URL without performing any security checks.
Definition: HTTP.php:962
static getModuleURL($resource, array $parameters=array())
Get absolute URL to a specified module resource.
Definition: Module.php:303
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
Definition: linkback.php:10
Create styles array
The data for the language used.
$url
static saveState(&$state, $stage, $rawId=false)
Save the state.
Definition: State.php:194