Batch
[ class tree: Batch ] [ index: Batch ] [ all elements ]

Class: SC_Batch_Update

Source Location: /batch/SC_Batch_Update.php

Class Overview

SC_Batch
   |
   --SC_Batch_Update

アップデート機能 のバッチクラス.


Author(s):

  • LOCKON CO.,LTD.

Version:

  • $Id: SC_Batch_Update.php 21120 2011-08-03 13:37:38Z kajiwara $

Variables

Methods


Inherited Methods

Class: SC_Batch

SC_Batch::execute()
バッチ処理を実行する

Class Details

[line 36]
アップデート機能 のバッチクラス.

XXX Singleton にするべき...




Tags:

author:  LOCKON CO.,LTD.
version:  $Id: SC_Batch_Update.php 21120 2011-08-03 13:37:38Z kajiwara $


[ Top ]


Class Variables

$excludes =  "distinfo.php"

[line 46]

除外するファイル名をカンマ区切りで羅列.


Type:   mixed


[ Top ]

$includes =  "php,inc,tpl,css,sql,js,png,jpg,gif,swf,txt,doc,pdf"

[line 41]

変換したいファイルの拡張子をカンマ区切りで羅列.


Type:   mixed


[ Top ]



Class Methods


method execute [line 54]

void execute( [string $target = "."])

バッチ処理を実行する.



Overrides SC_Batch::execute() (バッチ処理を実行する)

Parameters:

string   $target   アップデータファイルのディレクトリパス

[ Top ]

method lfMkdirRecursive [line 218]

void lfMkdirRecursive( string $path)

mkdir -p



Parameters:

string   $path   絶対パス

[ Top ]

method listdirs [line 201]

array listdirs( string $dir)

$dir を再帰的に辿ってパス名を配列で返す.



Tags:

return:  より下層に存在するパス名の配列
see:  http://www.php.net/glob


Parameters:

string   $dir   任意のパス名

[ Top ]

method makeDistInfo [line 241]

void makeDistInfo( $bkupDistInfoArray)



Parameters:

   $bkupDistInfoArray  

[ Top ]

method printLog [line 253]

void printLog( $msg)



Parameters:

   $msg  

[ Top ]


Documentation generated on Fri, 24 Feb 2012 14:02:24 +0900 by Seasoft