frames.php
public function getUrlById($id)
    {
        foreach ($this->frames as $index => $frame) {
            if ($url = $frame->getUrlById($id)) {
                if (! $url->gettarget()) {
                    $url->setTarget($this->getPublicNameFromIndex($index));
                }

                return $url;
            }
        }

        return false;
    }
public function getUrlById($id)
    {
        foreach ($this->frames as $index => $frame) {
            if ($url = $frame->getUrlById($id)) {
                if (! $url->gettarget()) {
                    $url->setTarget($this->getPublicNameFromIndex($index));
                }

                return $url;
            }
        }

        return false;
    }
Accessor for a URL by the id attribute. If in a frameset then the first link found with that
ID attribute is returned only. Focus on a frame if you want one from a specific part of the
frameset.

@param string $id       Id attribute of link.

@return string          URL with that id.