Definition at line 13 of file Chunk.php.
◆ __construct()
SAML2\XML\Chunk::__construct |
( |
\DOMElement |
$xml | ) |
|
Create a XMLChunk from a copy of the given .
- Parameters
-
\DOMElement | $xml | The element we should copy. |
Definition at line 41 of file Chunk.php.
43 $this->localName =
$xml->localName;
44 $this->namespaceURI =
$xml->namespaceURI;
46 $this->xml = Utils::copyElement(
$xml);
◆ getXML()
SAML2\XML\Chunk::getXML |
( |
| ) |
|
◆ serialize()
SAML2\XML\Chunk::serialize |
( |
| ) |
|
Serialize this XML chunk.
- Returns
- string The serialized chunk.
Definition at line 76 of file Chunk.php.
78 return serialize($this->xml->ownerDocument->saveXML($this->xml));
serialize()
Serialize this XML chunk.
◆ toXML()
SAML2\XML\Chunk::toXML |
( |
\DOMElement |
$parent | ) |
|
Append this XML element to a different XML element.
- Parameters
-
\DOMElement | $parent | The element we should append this element to. |
- Returns
- The new element.
Definition at line 66 of file Chunk.php.
68 return Utils::copyElement($this->xml, $parent);
◆ unserialize()
SAML2\XML\Chunk::unserialize |
( |
|
$serialized | ) |
|
Un-serialize this XML chunk.
- Parameters
-
string | $serialized | The serialized chunk. |
Definition at line 86 of file Chunk.php.
References SAML2\DOMDocumentFactory\fromString().
89 $this->xml = $doc->documentElement;
90 $this->localName = $this->xml->localName;
91 $this->namespaceURI = $this->xml->namespaceURI;
unserialize($serialized)
Un-serialize this XML chunk.
◆ $localName
SAML2\XML\Chunk::$localName |
◆ $namespaceURI
SAML2\XML\Chunk::$namespaceURI |
◆ $xml
The documentation for this class was generated from the following file:
- libs/composer/vendor/simplesamlphp/saml2/src/SAML2/XML/Chunk.php