Changeset 19491 for branches/camp/camp-2_5-E/data/class/pages/LC_Page.php
- Timestamp:
- 2010/11/07 03:33:36 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camp/camp-2_5-E/data/class/pages/LC_Page.php
r19371 r19491 122 122 $this->objDisplay->hoge($this); 123 123 $this->objDisplay->response->response(); 124 } 125 126 /** 127 * Page のレスポンス送信(ダウンロード). 128 * 129 * @return void 130 */ 131 function sendResponseCSV($file_name, $data) { 132 $this->objDisplay->hoge($this); 133 $this->objDisplay->addHeader("Content-disposition", "attachment; filename=${file_name}"); 134 $this->objDisplay->addHeader("Content-type", "application/octet-stream; name=${file_name}"); 135 $this->objDisplay->addHeader("Cache-Control", ""); 136 $this->objDisplay->addHeader("Pragma", ""); 137 138 $this->objDisplay->response->body = $data; 139 $this->objDisplay->response->response(); 140 exit; 124 141 } 125 142
Note: See TracChangeset
for help on using the changeset viewer.
