Ignore:
Timestamp:
2013/05/02 18:11:36 (11 years ago)
Author:
h_yoshimoto
Message:

#2236 2.12.3リリース以降の2.12-devへのコミット差し戻し

File:
1 edited

Legend:

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

    r22567 r22796  
    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  
    47 { 
     46class LC_Page_Admin_Basis_ZipInstall extends LC_Page_Admin_Ex { 
    4847 
    4948    /** CSVの行数 */ 
     
    6766     * @return void 
    6867     */ 
    69     function init() 
    70     { 
     68    function init() { 
    7169        parent::init(); 
    7270        $this->tpl_mainpage = 'basis/zip_install.tpl'; 
     
    8684     * @return void 
    8785     */ 
    88     function process() 
    89     { 
     86    function process() { 
    9087        $this->action(); 
    9188        $this->sendResponse(); 
     
    9794     * @return void 
    9895     */ 
    99     function action() 
    100     { 
     96    function action() { 
    10197 
    10298        // パラメーター管理クラス 
     
    169165     * @return void 
    170166     */ 
    171     function destroy() 
    172     { 
     167    function destroy() { 
    173168        parent::destroy(); 
    174169    } 
    175170 
    176     function lfAutoCommitZip() 
    177     { 
     171    function lfAutoCommitZip() { 
    178172        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    179173 
     
    190184     * @return void 
    191185     */ 
    192     function lfDeleteZip() 
    193     { 
     186    function lfDeleteZip() { 
    194187        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    195188 
     
    206199     * @return void 
    207200     */ 
    208     function lfInitParam($tpl_mode, &$objFormParam) 
    209     { 
     201    function lfInitParam($tpl_mode, &$objFormParam) { 
    210202        if ($tpl_mode == 'manual') { 
    211203            $objFormParam->addParam('開始行', 'startRowNum', INT_LEN, 'n', array('EXIST_CHECK', 'MAX_LENGTH_CHECK', 'NUM_CHECK')); 
     
    218210     * @return void 
    219211     */ 
    220     function insertMtbZip($start = 1) 
    221     { 
     212    function insertMtbZip($start = 1) { 
    222213        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    223214 
     
    283274            <!-- 
    284275                // 完了画面 
    285                 function complete() 
    286                 { 
     276                function complete() { 
    287277                    document.open('text/html','replace'); 
    288278                    document.clear(); 
     
    301291    } 
    302292 
    303     function openZipCsv() 
    304     { 
     293    function openZipCsv() { 
    305294        $this->convertZipCsv(); 
    306295        $fp = fopen(ZIP_CSV_UTF8_REALFILE, 'r'); 
     
    311300    } 
    312301 
    313     function convertZipCsv() 
    314     { 
     302    function convertZipCsv() { 
    315303        if (file_exists(ZIP_CSV_UTF8_REALFILE)) return; 
    316304 
     
    333321    } 
    334322 
    335     function countMtbZip() 
    336     { 
     323    function countMtbZip() { 
    337324        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    338325        return $objQuery->count('mtb_zip'); 
    339326    } 
    340327 
    341     function countZipCsv() 
    342     { 
     328    function countZipCsv() { 
    343329        $line = 0; 
    344330        $fp = $this->openZipCsv(); 
     
    365351     * @return void 
    366352     */ 
    367     function lfDownloadZipFileFromJp() 
    368     { 
     353    function lfDownloadZipFileFromJp() { 
    369354        // Proxy経由を可能とする。 
    370355        // TODO Proxyの設定は「data/module/HTTP/Request.php」内の「function HTTP_Request」へ記述する。いずれは、外部設定としたい。 
     
    395380     * @return void 
    396381     */ 
    397     function lfExtractZipFile() 
    398     { 
     382    function lfExtractZipFile() { 
    399383        $zip = zip_open($this->zip_csv_temp_realfile); 
    400384        if (!is_resource($zip)) { 
     
    449433     * @return string CSV の更新日時 (整形済みテキスト) 
    450434     */ 
    451     function lfGetCsvDatetime() 
    452     { 
     435    function lfGetCsvDatetime() { 
    453436        return date('Y/m/d H:i:s', filemtime(ZIP_CSV_REALFILE)); 
    454437    } 
Note: See TracChangeset for help on using the changeset viewer.