source:
branches/camp/camp-2_5-E/data/plugin/testPlugin1/TestPlugin1.php
@
19322
Revision 19322, 245 bytes checked in by miningbrownie, 12 years ago (diff) |
---|
Line | |
---|---|
1 | <?php |
2 | |
3 | |
4 | class TestPlugin1 extends SC_Plugin_Ex { |
5 | |
6 | |
7 | function enable(String $classname){ |
8 | |
9 | return preg_match('/shopping|payment|products/',$classname)? |
10 | preg_match($pattern, $subject) |
11 | : |
12 | ; |
13 | } |
14 | |
15 | |
16 | } |
Note: See TracBrowser
for help on using the repository browser.