ZMObject
└─ZMResultListFilter
└─ZMCategoryFilter
public class ZMCategoryFilter
extends ZMResultListFilter
| 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 | Returns a list of all available filter values. |
| protected void | |
| 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 | |
public void __construct(string id, string name, string value)
Create new instance.
public boolean exclude(mixed obj)
Return true if the given object is to be excluded.
true if the object is to be excluded, false if not.public array getOptions()
Returns a list of all available filter values.
protected void getProductIds()
public void getQueryDetails(mixed method, mixed args)
Filter products by a single category.