page.php
public function getUrlsByLabel($label)
    {
        $matches = array();
        foreach ($this->links as $link) {
            if ($link->getText() == $label) {
                $matches[] = $this->getUrlFromLink($link);
            }
        }

        return $matches;
    }
public function getUrlsByLabel($label)
    {
        $matches = array();
        foreach ($this->links as $link) {
            if ($link->getText() == $label) {
                $matches[] = $this->getUrlFromLink($link);
            }
        }

        return $matches;
    }
public function getUrlsByLabel ( $ label ) { $ matches = array ( ) ; foreach ( $ this -> links as $ link ) { if ( $ link -> getText ( ) == $ label ) { $ matches [ ] = $ this -> getUrlFromLink ( $ link ) ; } } return $ matches ; }
Accessor for URLs by the link label.
Label will match regardess of whitespace issues and case.

@param string $label    Text of link.

@return array           List of links with that label.
Accessor for URLs by the link label . Label will match regardess of whitespace issues and case .