__construct(); } function __construct() { if (!defined(PLUGIN_REALDIR)) { define('PLUGIN_REALDIR', USER_REALDIR . '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_Ex(); $name = preg_replace('/.php/', '', __FILE__); // XXX 正規表現エスケープ漏れでは? $objQuery->update('dtb_plugin', array('enable'=>'0'), "plugin_name = ?", array($name)); } function enablePlugin() { $objQuery = new SC_Query_Ex(); $name = preg_replace('/.php/', '', __FILE__); // XXX 正規表現エスケープ漏れでは? $objQuery->update('dtb_plugin', array('enable'=>'0'), "plugin_name = ?", array($name)); } /** * * @return String インストール用のSQL */ function getInstallSQL() { } function getUninstallSQL() { } }