ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
sspmod_adfs_SAML2_XML_fed_Endpoint Class Reference
+ Collaboration diagram for sspmod_adfs_SAML2_XML_fed_Endpoint:

Static Public Member Functions

static appendXML (DOMElement $parent, $name, $address)
 Add this endpoint to an XML element. More...
 

Detailed Description

Definition at line 7 of file Endpoint.php.

Member Function Documentation

◆ appendXML()

static sspmod_adfs_SAML2_XML_fed_Endpoint::appendXML ( DOMElement  $parent,
  $name,
  $address 
)
static

Add this endpoint to an XML element.

Parameters
DOMElement$parentThe element we should append this endpoint to.
string$nameThe name of the element we should create.

Definition at line 15 of file Endpoint.php.

16 {
17 assert(is_string($name));
18 assert(is_string($address));
19
20 $e = $parent->ownerDocument->createElement($name);
21 $parent->appendChild($e);
22
23 $endpoint = $parent->ownerDocument->createElement('EndpointReference');
24 $endpoint->setAttribute('xmlns', 'http://www.w3.org/2005/08/addressing');
25 $e->appendChild($endpoint);
26
27 $address = $parent->ownerDocument->createElement('Address', $address);
28 $endpoint->appendChild($address);
29
30 return $e;
31 }
$endpoint

References $endpoint, and $name.

Referenced by sspmod_adfs_SAML2_XML_fed_SecurityTokenServiceType\toXML().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: