From 252d0d9d422b0ab6dd583022141f4874c98abc5f Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Wed, 3 Aug 2011 16:16:31 +0200 Subject: Started to implement the plugin API. --- ratatoeskr/sys/plugin_api.php | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 ratatoeskr/sys/plugin_api.php (limited to 'ratatoeskr/sys') diff --git a/ratatoeskr/sys/plugin_api.php b/ratatoeskr/sys/plugin_api.php new file mode 100644 index 0000000..e021e15 --- /dev/null +++ b/ratatoeskr/sys/plugin_api.php @@ -0,0 +1,36 @@ +id = $id; + $this->kvstorage = new PluginKVStorage($id); + $this->smarty = $smarty; + } + + public function get_id() { return $this->id; } + + public function init() {} + public function install() {} + public function uninstall() {} +} + +?> -- cgit v1.2.3-70-g09d2