code: public function addFrame($page, $name = false)
      {
          $this->frames[] = $page;
          if ($name) {
              $this->names[$name] = count($this->frames) - 1;
          }
      }
docs: Adds a parsed page to the frameset.
  
  @param SimplePage $page    Frame page.
  @param string $name        Name of frame in frameset.