__construct(); } function __construct(){ if(!defined(PLUGIN_PATH)){ define("PLUGIN_PATH",HTML_PATH."/user_data/plugins/"); } $this->init(); } function init(){ } function enable($classname){ } function getVersion(){ } function getName(){ } function process(){ } function mobileprocess(){ } function install(){ } function uninstall(){ } function disablePlugin(){ $objQuery = new SC_Query(); $name = preg_replace("/.php/", "", __FILE__); $objQuery->update("dtb_plugin", array('enable'=>'0'), "plugin_name = ?", array($name)); } function enablePlugin(){ $objQuery = new SC_Query(); $name = preg_replace("/.php/", "", __FILE__); $objQuery->update("dtb_plugin", array('enable'=>'0'), "plugin_name = ?", array($name)); } /** * * @return String インストール用のSQL */ function getInstallSQL(){ } function getUninstallSQL(){ } }