]>
git.wh0rd.org - tt-rss.git/blob - classes/plugin.php
2 abstract class Plugin
{
3 const API_VERSION_COMPAT
= 1;
8 abstract function init($host);
10 abstract function about();
11 // return array(1.0, "plugin", "No description", "No author", false);
13 function __construct() {
14 $this->pdo
= Db
::pdo();
18 /* associative array, possible keys:
25 * @SuppressWarnings(PHPMD.UnusedFormalParameter)
27 function is_public_method($method) {
35 function get_prefs_js() {
39 function api_version() {
40 return Plugin
::API_VERSION_COMPAT
;