UNA
Loading...
Searching...
No Matches
BxBaseModTextSearchResult Class Reference
Inheritance diagram for BxBaseModTextSearchResult:
BxBaseModGeneralSearchResult BxTemplSearchResult BxBaseSearchResult BxBaseSearchResult BxDolSearchResult BxDolSearchResult iBxDolReplaceable iBxDolReplaceable BxAdsSearchResult BxAlbumsSearchResult BxAlbumsSearchResultMedia BxClssSearchResult BxFilesSearchResult BxForumSearchResult BxGlsrSearchResult BxMarketSearchResult BxPhotosSearchResult BxPollsSearchResult BxPostsSearchResult BxResourcesSearchResult BxReviewsSearchResult BxShopifySearchResult BxSnipcartSearchResult BxStoriesSearchResult BxStoriesSearchResultMedia BxStrmSearchResult BxTasksSearchResult BxVideosSearchResult

Public Member Functions

 __construct ($sMode='', $aParams=array())
 getAlterOrder ()
 getRssUnitImage (&$a, $sField)
 _getPseud ()
Public Member Functions inherited from BxBaseModGeneralSearchResult
 getMain ()
 getContentInfoObject ()
 getFieldsOwn ()
 getFieldsJoin ($sJoin)
 getRssUnitLink (&$a)
 getRssPageUrl ()
 rss ()
 processingAPI ($bForceGetData=false)
 showPagination ($bAdmin=false, $bChangePage=true, $bPageReload=true)
 displayResultBlock ()
 displaySearchBox ($sContent, $sPaginate='')
 applyContainerId ()
 decodeDataAPI ($a)
 _getPseudFromParam ()
Public Member Functions inherited from BxTemplSearchResult
 __construct ($oFunctions=false)
 applyContainerClass ()
 __construct ($oFunctions=false)
Public Member Functions inherited from BxBaseSearchResult
 displayResultBlockEmpty ()
 displaySearchUnit ($aData)
 setUnitTemplate ($s)
 getDesignBoxMenu ()
 showAdminActionsPanel ($sWrapperId, $aButtons, $sCheckboxName='entry', $bSelectAll=true, $bSelectAllChecked=false, $sCustomHtml='')
 showAdminFilterPanel ($sFilterValue, $sInputId='filter_input_id', $sCheckboxId='filter_checkbox_id', $sFilterName='filter', $sOnApply='')
 clearFilters ($aPassParams=array(), $aPassJoins=array())
 fillFilters ($aParams)
 fillFiltersByObjects ($aParams)
 setDesignBoxTemplateId ($i)
 setCenterContentUnitSelector ($s)
 addContainerClass ($mixed)
 removeContainerClass ($mixed)
 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 ()
 addCustomParts ()
 outputRSS ()
 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')
 setPaginate ()
 unsetPaginate ()
 getSearchFieldsCond ($aFields, $sKeyword, $sPseud='')
 getMultiValues ($aValues)
 addMarkers ($a)

Protected Member Functions

 checkRestrictionsForContext ($sMode, $aParams, $oProfileAuthor)
 processReplaceableMarkers ($oProfileAuthor)
 getCurrentOnclick ($aAdditionalParams=array(), $bReplacePagesParams=true)
 _updateCurrentForAuthor ($sMode, $aParams, &$oProfileAuthor)
 _updateCurrentForContext ($sMode, $aParams, &$oProfileContext)
 _updateCurrentForFavorite ($sMode, $aParams, &$oProfileAuthor)
Protected Member Functions inherited from BxBaseModGeneralSearchResult
 addCustomConditions ($CNF, $oProfile, $sMode, $aParams)
 addConditionsForAuthorStatus ($CNF)
 addConditionsForCf ($CNF)
 addConditionsForFilter ($CNF, $sMode, $aParams)
 addConditionsForPrivateContent ($CNF, $oProfile, $aCustomGroup=array())
 getItemPerPageInShowCase ()
 _updateCurrentForFollowedContexts ($sMode, $aParams, &$oProfileContext)
Protected Member Functions inherited from BxBaseSearchResult
 addPageRssLink ()
 getCurrentUrl ($aAdditionalParams=array(), $bReplacePagesParams=true)
 addAdditionalUrlParams ($sUrl, $aAdditionalParams, $bReplacePagesParams, $bAddPaginateParams=true)
Protected Member Functions inherited from BxDolSearchResult
 _replaceMarkers ($mixed)
 _setPageDescription ()

Protected Attributes

 $sUnitViewParamName = 'unit_view'
Protected Attributes inherited from BxBaseModGeneralSearchResult
 $oModule
 $sFilterName
 $bShowcaseView = false
 $aUnitViews = array()
 $sUnitViewDefault = 'gallery'
Protected Attributes inherited from BxTemplSearchResult
 $_sModule
 $_oModule
Protected Attributes inherited from BxBaseSearchResult
 $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()
 $_aMarkers = array ()

Additional Inherited Members

Public Attributes inherited from BxBaseSearchResult
 $isError
Public Attributes inherited from BxDolSearchResult
 $aCurrent

Constructor & Destructor Documentation

◆ __construct()

BxBaseModTextSearchResult::__construct ( $sMode = '',
$aParams = array() )

Reimplemented from BxBaseModGeneralSearchResult.

Member Function Documentation

◆ _getPseud()

BxBaseModTextSearchResult::_getPseud ( )

System method for filling aPseud array. Fill field aPseud for current class (if you will use own getSearchUnit methods then not necessary to redeclare).

Reimplemented from BxDolSearchResult.

◆ getAlterOrder()

BxBaseModTextSearchResult::getAlterOrder ( )

Return own varaint for sorting (redeclare if necessary) return array of sql elements

Reimplemented from BxDolSearchResult.

Reimplemented in BxAdsSearchResult, BxAlbumsSearchResultMedia, BxClssSearchResult, BxFilesSearchResult, BxForumSearchResult, BxGlsrSearchResult, BxShopifySearchResult, BxSnipcartSearchResult, and BxStoriesSearchResultMedia.

◆ getCurrentOnclick()

BxBaseModTextSearchResult::getCurrentOnclick ( $aAdditionalParams = array(),
$bReplacePagesParams = true )
protected

Get current browse URL with current page and additional params

Parameters
$aAdditionalParamsset custom additional params as key value pair
$bReplacePagesParamsreplace paginate params with current values or leave markers for use in paginate class
Returns
ready to use URL string with BX_DOL_URL_ROOT added in the beginning

Reimplemented from BxBaseSearchResult.

◆ getRssUnitImage()

BxBaseModTextSearchResult::getRssUnitImage ( & $a,
$sField )

Return rss unit image (redeclared)

Reimplemented from BxDolSearchResult.


The documentation for this class was generated from the following file:
  • modules/base/text/classes/BxBaseModTextSearchResult.php