A simple XRDS parser.
This parser uses the classic expat functions available in PHP to parse the XRDS Simple XML document.
The result is a XRDSServices object.
| Methods | ||
|---|---|---|
public
|
__construct()
|
# |
public
|
close(): void
|
# |
public
|
load(string $xml): void
|
# |
public
|
parse(): XRDSServices
|
# |
protected
|
flatten_uris(array<array<string, mixed>> $array, bool $sort = true): array<array<string, mixed>>
|
# |
| Constants | |||
|---|---|---|---|
public
|
XRDS_NS = 'xri://$xrds'
|
# | |
public
|
XRD2_NS = 'xri://$xrd*($v*2.0)'
|
# | |
public
|
XRDS_SIMPLE_NS = 'http://xrds-simple.net/core/1.0'
|
# | |
public
|
XRDS_SIMPLE_TYPE = 'xri://$xrds*simple'
|
# | |
public
|
XRD_OPENID_NS = 'http://openid.net/xmlns/1.0'
|
# | |