OXID eShop CE
4.9.6
|
Public Member Functions | |
__construct ($sType=null) | |
setLocatorData ($oCurrArticle, $oLocatorTarget) | |
getErrorMessage () | |
Public Member Functions inherited from oxSuperCfg | |
__call ($sMethod, $aArgs) | |
__construct () | |
getConfig () | |
setConfig ($oConfig) | |
getSession () | |
setSession ($oSession) | |
getUser () | |
setUser ($oUser) | |
isAdmin () | |
setAdminMode ($blAdmin) |
Protected Member Functions | |
_setVendorLocatorData ($oLocatorTarget, $oCurrArticle) | |
_setSearchLocatorData ($oLocatorTarget, $oCurrArticle) | |
_setTagLocatorData ($oLocatorTarget, $oCurrArticle) | |
_loadIdsInList ($oCategory, $oCurrArticle, $sOrderBy=null) | |
_makeLink ($sLink, $sParams) | |
_findActPageNumber ($iPageNr, $oIdList=null, $oArticle=null) | |
_getPageNumber ($iPageNr) | |
_getProductPos ($oArticle, $oIdList, $oLocatorTarget) |
Protected Attributes | |
$_sType = "list" | |
$_oNextProduct = null | |
$_oBackProduct = null | |
$_sSearchHandle = null | |
$_sErrorMessage = null |
Additional Inherited Members | |
Static Protected Attributes inherited from oxSuperCfg | |
static | $_oConfig = null |
static | $_oSession = null |
static | $_oRights = null |
static | $_oActUser = null |
static | $_blIsAdmin = null |
Locator controller for: category, vendor, manufacturers and search lists.
Definition at line 6 of file oxlocator.php.
oxLocator::__construct | ( | $sType = null | ) |
Class constructor - sets locator type and parameters posted or loaded from GET/Session
string | $sType | locator type |
Definition at line 40 of file oxlocator.php.
|
protected |
If page number is not passed trying to fetch it from list of ids. To search for position in list, article ids list and current article id must be passed
int | $iPageNr | current page number (user defined or passed by request) |
oxlist | $oIdList | list of article ids (optional) |
oxarticle | $oArticle | active article id (optional) |
Definition at line 453 of file oxlocator.php.
|
protected |
Gets current page number.
int | $iPageNr | page number |
Definition at line 478 of file oxlocator.php.
|
protected |
Searches for current article in article list and sets previous/next product ids
oxarticle | $oArticle | current Article |
object | $oIdList | articles list containing only fake article objects !!! |
oxubase | $oLocatorTarget | oxubase object |
Definition at line 495 of file oxlocator.php.
|
protected |
Setting product position in list, amount of articles etc
oxcategory | $oCategory | active category id |
object | $oCurrArticle | current article |
string | $sOrderBy | order by fields |
Definition at line 406 of file oxlocator.php.
|
protected |
Appends urs with currently passed parameters
string | $sLink | url to add parameters |
string | $sParams | parameters to add to url |
Definition at line 434 of file oxlocator.php.
|
protected |
Sets details locator data for articles that came from search list.
oxubase | $oLocatorTarget | oxubase object |
oxarticle | $oCurrArticle | current article |
Definition at line 219 of file oxlocator.php.
|
protected |
Sets details locator data for articles that came from tag list.
oxubase | $oLocatorTarget | oxubase object |
oxarticle | $oCurrArticle | current article |
Definition at line 286 of file oxlocator.php.
|
protected |
Sets details locator data for articles that came from vendor list.
Definition at line 117 of file oxlocator.php.
oxLocator::getErrorMessage | ( | ) |
Template variable getter. Returns error message
Definition at line 538 of file oxlocator.php.
oxLocator::setLocatorData | ( | $oCurrArticle, | |
$oLocatorTarget | |||
) |
Executes locator method according locator type
oxarticle | $oCurrArticle | current article |
oxubase | $oLocatorTarget | oxubase object |
Definition at line 54 of file oxlocator.php.
|
protected |
Previous product to currently loaded
Definition at line 22 of file oxlocator.php.
|
protected |
Next product to currently loaded
Definition at line 17 of file oxlocator.php.
|
protected |
error message
Definition at line 32 of file oxlocator.php.
|
protected |
search handle
Definition at line 27 of file oxlocator.php.
|
protected |
Locator type
Definition at line 12 of file oxlocator.php.