ILIAS
Release_4_4_x_branch Revision 61816
|
Public Member Functions | |
Auth_Yadis_Service () | |
Creates an empty service object. | |
getTypes () | |
Return the URIs in the "Type" elements, if any, of this Service element. | |
matchTypes ($type_uris) | |
getURIs () | |
Return the URIs in the "URI" elements, if any, of this Service element. | |
getPriority () | |
Returns the "priority" attribute value of this <Service> element, if the attribute is present. | |
getElements ($name) | |
Used to get XML elements from this object's <Service> element. |
Auth_Yadis_Service::Auth_Yadis_Service | ( | ) |
Auth_Yadis_Service::getElements | ( | $name | ) |
Used to get XML elements from this object's <Service> element.
This is what you should use to get all custom information out of this element. This is used by service filter functions to determine whether a service element contains specific tags, etc. NOTE: this only considers elements which are direct children of the <Service> element for this object.
string | $name | The name of the element to look for |
Definition at line 201 of file XRDS.php.
Referenced by getTypes(), and getURIs().
Auth_Yadis_Service::getPriority | ( | ) |
Returns the "priority" attribute value of this <Service> element, if the attribute is present.
Returns null if not.
Definition at line 175 of file XRDS.php.
Auth_Yadis_Service::getTypes | ( | ) |
Return the URIs in the "Type" elements, if any, of this Service element.
Definition at line 100 of file XRDS.php.
References $t, and getElements().
Referenced by matchTypes().
Auth_Yadis_Service::getURIs | ( | ) |
Return the URIs in the "URI" elements, if any, of this Service element.
The URIs are returned sorted in priority order.
Definition at line 131 of file XRDS.php.
References $result, Auth_Yadis_array_scramble(), and getElements().
Auth_Yadis_Service::matchTypes | ( | $type_uris | ) |