Definition at line 7 of file oxsimplevariant.php.
Public Member Functions | |
__construct () | |
getSelectLists () | |
getPrice () | |
setPrice ($oPrice) | |
getFPrice () | |
setParent ($oParent) | |
getParent () | |
Protected Member Functions | |
_applyCurrency (oxPrice $oPrice, $oCur=null) | |
_applyParentDiscounts ($oPrice) | |
_applyParentVat ($oPrice) | |
_getParentPrice () | |
Protected Attributes | |
$_blUseLazyLoading = true | |
$_oPrice = null | |
$_oParent = null |
oxSimpleVariant.__construct | ( | ) |
oxSimpleVariant.getSelectLists | ( | ) |
Implementing (faking) performance friendly method from oxArticle oxbase
Definition at line 48 of file oxsimplevariant.php.
oxSimpleVariant.getPrice | ( | ) |
Implementing (faking) performance friendly method from oxArticle
Definition at line 58 of file oxsimplevariant.php.
oxSimpleVariant._applyCurrency | ( | oxPrice $ | oPrice, | |
$ | oCur = null | |||
) | [protected] |
Applies currency factor
oxPrice | $oPrice Price object | |
object | $oCur Currency object |
Definition at line 88 of file oxsimplevariant.php.
oxSimpleVariant._applyParentDiscounts | ( | $ | oPrice | ) | [protected] |
Applies discounts which should be applied in general case (for 0 amount)
oxprice | $oPrice Price object |
Definition at line 104 of file oxsimplevariant.php.
oxSimpleVariant._applyParentVat | ( | $ | oPrice | ) | [protected] |
apply parent article VAT to given price
oxPrice | $oPrice price object |
Definition at line 122 of file oxsimplevariant.php.
oxSimpleVariant.setPrice | ( | $ | oPrice | ) |
Price setter
object | $oPrice price object |
Definition at line 139 of file oxsimplevariant.php.
oxSimpleVariant.getFPrice | ( | ) |
oxSimpleVariant.setParent | ( | $ | oParent | ) |
Sets parent article
oxArticle | $oParent Parent article |
Definition at line 165 of file oxsimplevariant.php.
oxSimpleVariant.getParent | ( | ) |
oxSimpleVariant._getParentPrice | ( | ) | [protected] |
Returns parent price. Assuming variant parent has been assigned before function execution.
Definition at line 185 of file oxsimplevariant.php.
oxSimpleVariant.$_blUseLazyLoading = true [protected] |
oxSimpleVariant.$_oPrice = null [protected] |
Definition at line 22 of file oxsimplevariant.php.
oxSimpleVariant.$_oParent = null [protected] |
Definition at line 29 of file oxsimplevariant.php.