PHP Class SAML2\XML\md\ContactPerson

Afficher le fichier Open project: simplesamlphp/saml2 Class Usage Examples

Méthodes publiques

Свойство Type Description
$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.

Méthodes publiques

Méthode Description
__construct ( DOMElement $xml = null ) Initialize a ContactPerson element.
toXML ( DOMElement $parent ) : DOMElement Convert this ContactPerson to XML.

Private Methods

Méthode Description
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.

Method Details

__construct() public méthode

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

toXML() public méthode

Convert this ContactPerson to XML.
public toXML ( DOMElement $parent ) : DOMElement
$parent DOMElement The element we should add this contact to.
Résultat DOMElement The new ContactPerson-element.

Property Details

$Company public_oe property

The Company of this contact.
public string $Company
Résultat string

$ContactPersonAttributes public_oe property

Extra attributes on the contact element.
public array $ContactPersonAttributes
Résultat array

$EmailAddress public_oe property

The EmailAddresses of this contact.
public array $EmailAddress
Résultat array

$Extensions public_oe property

Array of extension elements.
public array $Extensions
Résultat array

$GivenName public_oe property

The GivenName of this contact.
public string $GivenName
Résultat string

$SurName public_oe property

The SurName of this contact.
public string $SurName
Résultat string

$TelephoneNumber public_oe property

The TelephoneNumbers of this contact.
public array $TelephoneNumber
Résultat array

$contactType public_oe property

The contact type.
public string $contactType
Résultat string