]>
git.wh0rd.org - tt-rss.git/blob - classes/pluginhandler.php
2 class PluginHandler
extends Handler_Protected
{
3 function csrf_ignore($method) {
7 function catchall($method) {
10 $plugin = $pluginhost->get_plugin($_REQUEST["plugin"]);
13 if (method_exists($plugin, $method)) {
16 print json_encode(array("error" => "METHOD_NOT_FOUND"));
19 print json_encode(array("error" => "PLUGIN_NOT_FOUND"));