Changeset 21479 for branches/version-2_12-dev/data/class/SC_Plugin.php
- Timestamp:
- 2012/02/11 04:20:07 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_Plugin.php
r20764 r21479 10 10 var $path; 11 11 12 function SC_Plugin() {12 function SC_Plugin() { 13 13 $this->__construct(); 14 14 } 15 15 16 function __construct() {16 function __construct() { 17 17 if (!defined(PLUGIN_REALDIR)) { 18 18 define('PLUGIN_REALDIR', USER_REALDIR . 'plugins/'); … … 21 21 } 22 22 23 function init() {23 function init() { 24 24 } 25 25 26 function enable($classname) {26 function enable($classname) { 27 27 } 28 28 29 function getVersion() {29 function getVersion() { 30 30 } 31 31 32 function getName() {32 function getName() { 33 33 } 34 34 35 function process() {35 function process() { 36 36 } 37 37 38 function mobileprocess() {38 function mobileprocess() { 39 39 } 40 40 41 function install() {41 function install() { 42 42 } 43 43 44 function uninstall() {44 function uninstall() { 45 45 } 46 46 47 function disablePlugin() {47 function disablePlugin() { 48 48 $objQuery = new SC_Query_Ex(); 49 49 $name = preg_replace("/.php/", "", __FILE__); // XXX 正規表現エスケープ漏れでは? … … 51 51 } 52 52 53 function enablePlugin() {53 function enablePlugin() { 54 54 $objQuery = new SC_Query_Ex(); 55 55 $name = preg_replace("/.php/", "", __FILE__); // XXX 正規表現エスケープ漏れでは? … … 61 61 * @return String インストール用のSQL 62 62 */ 63 function getInstallSQL() {63 function getInstallSQL() { 64 64 } 65 65 66 function getUninstallSQL() {66 function getUninstallSQL() { 67 67 } 68 68 }
Note: See TracChangeset
for help on using the changeset viewer.
