class PluginInstaller

Properties

protected $exec_func
protected $plugin_code
protected $arrPlugin
protected $arrInstallData

Methods

__construct($exec_func, $arrPlugin)

No description

execPlugin()

No description

copyFile($src, $dist)

No description

copyDirectory($src, $dist)

No description

removeFile($dist)

No description

removeDirectory($dist)

No description

sql($sql, array $params = array())

No description

log($msg)

No description

addColumn($table_name, $col_name, $col_type)

カラム追加クエリの追加

dropColumn($table_name, $col_name)

カラム削除クエリの追加

insert($table, $arrVal, $arrSql = array(), $arrSqlVal = array(), $from = '', $arrFromVal = array())

No description

update($table, $arrVal, $where = '', $arrWhereVal = array(), $arrRawSql = array(), $arrRawSqlVal = array())

No description

verifySql(string $sql, type $params)

No description

Details

at line 45
__construct($exec_func, $arrPlugin)

Parameters

$exec_func
$arrPlugin

at line 61
execPlugin()

at line 153
copyFile($src, $dist)

Parameters

$src
$dist

at line 161
copyDirectory($src, $dist)

Parameters

$src
$dist

at line 169
removeFile($dist)

Parameters

$dist

at line 176
removeDirectory($dist)

Parameters

$dist

at line 183
sql($sql, array $params = array())

Parameters

$sql
array $params

at line 191
protected log($msg)

Parameters

$msg

at line 201
addColumn($table_name, $col_name, $col_type)

カラム追加クエリの追加

Parameters

$table_name
$col_name
$col_type

at line 211
dropColumn($table_name, $col_name)

カラム削除クエリの追加

Parameters

$table_name
$col_name

at line 217
insert($table, $arrVal, $arrSql = array(), $arrSqlVal = array(), $from = '', $arrFromVal = array())

Parameters

$table
$arrVal
$arrSql
$arrSqlVal
$from
$arrFromVal

at line 229
update($table, $arrVal, $where = '', $arrWhereVal = array(), $arrRawSql = array(), $arrRawSqlVal = array())

Parameters

$table
$arrVal
$where
$arrWhereVal
$arrRawSql
$arrRawSqlVal

at line 246
protected verifySql(string $sql, type $params)

Parameters

string $sql
type $params