public function html() { ob_start(); $this->display(); $content = ob_get_contents(); ob_end_clean(); return $content; }