Ignore:
Timestamp:
2010/11/07 01:20:08 (12 years ago)
Author:
miningbrownie
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_5-E/data/plugin/testPlugin1/TestPlugin1.php

    r19323 r19324  
    33 
    44class TestPlugin1 extends SC_Plugin_Ex { 
    5    
     5 
     6 
    67     
    78    function enable(String $classname){ 
    8          
    99        return preg_match('/shopping|payment|products/',$classname)? 
    10           preg_match('//', $subject) 
    11         : 
     10        !preg_match('/list/', $classname) 
     11        :false 
    1212        ; 
    1313    } 
Note: See TracChangeset for help on using the changeset viewer.