ZenMagick 0.9.10


zenmagick.store.shared.mvc.resultlist.filter\ZMManufacturerFilter
mvc\resultlist\filter\ZMManufacturerFilter.php at line 30

Class ZMManufacturerFilter

ZMObject
└─ZMResultListFilter
└─ZMManufacturerFilter
All Implemented Interfaces:
org.zenmagick.core.services.database\ZMSQLAware

public class ZMManufacturerFilter
extends ZMResultListFilter

Filter products by manufacturer.

Author:
DerManoMann

Fields inherited from org.zenmagick.mvc.resultlist\ZMResultListFilter
filterValues_, id_, list_, name_, value_
Fields inherited from org.zenmagick.core\ZMObject
properties_
Method Summary
void

__construct(string id, string name, string value)

Create new instance.

boolean

exclude(mixed obj)

Return true if the given object is to be excluded.

array

getOptions()

Returns a list of all available filter values.

void

getQueryDetails(mixed method, mixed args)

{@inheritDoc}

Methods inherited from org.zenmagick.mvc.resultlist\ZMResultListFilter
__construct, exclude, filter, getId, getName, getOptions, getSelectedValues, getValue, isActive, isAvailable, isMultiSelection, setId, setName, setResultList, setValue
Methods inherited from org.zenmagick.core\ZMObject
__construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton

Method Detail

mvc\resultlist\filter\ZMManufacturerFilter.php at line 35

__construct

public void __construct(string id, string name, string value)

Create new instance.

Parameters:
id - Optional filter id.
name - Optional filter name.
value - Optional filter value.

mvc\resultlist\filter\ZMManufacturerFilter.php at line 53

exclude

public boolean exclude(mixed obj)

Return true if the given object is to be excluded.

Parameters:
obj - The obecjt to examine.
Returns:
true if the object is to be excluded, false if not.

mvc\resultlist\filter\ZMManufacturerFilter.php at line 60

getOptions

public array getOptions()

Returns a list of all available filter values.

Returns:
An array of string values.

mvc\resultlist\filter\ZMManufacturerFilter.php at line 76

getQueryDetails

public void getQueryDetails(mixed method, mixed args)


ZenMagick 0.9.10