From 369dbc19d6ae35c97a2306ae4821c7812e2f24b2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 17 Aug 2012 14:20:55 +0400 Subject: rework class system to use subdirectories add placeholder plugin/hook system --- classes/plugin.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 classes/plugin.php (limited to 'classes/plugin.php') 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 @@ +link = $link; + $this->handler = $handler; + $this->initialize(); + } + + function initialize() { + + + } + + function add_listener($hook) { + $this->handler->add_listener($hook, $this); + } +} +?> -- cgit v1.2.3