Frontend\Core\Engine\FrontendIcal::parse PHP Метод

parse() публичный Метод

Parse the iCal and output into the browser.
public parse ( boolean $headers = true )
$headers boolean Should the headers be set? (Use false if you're debugging).
    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);
    }