Auth_Yadis_Service::getElements PHP Метод

getElements() публичный Метод

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 element for this object.
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 element. The nodes returned by this function can be passed to $this->parser methods (see {@link Auth_Yadis_XMLParser}).
    function getElements($name)
    {
        return $this->parser->evalXPath($name, $this->element);
    }