PHP Class SAML2\XML\saml\BaseIDType

Show file Open project: simplesamlphp/saml2

Public Properties

Property Type Description
$NameQualifier string | null This attribute provides a means to federate identifiers from disparate user stores without collision.
$SPNameQualifier string | null This attribute provides an additional means to federate identifiers on the basis of the relying party or parties.

Protected Properties

Property Type Description
$nodeName string Override in classes extending this class to get the desired name.

Public Methods

Method Description
__construct ( DOMElement $xml = null ) Initialize a saml:BaseID, either from scratch or from an existing \DOMElement.
__toString ( ) : string Get a string representation of this BaseIDType object.
toXML ( DOMElement $parent = null ) : DOMElement Convert this BaseID to XML.

Method Details

__construct() public method

Initialize a saml:BaseID, either from scratch or from an existing \DOMElement.
public __construct ( DOMElement $xml = null )
$xml DOMElement The XML element we should load, if any.

__toString() public method

Get a string representation of this BaseIDType object.
public __toString ( ) : string
return string The resulting XML, as a string.

toXML() public method

Convert this BaseID to XML.
public toXML ( DOMElement $parent = null ) : DOMElement
$parent DOMElement
return DOMElement The XML element after adding the data corresponding to this BaseID.

Property Details

$NameQualifier public property

This attribute provides a means to federate identifiers from disparate user stores without collision.
public string|null $NameQualifier
return string | null

$SPNameQualifier public property

This attribute provides an additional means to federate identifiers on the basis of the relying party or parties.
public string|null $SPNameQualifier
return string | null

$nodeName protected property

Override in classes extending this class to get the desired name.
protected string $nodeName
return string