| Line | |
|---|
| 1 | <?php |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | class TestPlugin1 extends SC_Plugin_Ex { |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | function enable(String $classname){ |
|---|
| 9 | return preg_match('/shopping|payment|products/',$classname)? |
|---|
| 10 | !preg_match('/list/', $classname) |
|---|
| 11 | :false |
|---|
| 12 | ; |
|---|
| 13 | } |
|---|
| 14 | |
|---|
| 15 | function init(){ |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | } |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | function getVersion(){ |
|---|
| 22 | |
|---|
| 23 | } |
|---|
| 24 | |
|---|
| 25 | function getName(){ |
|---|
| 26 | |
|---|
| 27 | } |
|---|
| 28 | |
|---|
| 29 | function process(){ |
|---|
| 30 | |
|---|
| 31 | } |
|---|
| 32 | |
|---|
| 33 | function mobileprocess(){ |
|---|
| 34 | |
|---|
| 35 | } |
|---|
| 36 | |
|---|
| 37 | public function install(){ |
|---|
| 38 | |
|---|
| 39 | } |
|---|
| 40 | |
|---|
| 41 | public function uninstall(){ |
|---|
| 42 | |
|---|
| 43 | } |
|---|
| 44 | |
|---|
| 45 | /** |
|---|
| 46 | * |
|---|
| 47 | * @return String インストール用のSQL |
|---|
| 48 | */ |
|---|
| 49 | protected function getInstallSQL(){ |
|---|
| 50 | |
|---|
| 51 | } |
|---|
| 52 | |
|---|
| 53 | |
|---|
| 54 | protected function getUninstallSQL(){ |
|---|
| 55 | |
|---|
| 56 | } |
|---|
| 57 | |
|---|
| 58 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.