1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 00:45:55 +00:00

more work on user-selectable plugins; properly process system and user plugins

This commit is contained in:
Andrew Dolgov
2012-12-25 10:02:08 +04:00
parent de612e7a38
commit d2a421e3cb
23 changed files with 92 additions and 60 deletions

View File

@@ -4,22 +4,18 @@ class Digest extends Plugin implements IHandler {
private $link;
private $host;
function _about() {
function about() {
return array(1.0,
"Digest mode for tt-rss (tablet friendly UI)",
"fox",
true);
}
function __construct($host) {
function init($host) {
$this->link = $host->get_link();
$this->host = $host;
$host->add_handler("digest", "*", $this);
//$host->add_handler("rpc", "digestinit", $this);
//$host->add_handler("rpc", "digestupdate", $this);
//$host->add_handler("rpc", "digestgetcontents", $this);
}
function index() {