UNA
|
Public Member Functions | |
__construct ($aChoice='') | |
response () | |
getEmptyResult () | |
setLiveSearch ($bLiveSearch) | |
setMetaType ($s) | |
setCategoryObject ($s) | |
setCustomSearchCondition ($a) | |
setCustomCurrentCondition ($a) | |
setUnitTemplate ($s) | |
setRawProcessing ($b) | |
setDataProcessing ($b) | |
Protected Member Functions | |
getKeyTitlesPairs () | |
Search class for different content.
Allows present content in main search area for all modules.
To add taking part content from your module to search area you need add a record to sys_objects_search
table:
For using this class you should have unit of BxDolSearchResult class (see description below) with method processing which is responsible for processing of search request.
Example of usage can be seen in the BoonEx modules, for example: Posts
Memberships/ACL: Doesn't depend on user's membership.
Alerts: no alerts available
BxDolSearch::__construct | ( | $aChoice = '' | ) |
Constructor
array | $aChoice | - array of choosen classes (will take a part only existing in sys_objects_search table) |
Reimplemented in BxElsSearch.
BxDolSearch::response | ( | ) |
create units for all classes and calling their processing methods
Reimplemented in BxElsSearch.
BxDolSearch::setCustomCurrentCondition | ( | $a | ) |
Set custom data for aCurrent array
$a | array of params |
BxDolSearch::setCustomSearchCondition | ( | $a | ) |
Set custom search condition to use istead of GET/POST variables
$a | array of params, such as 'keyword', 'state', 'city' |
BxDolSearch::setDataProcessing | ( | $b | ) |
Return search result as array of data
BxDolSearch::setRawProcessing | ( | $b | ) |
Display search results without design box and paginate
BxDolSearch::setUnitTemplate | ( | $s | ) |
Set custom unit template
$s | template name |