ZenMagick 0.9.6


org.zenmagick.rp.resultlist.filter.ZMManufacturerFilter

Class ZMManufacturerFilter

ZMObject
|
+--ZMResultListFilter
|
+--ZMManufacturerFilter

public class ZMManufacturerFilter
extends ZMResultListFilter

Filter products by manufacturer.

Author:
DerManoMann
Version:
$Id: ZMManufacturerFilter.php 1966 2009-02-14 10:52:50Z dermanomann $

Fields inherited from org.zenmagick.rp.resultlist.ZMResultListFilter
filterValues_, id_, list_, name_
Fields inherited from org.zenmagick.ZMObject
properties_
Constructor Summary

ZMManufacturerFilter()

Create new instance.

Method Summary
boolean

exclude(mixed obj)

Return true if the given object is to be excluded.

array

getOptions()

Returns a list of all available filter values.

Methods inherited from org.zenmagick.rp.resultlist.ZMResultListFilter
exclude, filter, getId, getName, getOptions, getSelectedValues, isActive, isAvailable, isMultiSelection, setResultList
Methods inherited from org.zenmagick.ZMObject
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Constructor Detail

ZMManufacturerFilter

public ZMManufacturerFilter()

Create new instance. /


Method Detail

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.

getOptions

public array getOptions()

Returns a list of all available filter values.

Returns:
An array of string values.

ZenMagick 0.9.6