| ILIAS
    release_5-4 Revision v5.4.26-12-gabc799a52e6
    | 
Go to the source code of this file.
| Namespaces | |
| namespace | SimpleSAMLphp | 
| Temporary autoloader to ensure compatibility with old, non-PSR-2 compliant classes. | |
| Functions | |
| present_attributes ($t, $attributes, $nameParent) | |
| Recursive attribute array listing function.  More... | |
| 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') | |
| $translator = $t->getTranslator() | |
| $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'] | 
| $t | data ['stateId'] = $id | 
| $srcName = htmlspecialchars(is_array($srcName) ? $translator->t($srcName) : $srcName) | |
| $dstName = htmlspecialchars(is_array($dstName) ? $translator->t($dstName) : $dstName) | |
| $t | data ['consent_attributes_header'] | 
| $t | data ['consent_accept'] | 
| if(array_key_exists('descr_purpose', $state['Destination'])) $t | data ['srcName'] = $srcName | 
| $t | data ['dstName'] = $dstName | 
| if($privacypolicy !==false) $t | data ['sppp'] = $privacypolicy | 
| $t | data ['attributes_html'] = present_attributes($t, $attributes, '') | 
| present_attributes | ( | $t, | |
| $attributes, | |||
| $nameParent | |||
| ) | 
Recursive attribute array listing function.
| \SimpleSAML\XHTML\Template | $t | Template object | 
| array | $attributes | Attributes to be presented | 
| string | $nameParent | Name of parent element | 
Definition at line 216 of file getconsent.php.
References $attributes, $i, $name, $summary, $t, $translator, SimpleSAML\Utils\Random\generateID(), and present_attributes().
Referenced by present_attributes().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| if (array_key_exists( 'yes', $_REQUEST)) $attributes = $state['Attributes'] | 
Definition at line 85 of file getconsent.php.
Referenced by sspmod_authcrypt_Auth_Source_Hash\__construct(), sspmod_exampleauth_Auth_Source_UserPass\__construct(), SAML2\AttributeQuery\__construct(), phpseclib\File\X509\_extensions(), ilExternalFeed\_getRSSLocation(), phpseclib\Net\SFTP\_list(), phpseclib\File\X509\_mapInAttributes(), phpseclib\File\X509\_mapOutAttributes(), SimpleSAML_Metadata_SAMLBuilder\addAttributeConsumingService(), ilNestedSetXML\addDomNode(), HTMLPurifier_HTMLDefinition\addElement(), ilMediaAliasItem\addMapArea(), pdoDB\addTableColumn(), ilUserDefinedFields\addToXML(), ilPCInteractiveImage\addTriggerArea(), ilPCInteractiveImage\addTriggerMarker(), sspmod_core_ACL\allows(), sspmod_authX509_Auth_Source_X509userCert\authenticate(), sspmod_core_Auth_UserPassBase\authenticate(), sspmod_exampleauth_Auth_Source_External\authenticate(), sspmod_saml_IdP_SAML2\buildAssertion(), sspmod_cas_Auth_Source_CAS\casServiceValidate(), sspmod_statistics_AccessCheck\checkAccess(), arFieldList\checkAttributes(), HTMLPurifier_Injector\checkNeeded(), ilECSMappingSettingsGUI\cInitMappingForm(), ilECSMappingSettingsGUI\cUpdateSettings(), SAML2\Assertion\decryptAttributes(), PhpOffice\PhpSpreadsheet\Reader\Gnumeric\Properties\docPropertiesMeta(), sspmod_saml_IdP_SAML2\encodeAttributes(), ilBPMN2ParserUtils\extractDataNamingFromElement(), ilTestResultsImportParser\fetchAttribute(), GeSHi\finalise(), sspmod_authfacebook_Auth_Source_Facebook\finalStep(), sspmod_authtwitter_Auth_Source_Twitter\finalStep(), sspmod_authwindowslive_Auth_Source_LiveID\finalStep(), sspmod_cas_Auth_Source_CAS\finalStep(), ilBiblLibraryPresentationGUI\formatAttribute(), ilUtil\formSelect(), SimpleSAML\XML\Shib13\AuthnResponse\generate(), ilBiblLibraryPresentationGUI\generateLibraryLink(), sspmod_saml_IdP_SAML2\generateNameIdValue(), sspmod_adfs_IdP_ADFS\generateResponse(), ilLDAPRoleAssignmentRules\getAdditionalPluginAttributes(), phpseclib\File\X509\getAttribute(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\Chart\getAttribute(), sspmod_consent_Auth_Process_Consent\getAttributeHash(), phpseclib\File\X509\getAttributes(), SimpleSAML_Auth_LDAP\getAttributes(), SAML2\Assertion\getAttributes(), SAML2\AttributeQuery\getAttributes(), ilLDAPResult\getEntries(), SimpleSAML\Utils\Attributes\getExpectedAttribute(), sspmod_ldap_Auth_Process_AttributeAddUsersGroups\getGroups(), sspmod_ldap_Auth_Process_AttributeAddUsersGroups\getGroupsActiveDirectory(), sspmod_ldap_Auth_Process_AttributeAddUsersGroups\getGroupsOpenLdap(), sspmod_exampleauth_Auth_Source_External\getUser(), ilLearningSequenceXMLParser\handleBeginTag(), sspmod_authYubiKey_Auth_Source_YubiKey\handleLogin(), sspmod_core_Auth_UserPassBase\handleLogin(), sspmod_core_Auth_UserPassOrgBase\handleLogin(), sspmod_saml_Auth_Source_SP\handleResponse(), GeSHi\header(), arFieldList\initFields(), ilECSMappingSettingsGUI\initFormCSettings(), PhpOffice\PhpSpreadsheet\Reader\Html\insertImage(), kses(), ilLMPresentationGUI\layout(), sspmod_authYubiKey_Auth_Source_YubiKey\login(), sspmod_radius_Auth_Source_Radius\login(), ilECSCourseMappingRule\lookupLastExistingAttribute(), sspmod_core_ACL\match(), SimpleSAML\Utils\Attributes\normalizeAttributesArray(), sspmod_core_ACL\opAnd(), sspmod_core_ACL\opEquals(), sspmod_core_ACL\opEqualsPreg(), sspmod_core_ACL\opHas(), sspmod_core_ACL\opHasPreg(), sspmod_core_ACL\opOr(), GeSHi\parse_code(), GeSHi\parse_non_string_part(), SimpleSAML_Utilities\parseAttributes(), Sabre\Xml\Reader\parseAttributes(), SAML2\Assertion\parseAttributes(), Sabre\Xml\Reader\parseCurrentElement(), HTMLPurifier_HTMLDefinition\parseTinyMCEAllowedList(), ilTestExportRandomQuestionSet\populateSelectionDefinitions(), present_attributes(), sspmod_authorize_Auth_Process_Authorize\process(), sspmod_core_Auth_Process_AttributeAlter\process(), sspmod_core_Auth_Process_AttributeCopy\process(), sspmod_core_Auth_Process_AttributeLimit\process(), sspmod_core_Auth_Process_AttributeRealm\process(), SimpleSAML\Module\core\Auth\Process\AttributeValueMap\process(), sspmod_core_Auth_Process_GenerateGroups\process(), sspmod_core_Auth_Process_LanguageAdaptor\process(), sspmod_core_Auth_Process_PHP\process(), sspmod_core_Auth_Process_ScopeAttribute\process(), sspmod_core_Auth_Process_ScopeFromAttribute\process(), sspmod_ldap_Auth_Process_AttributeAddFromLDAP\process(), sspmod_ldap_Auth_Process_AttributeAddUsersGroups\process(), sspmod_authYubiKey_Auth_Process_OTP2YubiPrefix\process(), sspmod_consent_Auth_Process_Consent\process(), sspmod_saml_Message\processAssertion(), PhpOffice\PhpSpreadsheet\Reader\Gnumeric\processAutofilter(), ilLMPresentationGUI\processNodes(), phpseclib\File\X509\removeAttribute(), ilBiblEntryTablePresentationGUI\render(), ilBiblEntryDetailPresentationGUI\renderAttributes(), ilMMTopItemGUI\restore(), sspmod_exampleauth_Auth_Source_External\resume(), sspmod_ldap_Auth_Process_AttributeAddUsersGroups\search(), SimpleSAML_Auth_LDAP\searchformultiple(), sspmod_adfs_IdP_ADFS\sendResponse(), sspmod_saml_IdP_SAML1\sendResponse(), nusoap_base\serialize_val(), ilMediaAliasItem\setAreaExtLink(), ilMediaAliasItem\setAreaIntLink(), phpseclib\File\X509\setAttribute(), CAS_Client\setAttributes(), SAML2\Assertion\setAttributes(), SAML2\AttributeQuery\setAttributes(), ilPCSection\setExtLink(), ilPCSection\setIntLink(), ilMediaAliasItem\setParameters(), SimpleSAML_Error_Error\show(), ilOrgUnitExporter\simpleExport(), ilOrgUnitSimpleImport\simpleImportElement(), ilOrgUnitSimpleUserImport\simpleUserImportElement(), Sabre\Xml\Serializer\standardSerializer(), Monolog\Handler\AmqpHandlerTest\testHandleAmqpExt(), enshrined\svgSanitize\Tests\SanitizerTest\testLoadDefaultAttributes(), enshrined\svgSanitize\Tests\SanitizerTest\testSetCustomAttributes(), SimpleSAML_Auth_LDAP\validate(), Sabre\Xml\Writer\writeAttributes(), and ilRoleXmlExport\writeRole().
| $dstName = htmlspecialchars(is_array($dstName) ? $translator->t($dstName) : $dstName) | 
Definition at line 131 of file getconsent.php.
| $globalConfig = SimpleSAML_Configuration::getInstance() | 
Definition at line 22 of file getconsent.php.
| if (!array_key_exists( 'StateId', $_REQUEST)) $id = $_REQUEST['StateId'] | 
Definition at line 32 of file getconsent.php.
| $noconsentattributes = $state['consent:noconsentattributes'] | 
Definition at line 86 of file getconsent.php.
| foreach ( $attributes AS $attrkey=> $attrval) $para | 
Definition at line 94 of file getconsent.php.
| $srcName = htmlspecialchars(is_array($srcName) ? $translator->t($srcName) : $srcName) | 
Definition at line 130 of file getconsent.php.
| $state = SimpleSAML_Auth_State::loadState($id, 'consent:request') | 
Definition at line 33 of file getconsent.php.
| $t = new SimpleSAML_XHTML_Template($globalConfig, 'consent:consentform.php') | 
Definition at line 118 of file getconsent.php.
Referenced by present_attributes().
| $translator = $t->getTranslator() | 
Definition at line 119 of file getconsent.php.
Referenced by sspmod_portal_Portal\getLoginInfo(), Gettext\BaseTranslator\initGettextFunctions(), ilLOUtils\lookupQplBySequence(), present_attributes(), and Twig_Tests_Extension_DateTest\testDiffCanReturnTranslatableString().
| $t data[ 'attributes'] = $attributes | 
Definition at line 126 of file getconsent.php.
| $t data[ 'attributes_html'] = present_attributes($t, $attributes, '') | 
Definition at line 203 of file getconsent.php.
| $t data[ 'checked'] = $state['consent:checked'] | 
Definition at line 127 of file getconsent.php.
| $t data[ 'consent_accept'] | 
Definition at line 138 of file getconsent.php.
| $t data[ 'consent_attributes_header'] | 
Definition at line 133 of file getconsent.php.
| $t data[ 'dstMetadata'] = $state['Destination'] | 
Definition at line 121 of file getconsent.php.
| $t data[ 'dstName'] = $dstName | 
Definition at line 159 of file getconsent.php.
| $t data[ 'noData'] = array('StateId' => $id) | 
Definition at line 125 of file getconsent.php.
| $t data[ 'noTarget'] = SimpleSAML\Module::getModuleURL('consent/noconsent.php') | 
Definition at line 124 of file getconsent.php.
| if ( $privacypolicy !==false) $t data[ 'sppp'] = $privacypolicy | 
Definition at line 176 of file getconsent.php.
| $t data[ 'srcMetadata'] = $state['Source'] | 
Definition at line 120 of file getconsent.php.
| if (array_key_exists( 'descr_purpose', $state[ 'Destination'])) $t data[ 'srcName'] = $srcName | 
Definition at line 158 of file getconsent.php.
| $t data[ 'stateId'] = $id | 
Definition at line 128 of file getconsent.php.
| $t data[ 'yesData'] = array('StateId' => $id) | 
Definition at line 123 of file getconsent.php.
| $t data[ 'yesTarget'] = SimpleSAML\Module::getModuleURL('consent/getconsent.php') | 
Definition at line 122 of file getconsent.php.
| if (array_key_exists( 'consent:hiddenAttributes', $state)) else | 
Definition at line 39 of file getconsent.php.