Ignore:
Timestamp:
2013/08/24 23:33:52 (11 years ago)
Author:
kimoto
Message:

#2043 typo修正・ソース整形・ソースコメントの改善 for 2.13.0
PHP4的な書き方の修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/pages/mypage/LC_Page_Mypage_DownLoad.php

    r23057 r23124  
    3333{ 
    3434    /** フォームパラメーターの配列 */ 
    35     var $objFormParam; 
     35    public $objFormParam; 
    3636 
    3737    /** 基本Content-Type */ 
    38     var $defaultContentType = 'Application/octet-stream'; 
     38    public $defaultContentType = 'Application/octet-stream'; 
    3939 
    4040    /** 拡張Content-Type配列 
    4141     * Application/octet-streamで対応出来ないファイルタイプのみ拡張子をキーに記述する 
    4242     * 拡張子が本配列に存在しない場合は $defaultContentTypeを利用する */ 
    43     var $arrContentType = array('apk' => 'application/vnd.android.package-archive', 
     43    public $arrContentType = array('apk' => 'application/vnd.android.package-archive', 
    4444                                'pdf' => 'application/pdf' 
    4545        ); 
     
    5050     * @return void 
    5151     */ 
    52     function init() 
     52    public function init() 
    5353    { 
    5454        $this->skip_load_page_layout = true; 
     
    6262     * @return void 
    6363     */ 
    64     function process() 
     64    public function process() 
    6565    { 
    6666        ob_end_clean(); 
     
    7575     * @return void 
    7676     */ 
    77     function action() 
     77    public function action() 
    7878    { 
    7979        // ログインチェック 
     
    102102     * @return void 
    103103     */ 
    104     function sendResponse() 
     104    public function sendResponse() 
    105105    { 
    106106        // TODO sendResponseをオーバーライドしている為、afterフックポイントが実行されない.直接実行する.(#1790) 
     
    157157     * 商品情報の読み込みを行う. 
    158158     * 
    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     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) 
    166166    { 
    167167        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
     
    195195 
    196196    /* パラメーター情報の初期化 */ 
    197     function lfInitParam(&$objFormParam) 
     197    public function lfInitParam(&$objFormParam) 
    198198    { 
    199199        $objFormParam->addParam('customer_id', 'customer_id', INT_LEN, 'n', array('EXIST_CHECK','NUM_CHECK')); 
     
    204204 
    205205    /* 入力内容のチェック */ 
    206     function lfCheckError(&$objFormParam) 
     206    public function lfCheckError(&$objFormParam) 
    207207    { 
    208208        $objErr = new SC_CheckError_Ex($objFormParam->getHashArray()); 
     
    215215     * モバイル端末用ヘッダー出力処理 
    216216     * 
    217      * @param string $realpath ダウンロードファイルパス 
     217     * @param string $realpath       ダウンロードファイルパス 
    218218     * @param string $sdown_filename ダウンロード時の指定ファイル名 
    219219     */ 
    220     function lfMobileHeader($realpath,$sdown_filename) 
     220    public function lfMobileHeader($realpath,$sdown_filename) 
    221221    { 
    222222        $objHelperMobile = new SC_Helper_Mobile_Ex(); 
     
    233233     * モバイル端末(AU)ダウンロード処理 
    234234     * 
    235      * @param string $realpath ダウンロードファイルパス 
     235     * @param string $realpath       ダウンロードファイルパス 
    236236     * @param string $sdown_filename ダウンロード時の指定ファイル名 
    237237     */ 
    238     function lfMobileAuDownload($realpath,$sdown_filename) 
     238    public function lfMobileAuDownload($realpath,$sdown_filename) 
    239239    { 
    240240        //モバイル用ヘッダー出力 
     
    265265     * モバイル端末(AU以外)ダウンロード処理 
    266266     * 
    267      * @param string $realpath ダウンロードファイルパス 
     267     * @param string $realpath       ダウンロードファイルパス 
    268268     * @param string $sdown_filename ダウンロード時の指定ファイル名 
    269269     */ 
    270     function lfMobileDownload($realpath,$sdown_filename) 
     270    public function lfMobileDownload($realpath,$sdown_filename) 
    271271    { 
    272272        //モバイル用ヘッダー出力 
     
    324324     * モバイル端末以外ダウンロード処理 
    325325     * 
    326      * @param string $realpath ダウンロードファイルパス 
     326     * @param string $realpath       ダウンロードファイルパス 
    327327     * @param string $sdown_filename ダウンロード時の指定ファイル名 
    328328     */ 
    329     function lfDownload($realpath,$sdown_filename) 
     329    public function lfDownload($realpath,$sdown_filename) 
    330330    { 
    331331        // 拡張子を取得 
Note: See TracChangeset for help on using the changeset viewer.