ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
getconsent.php File Reference

Go to the source code of this file.

Namespaces

 SimpleSAMLphp
 Temporary autoloader to ensure compatibility with old, non-PSR-2 compliant classes.
 

Variables

 $globalConfig = SimpleSAML_Configuration::getInstance()
 
if(!array_key_exists('StateId', $_REQUEST)) $id = $_REQUEST['StateId']
 
 $state = SimpleSAML_Auth_State::loadState($id, 'consent:request')
 
if(array_key_exists('core:SP', $state)) else if(array_key_exists('saml:sp:State', $state)) else
 
if(array_key_exists('yes', $_REQUEST)) $attributes = $state['Attributes']
 
 $noconsentattributes = $state['consent:noconsentattributes']
 
foreach($attributes AS $attrkey=> $attrval) $para
 
 $t = new SimpleSAML_XHTML_Template($globalConfig, 'consent:consentform.php')
 
$t data ['srcMetadata'] = $state['Source']
 
$t data ['dstMetadata'] = $state['Destination']
 
$t data ['yesTarget'] = SimpleSAML\Module::getModuleURL('consent/getconsent.php')
 
$t data ['yesData'] = array('StateId' => $id)
 
$t data ['noTarget'] = SimpleSAML\Module::getModuleURL('consent/noconsent.php')
 
$t data ['noData'] = array('StateId' => $id)
 
$t data ['attributes'] = $attributes
 
$t data ['checked'] = $state['consent:checked']
 
if($privacypolicy !==false) $t data ['sppp'] = $privacypolicy
 

Variable Documentation

◆ $attributes

if (array_key_exists( 'yes', $_REQUEST)) $attributes = $state['Attributes']

Definition at line 85 of file getconsent.php.

◆ $globalConfig

Definition at line 22 of file getconsent.php.

◆ $id

if (!array_key_exists( 'StateId', $_REQUEST)) $id = $_REQUEST['StateId']

Definition at line 32 of file getconsent.php.

◆ $noconsentattributes

$noconsentattributes = $state['consent:noconsentattributes']

Definition at line 86 of file getconsent.php.

◆ $para

foreach ( $attributes AS $attrkey=> $attrval) $para
Initial value:
'attributes' => &$attributes
)
if(array_key_exists('yes', $_REQUEST)) $attributes
Definition: getconsent.php:85
Create styles array
The data for the language used.

Definition at line 94 of file getconsent.php.

◆ $state

$state = SimpleSAML_Auth_State::loadState($id, 'consent:request')

Definition at line 33 of file getconsent.php.

◆ $t

$t = new SimpleSAML_XHTML_Template($globalConfig, 'consent:consentform.php')

Definition at line 102 of file getconsent.php.

◆ data [1/9]

$t data[ 'srcMetadata'] = $state['Source']

Definition at line 103 of file getconsent.php.

◆ data [2/9]

$t data[ 'dstMetadata'] = $state['Destination']

Definition at line 104 of file getconsent.php.

◆ data [3/9]

$t data[ 'yesTarget'] = SimpleSAML\Module::getModuleURL('consent/getconsent.php')

Definition at line 105 of file getconsent.php.

◆ data [4/9]

$t data[ 'yesData'] = array('StateId' => $id)

Definition at line 106 of file getconsent.php.

◆ data [5/9]

$t data[ 'noTarget'] = SimpleSAML\Module::getModuleURL('consent/noconsent.php')

Definition at line 107 of file getconsent.php.

◆ data [6/9]

$t data[ 'noData'] = array('StateId' => $id)

Definition at line 108 of file getconsent.php.

◆ data [7/9]

$t data[ 'attributes'] = $attributes

Definition at line 109 of file getconsent.php.

◆ data [8/9]

$t data[ 'checked'] = $state['consent:checked']

Definition at line 110 of file getconsent.php.

◆ data [9/9]

if ( $privacypolicy !==false) $t data[ 'sppp'] = $privacypolicy

Definition at line 127 of file getconsent.php.

◆ else

if (array_key_exists( 'consent:hiddenAttributes', $state)) else
Initial value:
{
$spentityid = 'UNKNOWN'

Definition at line 39 of file getconsent.php.