Ignore:
Timestamp:
2013/02/18 19:09:54 (11 years ago)
Author:
shutta
Message:

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.12.4)
Zend Framework PHP 標準コーディング規約のコーディングスタイルへ準拠。
classおよびfunctionの開始波括弧「{」のスタイルを修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/admin/basis/LC_Page_Admin_Basis_ZipInstall.php

    r22206 r22567  
    4444 * @version $Id:LC_Page_Admin_Basis_ZipInstall.php 16741 2007-11-08 00:43:24Z adachi $ 
    4545 */ 
    46 class LC_Page_Admin_Basis_ZipInstall extends LC_Page_Admin_Ex { 
     46class LC_Page_Admin_Basis_ZipInstall extends LC_Page_Admin_Ex  
     47{ 
    4748 
    4849    /** CSVの行数 */ 
     
    6667     * @return void 
    6768     */ 
    68     function init() { 
     69    function init() 
     70    { 
    6971        parent::init(); 
    7072        $this->tpl_mainpage = 'basis/zip_install.tpl'; 
     
    8486     * @return void 
    8587     */ 
    86     function process() { 
     88    function process() 
     89    { 
    8790        $this->action(); 
    8891        $this->sendResponse(); 
     
    9497     * @return void 
    9598     */ 
    96     function action() { 
     99    function action() 
     100    { 
    97101 
    98102        // パラメーター管理クラス 
     
    165169     * @return void 
    166170     */ 
    167     function destroy() { 
     171    function destroy() 
     172    { 
    168173        parent::destroy(); 
    169174    } 
    170175 
    171     function lfAutoCommitZip() { 
     176    function lfAutoCommitZip() 
     177    { 
    172178        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    173179 
     
    184190     * @return void 
    185191     */ 
    186     function lfDeleteZip() { 
     192    function lfDeleteZip() 
     193    { 
    187194        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    188195 
     
    199206     * @return void 
    200207     */ 
    201     function lfInitParam($tpl_mode, &$objFormParam) { 
     208    function lfInitParam($tpl_mode, &$objFormParam) 
     209    { 
    202210        if ($tpl_mode == 'manual') { 
    203211            $objFormParam->addParam('開始行', 'startRowNum', INT_LEN, 'n', array('EXIST_CHECK', 'MAX_LENGTH_CHECK', 'NUM_CHECK')); 
     
    210218     * @return void 
    211219     */ 
    212     function insertMtbZip($start = 1) { 
     220    function insertMtbZip($start = 1) 
     221    { 
    213222        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    214223 
     
    274283            <!-- 
    275284                // 完了画面 
    276                 function complete() { 
     285                function complete() 
     286                { 
    277287                    document.open('text/html','replace'); 
    278288                    document.clear(); 
     
    291301    } 
    292302 
    293     function openZipCsv() { 
     303    function openZipCsv() 
     304    { 
    294305        $this->convertZipCsv(); 
    295306        $fp = fopen(ZIP_CSV_UTF8_REALFILE, 'r'); 
     
    300311    } 
    301312 
    302     function convertZipCsv() { 
     313    function convertZipCsv() 
     314    { 
    303315        if (file_exists(ZIP_CSV_UTF8_REALFILE)) return; 
    304316 
     
    321333    } 
    322334 
    323     function countMtbZip() { 
     335    function countMtbZip() 
     336    { 
    324337        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    325338        return $objQuery->count('mtb_zip'); 
    326339    } 
    327340 
    328     function countZipCsv() { 
     341    function countZipCsv() 
     342    { 
    329343        $line = 0; 
    330344        $fp = $this->openZipCsv(); 
     
    351365     * @return void 
    352366     */ 
    353     function lfDownloadZipFileFromJp() { 
     367    function lfDownloadZipFileFromJp() 
     368    { 
    354369        // Proxy経由を可能とする。 
    355370        // TODO Proxyの設定は「data/module/HTTP/Request.php」内の「function HTTP_Request」へ記述する。いずれは、外部設定としたい。 
     
    380395     * @return void 
    381396     */ 
    382     function lfExtractZipFile() { 
     397    function lfExtractZipFile() 
     398    { 
    383399        $zip = zip_open($this->zip_csv_temp_realfile); 
    384400        if (!is_resource($zip)) { 
     
    433449     * @return string CSV の更新日時 (整形済みテキスト) 
    434450     */ 
    435     function lfGetCsvDatetime() { 
     451    function lfGetCsvDatetime() 
     452    { 
    436453        return date('Y/m/d H:i:s', filemtime(ZIP_CSV_REALFILE)); 
    437454    } 
Note: See TracChangeset for help on using the changeset viewer.