ZMObject
|
+--ZMCrumbtrail
public class ZMCrumbtrail
extends ZMObject
| 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. |
| static void | instance() Get instance. |
| void | reset() Reset. |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| backtrace, create, log, singleton | |
public ZMCrumbtrail()
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 static void instance()
Get instance. /
public void reset()
Reset. /
Crumbtrail.