]> git.wh0rd.org - tt-rss.git/blob - classes/plugin.php
rework class system to use subdirectories
[tt-rss.git] / classes / plugin.php
1 <?php
2 class Plugin {
3 protected $link;
4 protected $handler;
5
6 function __construct($link, $handler) {
7 $this->link = $link;
8 $this->handler = $handler;
9 $this->initialize();
10 }
11
12 function initialize() {
13
14
15 }
16
17 function add_listener($hook) {
18 $this->handler->add_listener($hook, $this);
19 }
20 }
21 ?>