PHP Класс SAML2\XML\md\ContactPerson

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

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

Свойство Тип Описание
$Company string The Company of this contact.
$ContactPersonAttributes array Extra attributes on the contact element.
$EmailAddress array The EmailAddresses of this contact.
$Extensions array Array of extension elements.
$GivenName string The GivenName of this contact.
$SurName string The SurName of this contact.
$TelephoneNumber array The TelephoneNumbers of this contact.
$contactType string The contact type.

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

Метод Описание
__construct ( DOMElement $xml = null ) Initialize a ContactPerson element.
toXML ( DOMElement $parent ) : DOMElement Convert this ContactPerson to XML.

Приватные методы

Метод Описание
getStringElement ( DOMElement $parent, string $name ) : string | null Retrieve the value of a child \DOMElement as a string.
getStringElements ( DOMElement $parent, string $name ) : array Retrieve the value of a child \DOMElements as an array of strings.

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

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

Initialize a ContactPerson element.
public __construct ( DOMElement $xml = null )
$xml DOMElement The XML element we should load.

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

Convert this ContactPerson to XML.
public toXML ( DOMElement $parent ) : DOMElement
$parent DOMElement The element we should add this contact to.
Результат DOMElement The new ContactPerson-element.

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

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

The Company of this contact.
public string $Company
Результат string

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

Extra attributes on the contact element.
public array $ContactPersonAttributes
Результат array

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

The EmailAddresses of this contact.
public array $EmailAddress
Результат array

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

Array of extension elements.
public array $Extensions
Результат array

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

The GivenName of this contact.
public string $GivenName
Результат string

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

The SurName of this contact.
public string $SurName
Результат string

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

The TelephoneNumbers of this contact.
public array $TelephoneNumber
Результат array

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

The contact type.
public string $contactType
Результат string