]> git.wh0rd.org - tt-rss.git/blame - classes/plugin.php
Merge branch 'master' of git.fakecake.org:tt-rss into pdo-experimental
[tt-rss.git] / classes / plugin.php
CommitLineData
5a0e0392 1<?php
9e381bc2 2abstract class Plugin {
ddf28801
AD
3 const API_VERSION_COMPAT = 1;
4
9e381bc2 5 abstract function init($host);
d2a421e3 6
9e381bc2
AD
7 abstract function about();
8 // return array(1.0, "plugin", "No description", "No author", false);
d2a421e3 9
41245888
AD
10 function flags() {
11 /* associative array, possible keys:
12 needs_curl = boolean
13 */
14 return array();
15 }
16
7b55001e
AD
17 /**
18 * @SuppressWarnings(PHPMD.UnusedFormalParameter)
19 */
4daaf234
AD
20 function is_public_method($method) {
21 return false;
22 }
23
d2a421e3
AD
24 function get_js() {
25 return "";
26 }
27
28 function get_prefs_js() {
29 return "";
30 }
ddf28801
AD
31
32 function api_version() {
33 return Plugin::API_VERSION_COMPAT;
34 }
ea79a0e0 35}