summaryrefslogtreecommitdiff
path: root/plugins/example_feed
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-12-24 15:39:42 +0400
committerAndrew Dolgov <[email protected]>2012-12-24 15:39:42 +0400
commit7a866114e1236da92c0a35c9441903640a6bdf63 (patch)
tree26dc394da101e9d7a785ec8c793837a2d18ee956 /plugins/example_feed
parent6b31c9f2fb2f53402743c6d9358d68918a4fa0af (diff)
add -list-plugins option; about sections to plugins
Diffstat (limited to 'plugins/example_feed')
-rw-r--r--plugins/example_feed/example_feed.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/example_feed/example_feed.php b/plugins/example_feed/example_feed.php
index 26f392bd7..205594edd 100644
--- a/plugins/example_feed/example_feed.php
+++ b/plugins/example_feed/example_feed.php
@@ -7,6 +7,12 @@ class Example_Feed extends Plugin {
private $link;
private $host;
+ function _about() {
+ return array(1.0,
+ "Example feed plugin",
+ "fox");
+ }
+
function __construct($host) {
$this->link = $host->get_link();
$this->host = $host;