]>
Commit | Line | Data |
---|---|---|
1 | <?php | |
2 | class Plugin { | |
3 | private $dbh; | |
4 | private $host; | |
5 | ||
6 | const API_VERSION_COMPAT = 1; | |
7 | ||
8 | function init($host) { | |
9 | $this->dbh = $host->get_dbh(); | |
10 | $this->host = $host; | |
11 | } | |
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 | } | |
25 | ||
26 | function api_version() { | |
27 | return Plugin::API_VERSION_COMPAT; | |
28 | } | |
29 | } | |
30 | ?> |