protected function applyHeaders()
    {
        if ($this->getConfig('Content-type') != "text/html") {
            header('Content-type: ' . $this->getConfig('Content-type'));
        }

        if (!is_null($this->getConfig('Content-disposition'))) {
            header('Content-disposition: ' . $this->getConfig('Content-disposition'));
        }
    }
protected function applyHeaders()
    {
        if ($this->getConfig('Content-type') != "text/html") {
            header('Content-type: ' . $this->getConfig('Content-type'));
        }

        if (!is_null($this->getConfig('Content-disposition'))) {
            header('Content-disposition: ' . $this->getConfig('Content-disposition'));
        }
    }
protected function applyHeaders ( ) { if ( $ this -> getConfig ( 'Content-type' ) != "text/html" ) { header ( 'Content-type: ' . $ this -> getConfig ( 'Content-type' ) ) ; } if ( ! is_null ( $ this -> getConfig ( 'Content-disposition' ) ) ) { header ( 'Content-disposition: ' . $ this -> getConfig ( 'Content-disposition' ) ) ; } }
Applies PHP header values sent as options. For the time being, only Content-type
and Content-disposition are supported.
@return null
Applies PHP header values sent as options . For the time being only Content - type and Content - disposition are supported .