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/batch/SC_Batch_Update.php

    r22856 r23124  
    3636     * 変換したいファイルの拡張子をカンマ区切りで羅列. 
    3737     */ 
    38     var $includes = 'php,inc,tpl,css,sql,js,png,jpg,gif,swf,txt,doc,pdf'; 
     38    public $includes = 'php,inc,tpl,css,sql,js,png,jpg,gif,swf,txt,doc,pdf'; 
    3939 
    4040    /** 
    4141     * 除外するファイル名をカンマ区切りで羅列. 
    4242     */ 
    43     var $excludes = 'distinfo.php'; 
     43    public $excludes = 'distinfo.php'; 
    4444 
    4545    /** 
    4646     * バッチ処理を実行する. 
    4747     * 
    48      * @param string $target アップデータファイルのディレクトリパス 
     48     * @param  string $target アップデータファイルのディレクトリパス 
    4949     * @return void 
    5050     */ 
    51     function execute($target = '.') 
     51    public function execute($target = '.') 
    5252    { 
    5353        $msg = ''; 
     
    6868            $arrLog['err'][] = $msg; 
    6969            $this->printLog($msg); 
     70 
    7071            return $arrLog; 
    7172        } 
     
    196197     * @see http://www.php.net/glob 
    197198     */ 
    198     function listdirs($dir) 
     199    public function listdirs($dir) 
    199200    { 
    200201        static $alldirs = array(); 
     
    215216     * @param string $path 絶対パス 
    216217     */ 
    217     function lfMkdirRecursive($path) 
     218    public function lfMkdirRecursive($path) 
    218219    { 
    219220        $path = dirname($path); 
     
    239240    } 
    240241 
    241     function makeDistInfo($bkupDistInfoArray) 
     242    public function makeDistInfo($bkupDistInfoArray) 
    242243    { 
    243244        $src = "<?php\n" 
     
    252253    } 
    253254 
    254     function printLog($msg) 
     255    public function printLog($msg) 
    255256    { 
    256257        GC_Utils_Ex::gfPrintLog($msg, DATA_REALDIR . 'logs/ownersstore_batch_update.log'); 
Note: See TracChangeset for help on using the changeset viewer.