ZenMagick 0.9.10


zenmagick.store.shared.model.catalog\ZMManufacturer
model\catalog\ZMManufacturer.php at line 33

Class ZMManufacturer

ZMObject
└─ZMManufacturer

public class ZMManufacturer
extends ZMObject

Manufacturer.

Author:
DerManoMann

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

__construct()

Create new instance

int

getClickCount()

Get the click counter.

int

getId()

Get the manufacturer id.

string

getImage()

Get the manufacturer image.

ZMImageInfo

getImageInfo()

Get the manufacturer image info.

int

getLanguageId()

Get the language id.

date

getLastClick()

Get the date of the last click.

string

getName()

Get the manufacturer name.

string

getUrl()

Get the manufacturer url.

boolean

hasImage()

Check if a manufacturer image exists.

void

setClickCount(int clickCount)

Set the click counter.

void

setId(int id)

Set the manufacturer id.

void

setImage(string image)

Set the manufacturer image.

void

setLanguageId(int languageId)

Set the language id.

void

setLastClick(date lastClick)

Set the date of the last click.

void

setName(string name)

Set the manufacturer name.

void

setUrl(string url)

Set the manufacturer url.

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

Method Detail

model\catalog\ZMManufacturer.php at line 45

__construct

public void __construct()

Create new instance


model\catalog\ZMManufacturer.php at line 153

getClickCount

public int getClickCount()

Get the click counter.

Returns:
The click count for this manufactuer and language.

model\catalog\ZMManufacturer.php at line 69

getId

public int getId()

Get the manufacturer id.

Returns:
The manufacturer id.

model\catalog\ZMManufacturer.php at line 83

getImage

public string getImage()

Get the manufacturer image.

Returns:
The manufacturer image.

model\catalog\ZMManufacturer.php at line 97

getImageInfo

public ZMImageInfo getImageInfo()

Get the manufacturer image info.

Returns:
The image info.

model\catalog\ZMManufacturer.php at line 139

getLanguageId

public int getLanguageId()

Get the language id.

Returns:
The language id.

model\catalog\ZMManufacturer.php at line 167

getLastClick

public date getLastClick()

Get the date of the last click.

Returns:
The last click date.

model\catalog\ZMManufacturer.php at line 76

getName

public string getName()

Get the manufacturer name.

Returns:
The manufacturer name.

model\catalog\ZMManufacturer.php at line 104

getUrl

public string getUrl()

Get the manufacturer url.

Returns:
The manufacturer url.

model\catalog\ZMManufacturer.php at line 90

hasImage

public boolean hasImage()

Check if a manufacturer image exists.

Returns:
true if an image exists, false if not.

model\catalog\ZMManufacturer.php at line 160

setClickCount

public void setClickCount(int clickCount)

Set the click counter.

Parameters:
clickCount - The click count for this manufactuer and language.

model\catalog\ZMManufacturer.php at line 111

setId

public void setId(int id)

Set the manufacturer id.

Parameters:
id - The manufacturer id.

model\catalog\ZMManufacturer.php at line 125

setImage

public void setImage(string image)

Set the manufacturer image.

Parameters:
image - The manufacturer image.

model\catalog\ZMManufacturer.php at line 146

setLanguageId

public void setLanguageId(int languageId)

Set the language id.

Parameters:
languageId - The language id.

model\catalog\ZMManufacturer.php at line 174

setLastClick

public void setLastClick(date lastClick)

Set the date of the last click.

Parameters:
lastClick - The last click date.

model\catalog\ZMManufacturer.php at line 118

setName

public void setName(string name)

Set the manufacturer name.

Parameters:
name - The manufacturer name.

model\catalog\ZMManufacturer.php at line 132

setUrl

public void setUrl(string url)

Set the manufacturer url.

Parameters:
url - The manufacturer url.

ZenMagick 0.9.10