Definition at line 7 of file oxsearch.php.
Public Member Functions | |
__construct () | |
setLanguage ($iLanguage=null) | |
getSearchArticles ($sSearchParamForQuery=false, $sInitialSearchCat=false, $sInitialSearchVendor=false, $sSortBy=false) | |
getSearchArticleCount ($sSearchParamForQuery=false, $sInitialSearchCat=false, $sInitialSearchVendor=false) | |
Protected Member Functions | |
_getSearchSelect ($sSearchParamForQuery=false, $sInitialSearchCat=false, $sInitialSearchVendor=false, $sSortBy=false) | |
_getWhere ($sSearchString) | |
Protected Attributes | |
$_iLanguage = 0 |
oxSearch.__construct | ( | ) |
Class constructor. Executes search lenguage setter
Definition at line 21 of file oxsearch.php.
oxSearch.setLanguage | ( | $ | iLanguage = null |
) |
Search language setter. If no param is passed, will be taken default shop language
string | $iLanguage string (default null) |
Definition at line 33 of file oxsearch.php.
oxSearch.getSearchArticles | ( | $ | sSearchParamForQuery = false , |
|
$ | sInitialSearchCat = false , |
|||
$ | sInitialSearchVendor = false , |
|||
$ | sSortBy = false | |||
) |
Returns a list of articles according to search parameters. Returns matched
string | $sSearchParamForQuery query parameter | |
string | $sInitialSearchCat initial category to seearch in | |
string | $sInitialSearchVendor initial vendor to seearch for | |
string | $sSortBy sort by |
Definition at line 52 of file oxsearch.php.
oxSearch.getSearchArticleCount | ( | $ | sSearchParamForQuery = false , |
|
$ | sInitialSearchCat = false , |
|||
$ | sInitialSearchVendor = false | |||
) |
Returns the amount of articles according to search parameters.
string | $sSearchParamForQuery query parameter | |
string | $sInitialSearchCat initial category to seearch in | |
string | $sInitialSearchVendor initial vendor to seearch for |
Definition at line 82 of file oxsearch.php.
oxSearch._getSearchSelect | ( | $ | sSearchParamForQuery = false , |
|
$ | sInitialSearchCat = false , |
|||
$ | sInitialSearchVendor = false , |
|||
$ | sSortBy = false | |||
) | [protected] |
Returns the appropriate SQL select for a search according to search parameters
string | $sSearchParamForQuery query parameter | |
string | $sInitialSearchCat initial category to seearch in | |
string | $sInitialSearchVendor initial vendor to seearch for | |
string | $sSortBy sort by |
Definition at line 106 of file oxsearch.php.
oxSearch._getWhere | ( | $ | sSearchString | ) | [protected] |
Forms and returns SQL query string for search in DB.
string | $sSearchString searching string |
Definition at line 193 of file oxsearch.php.
oxSearch.$_iLanguage = 0 [protected] |
Definition at line 14 of file oxsearch.php.