Changes between Version 17 and Version 18 of adeiSEARCH

Show
Ignore:
Author:
csa (IP: 141.52.232.84)
Timestamp:
09/14/09 04:17:44 (15 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • adeiSEARCH

    v17 v18  
    145145To implement a new filter it is necessary: 
    146146 * Choose a not used name, for example: ''site'' 
    147  * Implement ''!SITESearchFilter'' class extending  ''!BASESearchFilter'' (site is capitalized for class name) 
     147 * Implement ''SITESearchFilter'' class extending  ''BASESearchFilter'' (site is capitalized for class name) 
    148148 * Implement ''!FilterResult(&$info, &$rating)'' function which returns ''true'' if the value should be filtered out or ''false'' otherwise. The filter value is accessible using ''$this->value''. 
    149149 * Place the implemented class in the ''classes/search/sitefilter.php'' (the lowercase filter name is used for the file name)