OXID eShop CE
4.9.5
|
Protected Member Functions | |
_toList ($sListType, $sProductId, $dAmount, $aSel) | |
Protected Member Functions inherited from oxView | |
_executeNewAction ($sNewAction) |
Protected Attributes | |
$_blIsComponent = true | |
Protected Attributes inherited from oxView | |
$_aViewData = array() | |
$_sClassLocation = null | |
$_sThisAction = null | |
$_oParent = null | |
$_blIsComponent = false | |
$_sThisTemplate = null | |
$_sViewId = null | |
$_sClass = null | |
$_sFnc = null | |
$_sTrustedShopId = null | |
$_sTSExcellenceId = null | |
$_sCharSet = null | |
$_sVersion = null | |
$_blDemoVersion = null | |
$_blDemoShop = null | |
$_iNewsStatus = null | |
$_sShopLogo = null | |
$_sCategoryId = null | |
$_oClickCat = null | |
$_blIsCallForCache = false | |
$_oViewConf = null |
Additional Inherited Members | |
Static Protected Attributes inherited from oxView | |
static | $_blExecuted = false |
Transparent shop utilities class. Some specific utilities, such as fetching article info, etc. (Class may be used for overriding).
oxcmp
Definition at line 10 of file oxcmp_utils.php.
|
protected |
Adds chosen product to defined user list. if amount is 0, item is removed from the list
string | $sListType | user product list type |
string | $sProductId | product id |
double | $dAmount | product amount |
array | $aSel | product selection list |
Definition at line 201 of file oxcmp_utils.php.
oxcmp_utils::getArticle | ( | ) |
If passed article ID (by URL or posted form) - loads article, otherwise - loads list of action articles oxarticlelist::loadActionArticles(). In this case, the last list object will be used. Loaded article info is serialized and outputted to client system.
Definition at line 30 of file oxcmp_utils.php.
oxcmp_utils::render | ( | ) |
Set view data, call parent::render
Reimplemented from oxView.
Definition at line 230 of file oxcmp_utils.php.
oxcmp_utils::toCompareList | ( | $sProductId = null , |
|
$dAmount = null , |
|||
$aSel = null , |
|||
$blOverride = false , |
|||
$blBundle = false |
|||
) |
Adds/removes chosen article to/from article comparison list
object | $sProductId | product id |
double | $dAmount | amount |
array | $aSel | (default null) |
bool | $blOverride | allow override |
bool | $blBundle | bundled |
Definition at line 99 of file oxcmp_utils.php.
oxcmp_utils::toNoticeList | ( | $sProductId = null , |
|
$dAmount = null , |
|||
$aSel = null |
|||
) |
If session user is set loads user noticelist (oxuser::GetBasket()) and adds article to it.
string | $sProductId | Product/article ID (default null) |
double | $dAmount | amount of good (default null) |
array | $aSel | product selection list (default null) |
Definition at line 162 of file oxcmp_utils.php.
oxcmp_utils::toWishList | ( | $sProductId = null , |
|
$dAmount = null , |
|||
$aSel = null |
|||
) |
If session user is set loads user wishlist (oxuser::GetBasket()) and adds article to it.
string | $sProductId | Product/article ID (default null) |
double | $dAmount | amount of good (default null) |
array | $aSel | product selection list (default null) |
Definition at line 181 of file oxcmp_utils.php.
|
protected |
Definition at line 18 of file oxcmp_utils.php.