protected function _setDisposition()
    {
        // @TODO :Content-Disposition: inline; filename="foo"; modification-date="'.$date.'"; size=123;
        if (isset($this->disposition) && $this->disposition == 'inline') {
            header('Content-Disposition: inline; filename="'.$this->filename.'"');
        } else {
            header('Content-Description: File Transfer');
            header('Content-type: application/octet-stream');
            header('Content-Disposition: attachment; filename="'.$this->filename.'"');
        }

        return $this;
    }
protected function _setDisposition()
    {
        // @TODO :Content-Disposition: inline; filename="foo"; modification-date="'.$date.'"; size=123;
        if (isset($this->disposition) && $this->disposition == 'inline') {
            header('Content-Disposition: inline; filename="'.$this->filename.'"');
        } else {
            header('Content-Description: File Transfer');
            header('Content-type: application/octet-stream');
            header('Content-Disposition: attachment; filename="'.$this->filename.'"');
        }

        return $this;
    }
protected function _setDisposition ( ) { // @TODO :Content-Disposition: inline; filename="foo"; modification-date="'.$date.'"; size=123; if ( isset ( $ this -> disposition ) && $ this -> disposition == 'inline' ) { header ( 'Content-Disposition: inline; filename="' . $ this -> filename . '"' ) ; } else { header ( 'Content-Description: File Transfer' ) ; header ( 'Content-type: application/octet-stream' ) ; header ( 'Content-Disposition: attachment; filename="' . $ this -> filename . '"' ) ; } return $ this ; }
Set the header disposition headers.

@return LibBaseViewFile
Set the header disposition headers .