]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/example/example.php
more work on user-selectable plugins; properly process system and user plugins
[tt-rss.git] / plugins / example / example.php
index be6a48551cb650d419774e6c733c9042a7eb46ce..eef604b4f599631a3e057a3d9e62be02c642fecc 100644 (file)
@@ -6,14 +6,14 @@ class Example extends Plugin {
        private $link;
        private $host;
 
-       function _about() {
+       function about() {
                return array(1.0,
                        "Example plugin #1",
                        "fox",
                        true);
        }
 
-       function __construct($host) {
+       function init($host) {
                $this->link = $host->get_link();
                $this->host = $host;