ZMObject
└─ZMToolboxTool
└─ZMToolboxCrumbtrail
public class ZMToolboxCrumbtrail
extends ZMToolboxTool
| Fields inherited from org.zenmagick.toolbox.ZMToolboxTool | |
|---|---|
| request_, toolbox_ | |
| Fields inherited from org.zenmagick.core.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
Create new instance. |
|
| Method Summary | |
|---|---|
| void | addCategoryPath(array path) Add the given category path to the crumbtrail. |
| void | addCrumb(string name, string url) Add a single crumb. |
| void | addManufacturer(int manufacturerId) Add manufacturer to the crumbtrail. |
| void | addProduct(int productId) Add product to the crumbtrail. |
| void | clear() Clear all crumbs. |
| ZMCrumb | getCrumb(int index) Get the crumb for the given index. |
| array | Get a list of all crumbs. |
| string | Get the last crumbs name. |
| void | reset() Reset. |
| void | setToolbox(ZMToolbox toolbox) {@inheritDoc} |
| Methods inherited from org.zenmagick.toolbox.ZMToolboxTool | |
|---|---|
| getRequest, getToolbox, setRequest, setToolbox | |
| Methods inherited from org.zenmagick.core.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMToolboxCrumbtrail()
Create new instance.
public void addCategoryPath(array path)
Add the given category path to the crumbtrail.
public void addCrumb(string name, string url)
Add a single crumb.
public void addManufacturer(int manufacturerId)
Add manufacturer to the crumbtrail.
public void addProduct(int productId)
Add product to the crumbtrail.
public void clear()
Clear all crumbs.
public ZMCrumb getCrumb(int index)
Get the crumb for the given index.
public array getCrumbs()
Get a list of all crumbs.
ZMCrumb instances.public string getLastCrumb()
Get the last crumbs name.
public void reset()
Reset.
public void setToolbox(ZMToolbox toolbox)
Crumbtrail.