Definition at line 9 of file oxcmp_utils.php.
Public Member Functions | |
getArticle () | |
toCompareList ($sProductId=null, $dAmount=null, $aSel=null, $blOverride=false, $blBundle=false) | |
toNoticeList ($sProductId=null, $dAmount=null, $aSel=null) | |
toWishList ($sProductId=null, $dAmount=null, $aSel=null) | |
render () | |
Protected Attributes | |
$_blIsComponent = true |
oxcmp_utils.getArticle | ( | ) |
If passed article ID (by URL or posted form) - loads article, otherwise - loads list of action articles oxarticlelist.loadAktionArticles(). In this case, the last list object will be used. Loaded article info is serialized and outputted to client system.
Definition at line 25 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 83 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 (default null) |
Definition at line 144 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 (default null) |
Definition at line 179 of file oxcmp_utils.php.
oxcmp_utils.render | ( | ) |
Set viewdata, call parent.render
Reimplemented from oxView.
Definition at line 209 of file oxcmp_utils.php.
oxcmp_utils.$_blIsComponent = true [protected] |