Auth_Yadis_Service::getTypes PHP Method

getTypes() public method

Return the URIs in the "Type" elements, if any, of this Service element.
public getTypes ( ) : array
return array $type_uris An array of Type URI strings.
    function getTypes()
    {
        $t = array();
        foreach ($this->getElements('xrd:Type') as $elem) {
            $c = $this->parser->content($elem);
            if ($c) {
                $t[] = $c;
            }
        }
        return $t;
    }