| Function Summary | |
|---|---|
| string | zm_plugin_admin_url(string function, string params, boolean echo) Create a plugin admin page URL. |
| string | zm_plugin_url(string target, string params, boolean echo) Create a plugin view/admin page URL. |
| string | zm_plugin_value_element(ZMConfigValue value, boolean echo) Generate form element for the given config value. |
| ZMPluginPage | zm_simple_config_form(ZMPlugin plugin, string fkt, string title, boolean all) Create a simple plugin config form. |
public string zm_plugin_admin_url(string function, string params, boolean echo)
Create a plugin admin page URL.
null to use the current.''.true, the URI will be echo'ed as well as returned.public string zm_plugin_url(string target, string params, boolean echo)
Create a plugin view/admin page URL.
This function can be used in places where code is executed in both storefront and admin context.
In contrast to zm_plugin_admin_url, this function will accept either a view name,
a function name or both as target.
Format for target is as follows:
ZMToolboxNet::url.zm_plugin_admin_url except that the function name is preceeded by ;.wiki;zm_wiki_admin.null add all current parameter.true, the URI will be echo'ed as well as returned.public string zm_plugin_value_element(ZMConfigValue value, boolean echo)
Generate form element for the given config value.
true, the HTML will be echo'ed as well as returned.public ZMPluginPage zm_simple_config_form(ZMPlugin plugin, string fkt, string title, boolean all)
Create a simple plugin config form.
null to use the plugin name.true to show all.