]>
git.wh0rd.org - tt-rss.git/blob - classes/plugin.php
2 abstract class Plugin
{
3 const API_VERSION_COMPAT
= 1;
8 /* @var PluginHost $host */
9 abstract function init($host);
11 abstract function about();
12 // return array(1.0, "plugin", "No description", "No author", false);
14 function __construct() {
15 $this->pdo
= Db
::pdo();
19 /* associative array, possible keys:
26 * @SuppressWarnings(PHPMD.UnusedFormalParameter)
28 function is_public_method($method) {
36 function get_prefs_js() {
40 function api_version() {
41 return Plugin
::API_VERSION_COMPAT
;