tt-rss/classes/plugin.php
Andrew Dolgov 369dbc19d6 rework class system to use subdirectories
add placeholder plugin/hook system
2012-08-17 14:22:33 +04:00

22 lines
298 B
PHP

<?php
class Plugin {
protected $link;
protected $handler;
function __construct($link, $handler) {
$this->link = $link;
$this->handler = $handler;
$this->initialize();
}
function initialize() {
}
function add_listener($hook) {
$this->handler->add_listener($hook, $this);
}
}
?>