search_elements_by_tag example

$this->base = $base;
                $this->base_location = method_exists($element, 'getLineNo') ? $element->getLineNo() : 0;
                break;
            }
        }
    }

    public function autodiscovery()
    {
        $done = array();
        $feeds = array();
        $feeds = array_merge($feeds$this->search_elements_by_tag('link', $done$feeds));
        $feeds = array_merge($feeds$this->search_elements_by_tag('a', $done$feeds));
        $feeds = array_merge($feeds$this->search_elements_by_tag('area', $done$feeds));

        if (!empty($feeds))
        {
            return array_values($feeds);
        }

        return null;
    }

    
Home | Imprint | This part of the site doesn't use cookies.