]>
Commit | Line | Data |
---|---|---|
5a0e0392 AD |
1 | <?php |
2 | class Plugin { | |
6322ac79 | 3 | private $dbh; |
5a0e0392 AD |
4 | private $host; |
5 | ||
ddf28801 AD |
6 | const API_VERSION_COMPAT = 1; |
7 | ||
d2a421e3 | 8 | function init($host) { |
6322ac79 | 9 | $this->dbh = $host->get_dbh(); |
5a0e0392 AD |
10 | $this->host = $host; |
11 | } | |
d2a421e3 AD |
12 | |
13 | function about() { | |
14 | // version, name, description, author, is_system | |
15 | return array(1.0, "plugin", "No description", "No author", false); | |
16 | } | |
17 | ||
18 | function get_js() { | |
19 | return ""; | |
20 | } | |
21 | ||
22 | function get_prefs_js() { | |
23 | return ""; | |
24 | } | |
ddf28801 AD |
25 | |
26 | function api_version() { | |
27 | return Plugin::API_VERSION_COMPAT; | |
28 | } | |
5a0e0392 AD |
29 | } |
30 | ?> |