page.php
public function getFrameset()
    {
        if (! $this->hasFrames()) {
            return false;
        }
        $urls = array();
        for ($i = 0; $i < count($this->frames); $i++) {
            $name       = $this->frames[$i]->getAttribute('name');
            $url        = new SimpleUrl($this->frames[$i]->getAttribute('src'));
            $key        = $name ? $name : $i + 1;
            $urls[$key] = $this->expandUrl($url);
        }

        return $urls;
    }
public function getFrameset()
    {
        if (! $this->hasFrames()) {
            return false;
        }
        $urls = array();
        for ($i = 0; $i < count($this->frames); $i++) {
            $name       = $this->frames[$i]->getAttribute('name');
            $url        = new SimpleUrl($this->frames[$i]->getAttribute('src'));
            $key        = $name ? $name : $i + 1;
            $urls[$key] = $this->expandUrl($url);
        }

        return $urls;
    }
Accessor for frame name and source URL for every frame that will need to be loaded.
Immediate children only.

@return boolean/array     False if no frameset or otherwise a hash of frame URLs.
The key is either a numerical base one index or the name attribute.