source: branches/camp/camp-2_5-E/data/class/SC_Plugin.php @ 19207

Revision 19207, 907 bytes checked in by miningbrownie, 16 years ago (diff)
Line 
1<?php
2
3class SC_Plugin
4{
5   
6    /**
7     *
8     * plugin_path
9     * @var String
10     */
11    var $path;
12
13    function SC_Plugin(){
14        $this->__construct();
15    }
16   
17    public function __construct(){
18        if(!defined(PLUGIN_PATH)){
19            define("PLUGIN_PATH",HTML_PATH."/user_data/plugins/");
20        }
21        $this->init();
22    }
23   
24    function init(){
25       
26    }
27   
28    function enable($classname){
29       
30    }
31   
32    function getVersion(){
33       
34    }
35   
36    function getName(){
37       
38    }
39   
40    function process(){
41       
42    }
43   
44    function mobileprocess(){
45       
46    }
47   
48    public function install(){
49     
50    }
51
52    public function uninstall(){
53
54    }
55
56    /**
57     *
58     * @return String インストール用のSQL
59     */
60    protected function getInstallSQL(){
61       
62    }
63
64   
65    protected function getUninstallSQL(){
66
67    }
68
69
70}
Note: See TracBrowser for help on using the repository browser.