summaryrefslogtreecommitdiff
path: root/include/controls.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-19 20:21:36 +0300
committerAndrew Dolgov <[email protected]>2021-02-19 20:21:36 +0300
commitfc0ebf089189ca42875d31b1bec4aa1c27852506 (patch)
tree973f89fbc36bc7807b35268b3868d4b949e365cf /include/controls.php
parentc9ccb0791dfb306c736833193c89abdefc7ccd83 (diff)
move bookmarklet-related methods out of public.php into the plugin
Diffstat (limited to 'include/controls.php')
-rwxr-xr-xinclude/controls.php4
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))) .