public function getContents() { $output = "<h1>{$this->title}</h1>\n" . "<h2>{$this->subtitle}</h2>\n"; $output .= parent::getContents(); return $output; }