ZMObject
└─ZMManufacturers
public class ZMManufacturers
extends ZMObject
| Fields inherited from org.zenmagick.core\ZMObject | |
|---|---|
| properties_ | |
| Method Summary | |
|---|---|
| void | Create new instance. |
| ZMManufacturer | getManufacturerForId(int id, int languageId) Get manufacturer for id. |
| ZMManufacturer | getManufacturerForProduct(ZMProduct product) Get the manufacturer for the given product. |
| array | getManufacturers(int languageId) Get all manufacturers. |
| static void | instance() Get instance. |
| ZMManufacturer | updateManufacturer(ZMManufacturer manufacturer) Update an existing manufacturer. |
| void | updateManufacturerClickCount(int id, int languageId) Update manufacturers click stats. |
| Methods inherited from org.zenmagick.core\ZMObject | |
|---|---|
| __construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton | |
public void __construct()
Create new instance.
public ZMManufacturer getManufacturerForId(int id, int languageId)
Get manufacturer for id.
null.public ZMManufacturer getManufacturerForProduct(ZMProduct product)
Get the manufacturer for the given product.
public array getManufacturers(int languageId)
Get all manufacturers.
ZMManufacturer instances.public static void instance()
Get instance.
public ZMManufacturer updateManufacturer(ZMManufacturer manufacturer)
Update an existing manufacturer.
public void updateManufacturerClickCount(int id, int languageId)
Update manufacturers click stats.
Manufacturers.