modules/Home/UnifiedSearchAdvanced.php
Functions
\UnifiedSearchAdvanced
Properties
Methods
getDropDownDiv(
$tpl
=
'modules/Home/UnifiedSearchAdvanced.tpl'
)
:
void
Name | Type | Description |
---|---|---|
$tpl |
getUnifiedSearchModules(
)
:
\$unified_search_modules
getUnifiedSearchModules
Returns the value of the $unified_search_modules variable based on the module's vardefs.php file and which fields are marked with the unified_search attribute.
Type | Description |
---|---|
\$unified_search_modules | Array of metadata module definitions along with their fields |
getUnifiedSearchModulesDisplay(
)
:
\$unified_search_modules_display
getUnifiedSearchModulesDisplay
Returns the value of the $unified_search_modules_display variable which is based on the $unified_search_modules entries that have been selected to be allowed for searching.
Type | Description |
---|---|
\$unified_search_modules_display | Array value of modules that have enabled for searching |
retrieveEnabledAndDisabledModules(
)
:
array
Retrieve the enabled and disabled modules used for global search.
Type | Description |
---|---|
array |
saveGlobalSearchSettings(
)
:
void
saveGlobalSearchSettings This method handles the administrator's request to save the searchable modules selected and stores the results in the unified_search_modules_display.php file
search(
)
:
void
search
Search function run when user goes to Show All and runs a search again. This outputs the search results calling upon the various listview display functions for each module searched on.
Todo: Sync this up with SugarSpot.php search method.