public function addFrame($page, $name = false)
    {
        $this->frames[] = $page;
        if ($name) {
            $this->names[$name] = count($this->frames) - 1;
        }
    }
public function addFrame($page, $name = false)
    {
        $this->frames[] = $page;
        if ($name) {
            $this->names[$name] = count($this->frames) - 1;
        }
    }
public function addFrame ( $ page , $ name = false ) { $ this -> frames [ ] = $ page ; if ( $ name ) { $ this -> names [ $ name ] = count ( $ this -> frames ) - 1 ; } }
Adds a parsed page to the frameset.

@param SimplePage $page    Frame page.
@param string $name        Name of frame in frameset.
Adds a parsed page to the frameset .