page.php
public function getUrls()
    {
        $all = array();
        foreach ($this->links as $link) {
            $url   = $this->getUrlFromLink($link);
            $all[] = $url->asString();
        }

        return $all;
    }
public function getUrls()
    {
        $all = array();
        foreach ($this->links as $link) {
            $url   = $this->getUrlFromLink($link);
            $all[] = $url->asString();
        }

        return $all;
    }
Accessor for a list of all links.

@return array   List of urls with scheme of http or https and hostname.