- Timestamp:
- 2013/08/24 23:33:52 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/pages/mypage/LC_Page_Mypage_DownLoad.php
r23057 r23124 33 33 { 34 34 /** フォームパラメーターの配列 */ 35 var$objFormParam;35 public $objFormParam; 36 36 37 37 /** 基本Content-Type */ 38 var$defaultContentType = 'Application/octet-stream';38 public $defaultContentType = 'Application/octet-stream'; 39 39 40 40 /** 拡張Content-Type配列 41 41 * Application/octet-streamで対応出来ないファイルタイプのみ拡張子をキーに記述する 42 42 * 拡張子が本配列に存在しない場合は $defaultContentTypeを利用する */ 43 var$arrContentType = array('apk' => 'application/vnd.android.package-archive',43 public $arrContentType = array('apk' => 'application/vnd.android.package-archive', 44 44 'pdf' => 'application/pdf' 45 45 ); … … 50 50 * @return void 51 51 */ 52 function init()52 public function init() 53 53 { 54 54 $this->skip_load_page_layout = true; … … 62 62 * @return void 63 63 */ 64 function process()64 public function process() 65 65 { 66 66 ob_end_clean(); … … 75 75 * @return void 76 76 */ 77 function action()77 public function action() 78 78 { 79 79 // ログインチェック … … 102 102 * @return void 103 103 */ 104 function sendResponse()104 public function sendResponse() 105 105 { 106 106 // TODO sendResponseをオーバーライドしている為、afterフックポイントが実行されない.直接実行する.(#1790) … … 157 157 * 商品情報の読み込みを行う. 158 158 * 159 * @param integer $customer_id会員ID160 * @param integer $order_id受注ID161 * @param integer $product_id商品ID162 * @param integer $product_class_id 商品規格ID163 * @return array 商品情報の配列164 */ 165 function lfGetRealFileName($customer_id, $order_id, $product_id, $product_class_id)159 * @param integer $customer_id 会員ID 160 * @param integer $order_id 受注ID 161 * @param integer $product_id 商品ID 162 * @param integer $product_class_id 商品規格ID 163 * @return array 商品情報の配列 164 */ 165 public function lfGetRealFileName($customer_id, $order_id, $product_id, $product_class_id) 166 166 { 167 167 $objQuery =& SC_Query_Ex::getSingletonInstance(); … … 195 195 196 196 /* パラメーター情報の初期化 */ 197 function lfInitParam(&$objFormParam)197 public function lfInitParam(&$objFormParam) 198 198 { 199 199 $objFormParam->addParam('customer_id', 'customer_id', INT_LEN, 'n', array('EXIST_CHECK','NUM_CHECK')); … … 204 204 205 205 /* 入力内容のチェック */ 206 function lfCheckError(&$objFormParam)206 public function lfCheckError(&$objFormParam) 207 207 { 208 208 $objErr = new SC_CheckError_Ex($objFormParam->getHashArray()); … … 215 215 * モバイル端末用ヘッダー出力処理 216 216 * 217 * @param string $realpath ダウンロードファイルパス217 * @param string $realpath ダウンロードファイルパス 218 218 * @param string $sdown_filename ダウンロード時の指定ファイル名 219 219 */ 220 function lfMobileHeader($realpath,$sdown_filename)220 public function lfMobileHeader($realpath,$sdown_filename) 221 221 { 222 222 $objHelperMobile = new SC_Helper_Mobile_Ex(); … … 233 233 * モバイル端末(AU)ダウンロード処理 234 234 * 235 * @param string $realpath ダウンロードファイルパス235 * @param string $realpath ダウンロードファイルパス 236 236 * @param string $sdown_filename ダウンロード時の指定ファイル名 237 237 */ 238 function lfMobileAuDownload($realpath,$sdown_filename)238 public function lfMobileAuDownload($realpath,$sdown_filename) 239 239 { 240 240 //モバイル用ヘッダー出力 … … 265 265 * モバイル端末(AU以外)ダウンロード処理 266 266 * 267 * @param string $realpath ダウンロードファイルパス267 * @param string $realpath ダウンロードファイルパス 268 268 * @param string $sdown_filename ダウンロード時の指定ファイル名 269 269 */ 270 function lfMobileDownload($realpath,$sdown_filename)270 public function lfMobileDownload($realpath,$sdown_filename) 271 271 { 272 272 //モバイル用ヘッダー出力 … … 324 324 * モバイル端末以外ダウンロード処理 325 325 * 326 * @param string $realpath ダウンロードファイルパス326 * @param string $realpath ダウンロードファイルパス 327 327 * @param string $sdown_filename ダウンロード時の指定ファイル名 328 328 */ 329 function lfDownload($realpath,$sdown_filename)329 public function lfDownload($realpath,$sdown_filename) 330 330 { 331 331 // 拡張子を取得
Note: See TracChangeset
for help on using the changeset viewer.