Class: Services_Yadis_Xrds_Service

The Services_Yadis_Xrds_Service class is a wrapper for Service elements of an XRD document which is parsed using SimpleXML, and contains methods for retrieving data about each Service, including Type, Url and other arbitrary data added in a separate namespace, e.g. openid:Delegate for OpenID 1.1.

Class Details

[line 65]
The Services_Yadis_Xrds_Service class is a wrapper for Service elements of an XRD document which is parsed using SimpleXML, and contains methods for retrieving data about each Service, including Type, Url and other arbitrary data added in a separate namespace, e.g. openid:Delegate for OpenID 1.1.

This class extends the basic Services_Yadis_Xrds wrapper to implement a Service object specific to the Yadis Specification 1.0. XRDS itself is not an XML format ruled by Yadis, but by an OASIS proposal.

Method Detail

Parses the XRD document by <xrd:Service> element to construct an array of Services_Yadis_Service objects ordered by their priority.

Access: public

Overrides Services_Yadis_Xrds::__construct() (Constructor; parses and validates an XRD document. All access to the data held in the XML is left to a concrete subclass specific to expected XRD format and data types.)