ZenMagick 0.9.6


org.zenmagick.service.ZMAttributes

Class ZMAttributes

ZMObject
|
+--ZMAttributes

public class ZMAttributes
extends ZMObject

Attribute service.

Author:
DerManoMann
Version:
$Id: ZMAttributes.php 2103 2009-03-23 21:40:30Z dermanomann $

Fields inherited from org.zenmagick.ZMObject
properties_
Constructor Summary

ZMAttributes()

Create new instance.

Method Summary
boolean

getAttributesForProduct(ZMProduct product, int languageId)

Load attributes for the given product and language.

static void

instance()

Get instance.

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

Constructor Detail

ZMAttributes

public ZMAttributes()

Create new instance. /


Method Detail

getAttributesForProduct

public boolean getAttributesForProduct(ZMProduct product, int languageId)

Load attributes for the given product and language.

Parameters:
product - The product.
languageId - The languageId; default is null for session language.
Returns:
true if attributes eixst, false if not.

instance

public static void instance()

Get instance. /


ZenMagick 0.9.6