add -list-plugins option; about sections to plugins

This commit is contained in:
Andrew Dolgov
2012-12-24 15:39:42 +04:00
parent 6b31c9f2fb
commit 7a866114e1
18 changed files with 112 additions and 1 deletions

View File

@@ -4,6 +4,12 @@ class Pocket extends Plugin {
private $link;
private $host;
function _about() {
return array(1.0,
"Share article via Pocket (formerly Read It Later)",
"?");
}
function __construct($host) {
$this->link = $host->get_link();
$this->host = $host;