Метод | Описание | |
---|---|---|
__construct ( ) | Creates an empty service object. | |
getElements ( string $name ) : array |
Used to get XML elements from this object's |
|
getPriority ( ) : mixed |
Returns the "priority" attribute value of this |
|
getTypes ( ) : array | Return the URIs in the "Type" elements, if any, of this Service element. | |
getURIs ( ) : array | Return the URIs in the "URI" elements, if any, of this Service element. The URIs are returned sorted in priority order. | |
matchTypes ( $type_uris ) |
public getElements ( string $name ) : array | ||
$name | string | The name of the element to look for |
Результат | array | $list An array of elements with the specified
name which are direct children of the |
public getPriority ( ) : mixed | ||
Результат | mixed | $result Null or integer, depending on whether this Service element has a 'priority' attribute. |