diff options
Diffstat (limited to 'classes/plugin.php')
-rw-r--r-- | classes/plugin.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/classes/plugin.php b/classes/plugin.php new file mode 100644 index 000000000..b96874a20 --- /dev/null +++ b/classes/plugin.php @@ -0,0 +1,21 @@ +<?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); + } +} +?> |