diff options
author | Andrew Dolgov <[email protected]> | 2021-02-19 20:21:36 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-19 20:21:36 +0300 |
commit | fc0ebf089189ca42875d31b1bec4aa1c27852506 (patch) | |
tree | 973f89fbc36bc7807b35268b3868d4b949e365cf /include | |
parent | c9ccb0791dfb306c736833193c89abdefc7ccd83 (diff) |
move bookmarklet-related methods out of public.php into the plugin
Diffstat (limited to 'include')
-rwxr-xr-x | include/controls.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/controls.php b/include/controls.php index a60b1e0b0..ae5fba739 100755 --- a/include/controls.php +++ b/include/controls.php @@ -16,6 +16,10 @@ return hidden_tag("op", strtolower(get_class($plugin) . \PluginHost::PUBLIC_METHOD_DELIMITER . $method)); } */ + function public_method_tags(\Plugin $plugin, string $method) { + return hidden_tag("op", strtolower(get_class($plugin) . \PluginHost::PUBLIC_METHOD_DELIMITER . $method)); + } + function pluginhandler_tags(\Plugin $plugin, string $method) { return hidden_tag("op", "pluginhandler") . hidden_tag("plugin", strtolower(get_class($plugin))) . |