source: branches/camp/camp-2_5-E/data/plugin/testPlugin1/TestPlugin1.php @ 19324

Revision 19324, 241 bytes checked in by miningbrownie, 16 years ago (diff)
Line 
1<?php
2
3
4class 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
16}
Note: See TracBrowser for help on using the repository browser.