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