Public Member Functions | Protected Member Functions | Protected Attributes

Search Class Reference

Inheritance diagram for Search:
Collaboration diagram for Search:

List of all members.

Public Member Functions

 render ()
 getAddUrlParams ()
 isEmptySearch ()
 getArticleList ()
 getSimilarRecommListIds ()
 getSearchParamForHtml ()
 getSearchParam ()
 getSearchCatId ()
 getSearchVendor ()
 getSearchManufacturer ()
 getPageNavigation ()
 getActiveCategory ()
 getBreadCrumb ()
 canSelectDisplayType ()
 getArticleCount ()
 getTitle ()

Protected Member Functions

 _processListArticles ()
 _isSearchClass ()
 _canRedirect ()

Protected Attributes

 $_iAllArtCnt = 0
 $_iCntPages = null
 $_sThisTemplate = 'page/search/search.tpl'
 $_sListType = 'search'
 $_blShowSorting = true
 $_blEmptySearch = null
 $_oRecommList = null
 $_sSearchParamForHtml = null
 $_sSearchParam = null
 $_sSearchCatId = null
 $_sSearchVendor = null
 $_sSearchManufacturer = null
 $_blSearchClass = null
 $_oPageNavigation = null
 $_iViewIndexState = VIEW_INDEXSTATE_NOINDEXNOFOLLOW
 $_aSimilarRecommListIds = null

Detailed Description

Articles searching class. Performs searching through articles in database.

Definition at line 7 of file search.php.


Member Function Documentation

Search._canRedirect (  )  [protected]

Checks if current request parameters does not block SEO redirection process

Returns:
bool

Reimplemented from oxUBase.

Definition at line 476 of file search.php.

Search._isSearchClass (  )  [protected]

Template variable getter. Returns similar recommendation lists

Returns:
object

Definition at line 278 of file search.php.

Search._processListArticles (  )  [protected]

Iterates through list articles and performs list view specific tasks:

  • sets type of link which needs to be generated (Manufacturer link)

Definition at line 227 of file search.php.

Search.canSelectDisplayType (  ) 

Returns config parameters blShowListDisplayType value

Returns:
boolean

Definition at line 466 of file search.php.

Search.getActiveCategory (  ) 

Template variable getter. Returns active search

Returns:
object

Reimplemented from oxUBase.

Definition at line 438 of file search.php.

Search.getAddUrlParams (  ) 

Returns additional URL parameters which must be added to list products urls

Returns:
string

Reimplemented from oxUBase.

Definition at line 248 of file search.php.

Search.getArticleCount (  ) 

Article count getter

Returns:
int

Definition at line 486 of file search.php.

Search.getArticleList (  ) 

Template variable getter. Returns searched article list

Returns:
array

Definition at line 305 of file search.php.

Search.getBreadCrumb (  ) 

Returns Bread Crumb - you are here page1/page2/page3...

Returns:
array

Reimplemented from oxUBase.

Definition at line 448 of file search.php.

Search.getPageNavigation (  ) 

Template variable getter. Returns page navigation

Returns:
object

Reimplemented from oxUBase.

Definition at line 422 of file search.php.

Search.getSearchCatId (  ) 

Template variable getter. Returns searched category id

Returns:
string

Reimplemented from oxUBase.

Definition at line 368 of file search.php.

Search.getSearchManufacturer (  ) 

Template variable getter. Returns searched Manufacturer id

Returns:
string

Reimplemented from oxUBase.

Definition at line 403 of file search.php.

Search.getSearchParam (  ) 

Template variable getter. Returns search parameter

Returns:
string

Definition at line 351 of file search.php.

Search.getSearchParamForHtml (  ) 

Template variable getter. Returns search parameter for Html

Returns:
string

Reimplemented from oxUBase.

Definition at line 334 of file search.php.

Search.getSearchVendor (  ) 

Template variable getter. Returns searched vendor id

Returns:
string

Reimplemented from oxUBase.

Definition at line 385 of file search.php.

Search.getSimilarRecommListIds (  ) 

Return array of id to form recommend list.

Returns:
array

Reimplemented from oxUBase.

Definition at line 315 of file search.php.

Search.getTitle (  ) 

Return page title

Returns:
string

Reimplemented from oxUBase.

Definition at line 496 of file search.php.

Search.isEmptySearch (  ) 

Template variable getter. Returns if searched was empty

Returns:
bool

Definition at line 295 of file search.php.

Search.render (  ) 

Forms search navigation URLs, executes parent.render() and returns name of template to render search._sThisTemplate.

Returns:
string current template file name

Reimplemented from oxUBase.

Definition at line 201 of file search.php.


Member Data Documentation

Search.$_aSimilarRecommListIds = null [protected]

Definition at line 120 of file search.php.

Search.$_blEmptySearch = null [protected]

Definition at line 50 of file search.php.

Search.$_blSearchClass = null [protected]

Definition at line 99 of file search.php.

Search.$_blShowSorting = true [protected]

Reimplemented from oxUBase.

Definition at line 43 of file search.php.

Search.$_iAllArtCnt = 0 [protected]

Definition at line 15 of file search.php.

Search.$_iCntPages = null [protected]

Definition at line 22 of file search.php.

Search.$_iViewIndexState = VIEW_INDEXSTATE_NOINDEXNOFOLLOW [protected]

Current view search engine indexing state: VIEW_INDEXSTATE_INDEX - index without limitations VIEW_INDEXSTATE_NOINDEXNOFOLLOW - no index / no follow VIEW_INDEXSTATE_NOINDEXFOLLOW - no index / follow

Reimplemented from oxUBase.

Definition at line 113 of file search.php.

Search.$_oPageNavigation = null [protected]

Definition at line 106 of file search.php.

Search.$_oRecommList = null [protected]

Definition at line 57 of file search.php.

Search.$_sListType = 'search' [protected]

Reimplemented from oxUBase.

Definition at line 36 of file search.php.

Search.$_sSearchCatId = null [protected]

Definition at line 78 of file search.php.

Search.$_sSearchManufacturer = null [protected]

Definition at line 92 of file search.php.

Search.$_sSearchParam = null [protected]

Definition at line 71 of file search.php.

Search.$_sSearchParamForHtml = null [protected]

Definition at line 64 of file search.php.

Search.$_sSearchVendor = null [protected]

Definition at line 85 of file search.php.

Search.$_sThisTemplate = 'page/search/search.tpl' [protected]

Reimplemented from oxView.

Definition at line 29 of file search.php.


The documentation for this class was generated from the following file: