Changes between Version 7 and Version 9 of Ticket #2181
- Timestamp:
- 2013/07/20 17:16:41 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2181
- Property Milestone changed from EC-CUBE2.13.0 to EC-CUBE2.13 開発合宿
-
Ticket #2181 – Description
v7 v9 36 36 * インストール処理のフロー 37 37 SC_Plugin_Installer::execPlugin() 38 - SQLの 検証39 - -SQLエラーがある場合はreturn;38 - SQLの構文チェック 39 - SQLエラーがある場合はreturn; 40 40 - SQLの実行 41 41 - INSERT実行 … … 52 52 SQLを実行 53 53 54 - sqlInsert($table, $entity);54 - insert($table, $entity); 55 55 INSERT 56 56 57 - sqlUpdate($table, $entity, $where, $params)57 - update($table, $entity, $where, $params) 58 58 UPDATE 59 59 60 - sqlAterTableAddColumn($table_name, $col_name, $col_type)60 - addColumn($table_name, $col_name, $col_type) 61 61 カラム追加 62 62 63 - sqlAterTableDropColumn($table_name, $col_name)63 - dropColumn($table_name, $col_name) 64 64 カラム削除 65 65 … … 73 73 install($arrPlugin, $objPluginInstaller) { 74 74 // カラム追加 75 $objPluginInstaller-> sqlAterTableAddColumn("dtb_products" ,"plg_plugin_code_hoge", "text");75 $objPluginInstaller->addColumn("dtb_products" ,"plg_plugin_code_hoge", "text"); 76 76 77 77 // テーブル追加 … … 91 91 $sqlval = array(); 92 92 $sqlval['dummy'] = "test"; 93 $objPluginInstaller-> sqlInsert('plg_plugin_code_hogehugatable ', $sqlval);93 $objPluginInstaller->insert('plg_plugin_code_hogehugatable ', $sqlval); 94 94 95 95 } … … 97 97 uninstall($arrPlugin, $objPluginInstaller) { 98 98 // カラム削除 99 $objPluginInstaller-> sqlAterTableDropColumn("dtb_products", "plg_plugin_code");99 $objPluginInstaller->dropColumn("dtb_products", "plg_plugin_code"); 100 100 101 101 // テーブル削除