mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 04:05:55 +00:00
more work on user-selectable plugins; properly process system and user plugins
This commit is contained in:
@@ -3,9 +3,22 @@ class Plugin {
|
||||
private $link;
|
||||
private $host;
|
||||
|
||||
function __construct($host) {
|
||||
function init($host) {
|
||||
$this->link = $host->get_link();
|
||||
$this->host = $host;
|
||||
}
|
||||
|
||||
function about() {
|
||||
// version, name, description, author, is_system
|
||||
return array(1.0, "plugin", "No description", "No author", false);
|
||||
}
|
||||
|
||||
function get_js() {
|
||||
return "";
|
||||
}
|
||||
|
||||
function get_prefs_js() {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user