Auth_Yadis_Service Auth_Yadis_Service(
)
|
|
Creates an empty service object.
array getElements(
string
$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.
Parameters:
|
string |
$name: |
The name of the element to look for |
API Tags:
| Return: | An array of elements with the specified name which are direct children of the <Service> element. The nodes returned by this function can be passed to $this->parser methods (see Auth_Yadis_XMLParser). |
Returns the "priority" attribute value of this <Service> element, if the attribute is present. Returns null if not.
API Tags:
| Return: | Null or integer, depending on whether this Service element has a 'priority' attribute. |
Return the URIs in the "Type" elements, if any, of this Service element.
API Tags:
| Return: | An array of Type URI strings. |
Return the URIs in the "URI" elements, if any, of this Service element. The URIs are returned sorted in priority order.
API Tags:
| Return: | An array of URI strings. |
void matchTypes(
$type_uris
)
|
|
Parameters: