Auth_OpenID_Parse::findLinksRel PHP Method

findLinksRel() public method

public findLinksRel ( $link_attrs_list, $target_rel )
    function findLinksRel($link_attrs_list, $target_rel)
    {
        // Filter the list of link attributes on whether it has
        // target_rel as a relationship.
        // XXX: TESTME
        $result = array();
        foreach ($link_attrs_list as $attr) {
            if ($this->linkHasRel($attr, $target_rel)) {
                $result[] = $attr;
            }
        }
        return $result;
    }