summaryrefslogtreecommitdiff
path: root/classes/plugin.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-12-25 10:02:08 +0400
committerAndrew Dolgov <[email protected]>2012-12-25 10:02:08 +0400
commitd2a421e3cbaa782748840fc19afad4ac65f044b8 (patch)
treefed3583a4f855c5c0c7c7a9d6c3f8effc94932d6 /classes/plugin.php
parentde612e7a3850d3053c7038e94098c0681d46983b (diff)
more work on user-selectable plugins; properly process system and user plugins
Diffstat (limited to 'classes/plugin.php')
-rw-r--r--classes/plugin.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/classes/plugin.php b/classes/plugin.php
index 59cb64f53..e655a2062 100644
--- a/classes/plugin.php
+++ b/classes/plugin.php
@@ -3,9 +3,22 @@ class Plugin {
private $link;
private $host;
- function __construct($host) {
+ function init($host) {
$this->link = $host->get_link();
$this->host = $host;
}
+
+ function about() {
+ // version, name, description, author, is_system
+ return array(1.0, "plugin", "No description", "No author", false);
+ }
+
+ function get_js() {
+ return "";
+ }
+
+ function get_prefs_js() {
+ return "";
+ }
}
?>