Skip to content

Instantly share code, notes, and snippets.

@fddcddhdd
Last active December 24, 2015 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fddcddhdd/6806136 to your computer and use it in GitHub Desktop.
Save fddcddhdd/6806136 to your computer and use it in GitHub Desktop.
TestPlugin.php(プラグインの処理ファイル。名前は自由)
<?php
class TestPlugin extends SC_Plugin_Base {
/**
* コンストラクタ
* プラグイン情報(dtb_plugin)をメンバ変数をセットします.
* @param array $arrSelfInfo dtb_pluginの情報配列
* @return void
*/
public function __construct(array $arrSelfInfo) {
parent::__construct($arrSelfInfo);
}
/**
* インストール時に実行される処理を記述します.
* @param array $arrPlugin dtb_pluginの情報配列
* @return void
*/
function install($arrPlugin) {
}
/**
* 削除時に実行される処理を記述します.
* @param array $arrPlugin dtb_pluginの情報配列
* @return void
*/
function uninstall($arrPlugin) {
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment