Definition at line 7 of file search.php.
Public Member Functions | |
init () | |
render () | |
getAddUrlParams () | |
setItemSorting ($sCnid, $sSortBy, $sSortOrder=null) | |
getSorting ($sCnid) | |
isEmptySearch () | |
getArticleList () | |
getSimilarRecommLists () | |
getSearchParamForHtml () | |
getSearchParam () | |
getSearchCatId () | |
getSearchVendor () | |
getPageNavigation () | |
getActiveCategory () | |
Protected Member Functions | |
_isSearchClass () | |
Protected Attributes | |
$_iAllArtCnt = 0 | |
$_iCntPages = null | |
$_sThisTemplate = 'search.tpl' | |
$_sListType = 'search' | |
$_blShowSorting = true | |
$_blEmptySearch = null | |
$_oRecommList = null | |
$_sSearchParamForHtml = null | |
$_sSearchParam = null | |
$_sSearchCatId = null | |
$_sSearchVendor = null | |
$_blSearchClass = null | |
$_oPageNavigation = null | |
$_iViewIndexState = 1 |
Search.init | ( | ) |
Fetches search parameter from GET/POST/session, prepares search SQL (search.GetWhere()), and executes it forming the list of found articles. Article list is stored at search._aArticleList array.
Session variables: searchparam
Template variables: emptysearch
Reimplemented from oxUBase.
Definition at line 109 of file search.php.
Search.render | ( | ) |
Forms serach navigation URLs, executes parent.render() and returns name of template to render search._sThisTemplate.
Template variables: articlelist, searchparam, searchparamforhtml searchcnid, searchvendor, searchlink, pageNavigation, searchlink, articlebargainlist, additionalparams
Reimplemented from oxUBase.
Definition at line 167 of file search.php.
Search.getAddUrlParams | ( | ) |
Returns additional URL paramerets which must be added to list products urls
Reimplemented from oxUBase.
Definition at line 204 of file search.php.
Search.setItemSorting | ( | $ | sCnid, | |
$ | sSortBy, | |||
$ | sSortOrder = null | |||
) |
Sets search sorting config
string | $sCnid sortable item id | |
string | $sSortBy sort field | |
string | $sSortOrder sort order |
Reimplemented from oxView.
Definition at line 232 of file search.php.
Search.getSorting | ( | $ | sCnid | ) |
Returns search sorting config
string | $sCnid sortable item id |
Reimplemented from oxView.
Definition at line 244 of file search.php.
Search._isSearchClass | ( | ) | [protected] |
Template variable getter. Returns similar recommendation lists
Definition at line 254 of file search.php.
Search.isEmptySearch | ( | ) |
Template variable getter. Returns if searched was empty
Definition at line 269 of file search.php.
Search.getArticleList | ( | ) |
Template variable getter. Returns searched article list
Definition at line 279 of file search.php.
Search.getSimilarRecommLists | ( | ) |
Template variable getter. Returns similar recommendation lists
Reimplemented from oxView.
Definition at line 289 of file search.php.
Search.getSearchParamForHtml | ( | ) |
Template variable getter. Returns search parameter for Html
Definition at line 308 of file search.php.
Search.getSearchParam | ( | ) |
Template variable getter. Returns search parameter
Definition at line 324 of file search.php.
Search.getSearchCatId | ( | ) |
Template variable getter. Returns searched category id
Definition at line 340 of file search.php.
Search.getSearchVendor | ( | ) |
Template variable getter. Returns searched vendor id
Definition at line 356 of file search.php.
Search.getPageNavigation | ( | ) |
Template variable getter. Returns page navigation
Definition at line 373 of file search.php.
Search.getActiveCategory | ( | ) |
Template variable getter. Returns active search
Reimplemented from oxView.
Definition at line 387 of file search.php.
Search.$_iAllArtCnt = 0 [protected] |
Definition at line 13 of file search.php.
Search.$_iCntPages = null [protected] |
Definition at line 19 of file search.php.
Search.$_sThisTemplate = 'search.tpl' [protected] |
Search.$_sListType = 'search' [protected] |
Search.$_blShowSorting = true [protected] |
Search.$_blEmptySearch = null [protected] |
Definition at line 43 of file search.php.
Search.$_oRecommList = null [protected] |
Definition at line 49 of file search.php.
Search.$_sSearchParamForHtml = null [protected] |
Definition at line 55 of file search.php.
Search.$_sSearchParam = null [protected] |
Definition at line 61 of file search.php.
Search.$_sSearchCatId = null [protected] |
Definition at line 67 of file search.php.
Search.$_sSearchVendor = null [protected] |
Definition at line 73 of file search.php.
Search.$_blSearchClass = null [protected] |
Definition at line 79 of file search.php.
Search.$_oPageNavigation = null [protected] |
Definition at line 85 of file search.php.
Search.$_iViewIndexState = 1 [protected] |
Current view search engine indexing state: 0 - index without limitations 1 - no index / no follow 2 - no index / follow
Reimplemented from oxView.
Definition at line 93 of file search.php.