Changes between Version 17 and Version 18 of adeiSEARCH
- Timestamp:
- 09/14/09 04:17:44 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
adeiSEARCH
v17 v18 145 145 To implement a new filter it is necessary: 146 146 * 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) 148 148 * 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''. 149 149 * Place the implemented class in the ''classes/search/sitefilter.php'' (the lowercase filter name is used for the file name)