Changeset 738 for trunk/Modules/Search/Search.php
- Timestamp:
- Apr 14, 2015, 10:20:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Search/Search.php
r586 r738 10 10 $this->ParentClass = 'PagePortal'; 11 11 } 12 12 13 13 function Show() 14 14 { … … 29 29 $Columns .= ', `'.$Column.'`'; 30 30 $Condition .= ' OR (`'.$Column.'` LIKE "%'.$Text.'%")'; 31 } 31 } 32 32 $Columns = substr($Columns, 2); 33 33 $Condition = substr($Condition, 3); … … 51 51 var $Items; 52 52 var $MaxItemCount; 53 53 54 54 function __construct($System) 55 55 { … … 64 64 $this->Items = array(); 65 65 } 66 66 67 67 function DoStart() 68 68 { 69 69 $this->System->Pages['search'] = 'PageSearch'; 70 70 } 71 71 72 72 function DoInstall() 73 73 { … … 75 75 76 76 function DoUnInstall() 77 { 77 { 78 78 } 79 79 80 80 function RegisterSearch($Title, $TableName, $Columns) 81 81 {
Note:
See TracChangeset
for help on using the changeset viewer.