ZenMagick 0.9.10


zenmagick.store.shared.model.catalog\ZMProductAssociation
model\catalog\ZMProductAssociation.php at line 32

Class ZMProductAssociation

ZMObject
└─ZMProductAssociation

public class ZMProductAssociation
extends ZMObject

A product association base class.

ZMProductAssociationHandler implementations are free to subclass.

Author:
DerManoMann

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

__construct(int productId)

Create new instance.

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
__construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton

Method Detail

model\catalog\ZMProductAssociation.php at line 41

__construct

public void __construct(int productId)

Create new instance.

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

model\catalog\ZMProductAssociation.php at line 59

getProductId

public int getProductId()

Get the (source) product id of this association.

Returns:
A product id.

model\catalog\ZMProductAssociation.php at line 68

setProductId

public void setProductId(int productId)

Set the (source) product id of this association.

Parameters:
productId - A product id.

ZenMagick 0.9.10