getExportEncoding example

$this->export->sHash = $this->Request()->hash;

        $this->export->sInitSettings();
    }

    /** * set feed specific options to the export and sets * the right header */
    private function sendHeaders()
    {
        $encoding = $this->getExportEncoding();
        $contentType = $this->getExportContentType();

        $this->Response()->headers->set('content-type', $contentType . ';charset=' . $encoding);
        $this->Response()->sendHeaders();
    }

    /** * @return string */
    private function getExportEncoding()
    {
        
Home | Imprint | This part of the site doesn't use cookies.