ZMObject
└─ZMToolboxTool
└─ZMToolboxCrumbtrail
public class ZMToolboxCrumbtrail
extends ZMToolboxTool
| Fields inherited from org.zenmagick.mvc.toolbox\ZMToolboxTool | |
|---|---|
| request_, toolbox_ | |
| Fields inherited from org.zenmagick.core\ZMObject | |
|---|---|
| properties_ | |
| Method Summary | |
|---|---|
| void | Create new instance. |
| 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 | onZMInitDone(mixed args) {@inheritDoc} |
| void | reset() Reset. |
| Methods inherited from org.zenmagick.mvc.toolbox\ZMToolboxTool | |
|---|---|
| __construct, getRequest, getToolbox, setRequest, setToolbox | |
| Methods inherited from org.zenmagick.core\ZMObject | |
|---|---|
| __construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton | |
public void __construct()
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 onZMInitDone(mixed args)
public void reset()
Reset.
Crumbtrail.