ZenMagick 0.9.6


org.zenmagick.rp.resultlist.filter.ZMCategoryFilter

Class ZMCategoryFilter

ZMObject
|
+--ZMResultListFilter
|
+--ZMCategoryFilter

public class ZMCategoryFilter
extends ZMResultListFilter

Filter products by a single category.

Author:
DerManoMann
Version:
$Id: ZMCategoryFilter.php 2121 2009-03-31 01:56:56Z dermanomann $

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

ZMCategoryFilter()

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.

protected void

getProductIds()

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

ZMCategoryFilter

public ZMCategoryFilter()

Create new instance. /


Method Detail

exclude

public boolean exclude(mixed obj)

Return true if the given object is to be excluded.

Parameters:
obj - The object 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.

getProductIds

protected void getProductIds()

ZenMagick 0.9.6