summaryrefslogtreecommitdiff
path: root/plugins/example
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
parent6b31c9f2fb2f53402743c6d9358d68918a4fa0af (diff)
add -list-plugins option; about sections to plugins
Diffstat (limited to 'plugins/example')
-rw-r--r--plugins/example/example.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/example/example.php b/plugins/example/example.php
index e49ee5f27..42550b171 100644
--- a/plugins/example/example.php
+++ b/plugins/example/example.php
@@ -6,6 +6,12 @@ class Example extends Plugin {
private $link;
private $host;
+ function _about() {
+ return array(1.0,
+ "Example plugin #1",
+ "fox");
+ }
+
function __construct($host) {
$this->link = $host->get_link();
$this->host = $host;