mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 23:35:57 +00:00
add -list-plugins option; about sections to plugins
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user