ZenMagick 0.9.8


org.zenmagick.store.mvc.resultlist.filter.ZMCategoryFilter
\store\mvc\resultlist\filter\ZMCategoryFilter.php at line 31

Class ZMCategoryFilter

ZMObject
└─ZMResultListFilter
└─ZMCategoryFilter
All Implemented Interfaces:
ZMSQLAware

public class ZMCategoryFilter
extends ZMResultListFilter

Filter products by a single category.

Author:
DerManoMann
Version:
$Id: ZMCategoryFilter.php 2694 2009-12-03 22:32:18Z dermanomann $

Fields inherited from org.zenmagick.mvc.resultlist.ZMResultListFilter
filterValues_, id_, list_, name_, value_
Fields inherited from org.zenmagick.core.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()

void

getQueryDetails(mixed method, mixed args)

{@inheritDoc}

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

Constructor Detail

\store\mvc\resultlist\filter\ZMCategoryFilter.php at line 38

ZMCategoryFilter

public ZMCategoryFilter()

Create new instance.


Method Detail

\store\mvc\resultlist\filter\ZMCategoryFilter.php at line 66

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.

\store\mvc\resultlist\filter\ZMCategoryFilter.php at line 76

getOptions

public array getOptions()

Returns a list of all available filter values.

Returns:
An array of string values.

\store\mvc\resultlist\filter\ZMCategoryFilter.php at line 52

getProductIds

protected void getProductIds()

\store\mvc\resultlist\filter\ZMCategoryFilter.php at line 92

getQueryDetails

public void getQueryDetails(mixed method, mixed args)


ZenMagick 0.9.8