ZenMagick 0.9.10


zenmagick.store.shared.services.catalog\ZMSaleMaker
services\catalog\ZMSalemaker.php at line 33

Class ZMSaleMaker

ZMObject
└─ZMSaleMaker

public class ZMSaleMaker
extends ZMObject

Sale maker.

Author:
DerManoMann

Fields inherited from org.zenmagick.core\ZMObject
properties_
Method Summary
void

__construct()

Create new instance.

array

getSaleDiscountTypeInfo(int productId, int categoryId)

Get sale discount type info.

static void

instance()

Get instance.

Methods inherited from org.zenmagick.core\ZMObject
__construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton

Method Detail

services\catalog\ZMSalemaker.php at line 40

__construct

public void __construct()

Create new instance.


services\catalog\ZMSalemaker.php at line 67

getSaleDiscountTypeInfo

public array getSaleDiscountTypeInfo(int productId, int categoryId)

Get sale discount type info.

Parameters:
productId - The product id.
categoryId - Optional category id; default is null to use the default category.
Returns:
Discount type info.

services\catalog\ZMSalemaker.php at line 55

instance

public static void instance()

Get instance.


ZenMagick 0.9.10