]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/note/note.php
more work on user-selectable plugins; properly process system and user plugins
[tt-rss.git] / plugins / note / note.php
index a856b5ac875e3dad3f5cd11eccde493c54b206d3..560796a692267244c679dbc093e992a734e326b3 100644 (file)
@@ -1,9 +1,15 @@
 <?php
-class Note {
+class Note extends Plugin {
        private $link;
        private $host;
 
-       function __construct($host) {
+       function about() {
+               return array(1.0,
+                       "Adds support for setting article notes",
+                       "fox");
+       }
+
+       function init($host) {
                $this->link = $host->get_link();
                $this->host = $host;