From 7a866114e1236da92c0a35c9441903640a6bdf63 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 24 Dec 2012 15:39:42 +0400 Subject: add -list-plugins option; about sections to plugins --- plugins/example_routing/example_routing.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugins/example_routing') diff --git a/plugins/example_routing/example_routing.php b/plugins/example_routing/example_routing.php index c8d352ac8..024bf5b22 100644 --- a/plugins/example_routing/example_routing.php +++ b/plugins/example_routing/example_routing.php @@ -15,6 +15,12 @@ class Example_Routing extends Plugin implements IHandler { private $link; private $host; + function _about() { + return array(1.0, + "Example routing plugin", + "fox"); + } + function __construct($host) { $this->link = $host->get_link(); $this->host = $host; -- cgit v1.2.3