1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 01:25:56 +00:00

move bookmarklet-related methods out of public.php into the plugin

This commit is contained in:
Andrew Dolgov
2021-02-19 20:21:36 +03:00
parent c9ccb0791d
commit fc0ebf0891
5 changed files with 336 additions and 328 deletions

View File

@@ -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))) .