PHP Класс SAML2\XML\Chunk

Наследование: implements Serializable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$localName string The localName of the element.
$namespaceURI string The namespaceURI of this element.
$xml DOMElement The \DOMElement we contain.

Открытые методы

Метод Описание
__construct ( DOMElement $xml ) Create a XMLChunk from a copy of the given \DOMElement.
getXML ( ) : DOMElement Get this \DOMElement.
serialize ( ) : string Serialize this XML chunk.
toXML ( DOMElement $parent ) : DOMElement Append this XML element to a different XML element.
unserialize ( string $serialized ) Un-serialize this XML chunk.

Описание методов

__construct() публичный Метод

Create a XMLChunk from a copy of the given \DOMElement.
public __construct ( DOMElement $xml )
$xml DOMElement The element we should copy.

getXML() публичный Метод

Get this \DOMElement.
Устаревший:
public getXML ( ) : DOMElement
Результат DOMElement This element.

serialize() публичный Метод

Serialize this XML chunk.
public serialize ( ) : string
Результат string The serialized chunk.

toXML() публичный Метод

Append this XML element to a different XML element.
public toXML ( DOMElement $parent ) : DOMElement
$parent DOMElement The element we should append this element to.
Результат DOMElement The new element.

unserialize() публичный Метод

Un-serialize this XML chunk.
public unserialize ( string $serialized )
$serialized string The serialized chunk.

Описание свойств

$localName публичное свойство

The localName of the element.
public string $localName
Результат string

$namespaceURI публичное свойство

The namespaceURI of this element.
public string $namespaceURI
Результат string

$xml публичное свойство

The \DOMElement we contain.
public DOMElement $xml
Результат DOMElement