17 public $mSendHeaderFlag=
false;
19 public function __construct()
21 parent::__construct();
22 $this->setAttribute(
'legacy_buffertype', LEGACY_RENDER_TARGET_TYPE_THEME);
25 public function sendHeader()
27 header(
'Content-Type:text/html; charset='._CHARSET);
28 header(
'Expires: Mon, 26 Jul 1997 05:00:00 GMT');
29 header(
'Last-Modified: '.gmdate(
'D, d M Y H:i:s').
' GMT');
30 header(
'Cache-Control: no-store, no-cache, must-revalidate');
31 header(
'Cache-Control: post-check=0, pre-check=0',
false);
32 header(
'Pragma: no-cache');
35 public function setResult(&$result)
37 parent::setResult($result);
38 if (!$this->mSendHeaderFlag) {
40 $this->mSendHeaderFlag=
true;