]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/example_routing/example_routing.php
more work on user-selectable plugins; properly process system and user plugins
[tt-rss.git] / plugins / example_routing / example_routing.php
index f15951e088514e2c5f2f7c32ea91a9ac5101b0c3..31c5b6f284f67a1a7e29681bd400b4054df1d9f9 100644 (file)
@@ -15,14 +15,14 @@ class Example_Routing extends Plugin implements IHandler {
        private $link;
        private $host;
 
-       function _about() {
+       function about() {
                return array(1.0,
                        "Example routing plugin",
                        "fox",
                        true);
        }
 
-       function __construct($host) {
+       function init($host) {
                $this->link = $host->get_link();
                $this->host = $host;