Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | class 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 | |
---|
25 | } |
---|
26 | |
---|
27 | function init(){ |
---|
28 | |
---|
29 | } |
---|
30 | |
---|
31 | function enable($classname){ |
---|
32 | |
---|
33 | } |
---|
34 | |
---|
35 | function getVersion(){ |
---|
36 | |
---|
37 | } |
---|
38 | |
---|
39 | function getName(){ |
---|
40 | |
---|
41 | } |
---|
42 | |
---|
43 | function process(){ |
---|
44 | |
---|
45 | } |
---|
46 | |
---|
47 | function mobileprocess(){ |
---|
48 | |
---|
49 | } |
---|
50 | |
---|
51 | public function install(){ |
---|
52 | |
---|
53 | } |
---|
54 | |
---|
55 | public function uninstall(){ |
---|
56 | |
---|
57 | } |
---|
58 | |
---|
59 | /** |
---|
60 | * |
---|
61 | * @return String インストール用のSQL |
---|
62 | */ |
---|
63 | protected function getInstallSQL(){ |
---|
64 | |
---|
65 | } |
---|
66 | |
---|
67 | |
---|
68 | protected function getUninstallSQL(){ |
---|
69 | |
---|
70 | } |
---|
71 | |
---|
72 | |
---|
73 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.