ZenMagick 0.9.8


org.zenmagick.store.model.catalog.ZMProductAssociation
\store\model\catalog\ZMProductAssociation.php at line 36

Class ZMProductAssociation

ZMObject
└─ZMProductAssociation

public class ZMProductAssociation
extends ZMObject

A product association base class.

ZMProductAssociationHandler implementations are free to subclass.

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

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

ZMProductAssociation(int productId)

Create new instance.

Method Summary
int

getProductId()

Get the (source) product id of this association.

void

setProductId(int productId)

Set the (source) product id of this association.

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

Constructor Detail

\store\model\catalog\ZMProductAssociation.php at line 45

ZMProductAssociation

public ZMProductAssociation(int productId)

Create new instance.

Parameters:
productId - Optional product id; default is null.

Method Detail

\store\model\catalog\ZMProductAssociation.php at line 63

getProductId

public int getProductId()

Get the (source) product id of this association.

Returns:
A product id.

\store\model\catalog\ZMProductAssociation.php at line 72

setProductId

public void setProductId(int productId)

Set the (source) product id of this association.

Parameters:
productId - A product id.

ZenMagick 0.9.8