UNA
|
Public Member Functions | |
__construct ($oFunctions=false) | |
getMain () | |
displayResultBlock () | |
displayResultBlockEmpty () | |
displaySearchBox ($sContent, $sPaginate='') | |
displaySearchUnit ($aData) | |
setUnitTemplate ($s) | |
getDesignBoxMenu () | |
getRssPageUrl () | |
showAdminActionsPanel ($sWrapperId, $aButtons, $sCheckboxName='entry', $bSelectAll=true, $bSelectAllChecked=false, $sCustomHtml='') | |
showAdminFilterPanel ($sFilterValue, $sInputId='filter_input_id', $sCheckboxId='filter_checkbox_id', $sFilterName='filter', $sOnApply='') | |
showPagination ($bAdmin=false, $bChangePage=true, $bPageReload=true) | |
clearFilters ($aPassParams=array(), $aPassJoins=array()) | |
fillFilters ($aParams) | |
fillFiltersByObjects ($aParams) | |
setDesignBoxTemplateId ($i) | |
setCenterContentUnitSelector ($s) | |
applyContainerId () | |
addContainerClass ($mixed) | |
removeContainerClass ($mixed) | |
applyContainerClass () | |
addContainerAttribute ($aAttributes) | |
removeContainerAttribute ($mixedName) | |
setUnitParams ($aParamsAdd=array(), $aParamsRemove=array()) | |
Public Member Functions inherited from BxDolSearchResult | |
__construct () | |
getId () | |
setId ($sId) | |
getModuleName () | |
getContentInfoName () | |
setAjaxPaginate ($b=true) | |
setPaginatePerPage ($iPerPage) | |
setSingleSearch ($bSingleSearch) | |
setLiveSearch ($bLiveSearch) | |
setMetaType ($s) | |
isMetaEnabled ($s) | |
setCategoryObject ($s) | |
setCustomSearchCondition ($a) | |
setCustomCurrentCondition ($a) | |
setCategoriesCondition ($sKeyword) | |
setDisplayEmptyMsg ($b, $sLangKey='') | |
setProcessPrivateContent ($b) | |
processingRaw () | |
processing () | |
processingAPI () | |
decodeDataAPI ($a) | |
addCustomParts () | |
rss () | |
outputRSS () | |
getRssUnitLink (&$a) | |
getRssUnitImage (&$a, $sField) | |
setFieldUnit ($sFieldName, $sTableName, $sOperator='', $bRenameMode=true) | |
getSearchData () | |
getSearchQuery ($sObject, $aParams=[]) | |
getJoins ($bRenameMode=true) | |
getSearchDataByParams ($aParams='') | |
setConditionParams () | |
getNum () | |
getTotal () | |
getRestriction () | |
getLimit ($isAddPlusOne=false) | |
setSorting () | |
getSorting ($sSortType='last') | |
getAlterOrder () | |
setPaginate () | |
unsetPaginate () | |
getSearchFieldsCond ($aFields, $sKeyword, $sPseud='') | |
getMultiValues ($aValues) | |
_getPseud () | |
addMarkers ($a) | |
Public Attributes | |
$isError | |
Public Attributes inherited from BxDolSearchResult | |
$aCurrent | |
Protected Member Functions | |
addPageRssLink () | |
getCurrentUrl ($aAdditionalParams=array(), $bReplacePagesParams=true) | |
getCurrentOnclick ($aAdditionalParams=array(), $bReplacePagesParams=true) | |
addAdditionalUrlParams ($sUrl, $aAdditionalParams, $bReplacePagesParams, $bAddPaginateParams=true) | |
Protected Member Functions inherited from BxDolSearchResult | |
_replaceMarkers ($mixed) | |
Protected Attributes | |
$oFunctions | |
$sBrowseUrl | |
$sUnitTemplate = 'unit.html' | |
$sUnitTemplateLiveSearch = 'unit_live_search.html' | |
$aGetParams = array() | |
$iDesignBoxTemplate = 11 | |
$aConstants | |
$sCenterContentUnitSelector = false | |
$aContainerAttrs = array() | |
$aContainerClasses = array('bx-search-result-block', 'bx-clearfix') | |
$aUnitParams = array() | |
Protected Attributes inherited from BxDolSearchResult | |
$aPseud | |
$id | |
$bDisplayEmptyMsg = false | |
$sDisplayEmptyMsgKey = '' | |
$bProcessPrivateContent = true | |
$aPrivateConditionsIndexes = array('restriction' => array(), 'join' => array()) | |
$bForceAjaxPaginate = false | |
$iPaginatePerPage = BX_DOL_SEARCH_RESULTS_PER_PAGE_DEFAULT | |
$_bIsApi | |
$_bSingleSearch = true | |
$_bLiveSearch = false | |
$_sMetaType = '' | |
$_sMode = '' | |
$_aParams = [] | |
$_sCategoryObject = '' | |
$_aCustomSearchCondition = array() | |
$_bValidate = false | |
$_aMarkers = array () | |
BxBaseSearchResult::addContainerAttribute | ( | $aAttributes | ) |
Add attribute(s) to search result container
$aAttributes | an array of Key -> Value pair(s). |
BxBaseSearchResult::addContainerClass | ( | $mixed | ) |
Add class to search result container
$mixed | CSS class name string or array of classes |
BxBaseSearchResult::applyContainerClass | ( | ) |
Apply class(es) for search result container
Reimplemented in BxTemplSearchResult.
BxBaseSearchResult::applyContainerId | ( | ) |
Add ID to search result container
$string | HTML ID |
Reimplemented in BxBaseModGeneralSearchResult.
BxBaseSearchResult::displayResultBlock | ( | ) |
Get html output of search result
simple_search
show_data
object
- [array] by ref, object info for current search, can be overridden in hook processingmode
- [string], search modesearch_results
- [string] by ref, html for block, can be overridden in hook processing
Reimplemented from BxDolSearchResult.
Reimplemented in BxAdsSearchResult, BxAlbumsSearchResult, BxBaseModGeneralCmtsSearchResult, BxBaseModGeneralSearchResult, BxBaseModProfileSearchResult, BxForumSearchResult, BxGlsrSearchResult, BxMarketSearchResult, BxShopifySearchResult, and BxTimelineSearchResult.
BxBaseSearchResult::displayResultBlockEmpty | ( | ) |
BxBaseSearchResult::displaySearchBox | ( | $sCode, | |
$sPaginate = '' ) |
Get html code of search box with search results
string | $sCode | html code of search results $param $sPaginate html code of paginate return html code |
Reimplemented from BxDolSearchResult.
Reimplemented in BxBaseModGeneralSearchResult, and BxBaseModGroupsSearchResult.
BxBaseSearchResult::displaySearchUnit | ( | $aData | ) |
Get html code of of every search unit
array | $aData | array of every search unit return html code |
Reimplemented from BxDolSearchResult.
Reimplemented in BxBaseModGeneralCmtsSearchResult, BxBasePagesSearchResult, BxBaseProfileSearchResult, and BxPollsSearchResult.
|
protected |
Get current browse URL with current page and additional params
$aAdditionalParams | set custom additional params as key value pair |
$bReplacePagesParams | replace paginate params with current values or leave markers for use in paginate class |
Reimplemented in BxBaseModTextSearchResult.
|
protected |
Get current browse URL with current page and additional params
$aAdditionalParams | set custom additional params as key value pair |
$bReplacePagesParams | replace paginate params with current values or leave markers for use in paginate class |
BxBaseSearchResult::removeContainerAttribute | ( | $mixedName | ) |
Remove attribute(s) from search result container
$mixedName | attribute name or an array of names |
BxBaseSearchResult::removeContainerClass | ( | $mixed | ) |
Remove class from search result container
$mixed | CSS class name string or array of classes |
BxBaseSearchResult::setCenterContentUnitSelector | ( | $s | ) |
Set unit class selector for content centering
BxBaseSearchResult::setDesignBoxTemplateId | ( | $i | ) |
Set design box template id to use to wrap search results in
BxBaseSearchResult::showPagination | ( | $bAdmin = false, | |
$bChangePage = true, | |||
$bPageReload = true ) |
Get html code of pagination
Reimplemented from BxDolSearchResult.
Reimplemented in BxBaseModGeneralSearchResult, and BxFilesSearchResult.