ZenMagick 0.9.8


org.zenmagick.store.services.catalog.ZMSaleMaker
\store\services\catalog\ZMSalemaker.php at line 34

Class ZMSaleMaker

ZMObject
└─ZMSaleMaker

public class ZMSaleMaker
extends ZMObject

Sale maker.

Author:
DerManoMann
Version:
$Id: ZMSalemaker.php 2694 2009-12-03 22:32:18Z dermanomann $

Fields inherited from org.zenmagick.core.ZMObject
properties_
Constructor Summary

ZMSaleMaker()

Create new instance.

Method Summary
array

getSaleDiscountTypeInfo(int productId, int categoryId)

Get sale discount type info.

static void

instance()

Get instance.

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

Constructor Detail

\store\services\catalog\ZMSalemaker.php at line 41

ZMSaleMaker

public ZMSaleMaker()

Create new instance.


Method Detail

\store\services\catalog\ZMSalemaker.php at line 68

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.

\store\services\catalog\ZMSalemaker.php at line 56

instance

public static void instance()

Get instance.


ZenMagick 0.9.8