public function parse($headers = true) { // set headers if ((bool) $headers) { header('Content-Disposition: inline; filename=' . CommonUri::getUrl($this->getTitle()) . '.ics'); } // call the parent parent::parse($headers); }