public function output_html($close_frameset = true) { echo sprintf("<frameset id=\"%s\" cols=\"%s\" framespacing=\"%s\" border=\"%s\"%s>\n", $this->id, $this->cols, $this->framespacing, $this->frameborder, $this->allowtransparency); $frames_array = parent::get_frames(); foreach ($frames_array as $frame) { $frame->output_html(); } if ($close_frameset) { echo "</frameset>\n"; } }
public function output_html($close_frameset = true) { printf("<frameset id=\"%s\" cols=\"%s\" framespacing=\"%s\" border=\"%s\"%s>\n", htmlentities_array($this->id), htmlentities_array($this->cols), $this->framespacing, $this->frameborder, $this->allowtransparency); /** @var html_frame[] $frames_array */ $frames_array = parent::get_frames(); foreach ($frames_array as $frame) { $frame->output_html(); } if ($close_frameset) { echo "</frameset>\n"; } }