25 foreach (
Utils::xpQuery($parent,
'./saml_protocol:Extensions/*') as $node) {
40 if (empty($extensions)) {
44 $extElement = $parent->ownerDocument->createElementNS(
Constants::NS_SAMLP,
'samlp:Extensions');
45 $parent->appendChild($extElement);
47 foreach ($extensions as $ext) {
48 $ext->toXML($extElement);
static addList(\DOMElement $parent, array $extensions)
Add a list of Extensions to the given element.
static xpQuery(\DOMNode $node, $query)
Do an XPath query on an XML node.
const NS_SAMLP
The namespace for the SAML 2 protocol.
static getList(\DOMElement $parent)
Get a list of Extensions in the given element.