summaryrefslogtreecommitdiff
path: root/classes/handler.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-12-12 23:32:29 +0400
committerAndrew Dolgov <[email protected]>2011-12-12 23:32:29 +0400
commitd51124689d199ef3796c09f4353ef595bd3827b0 (patch)
tree1f656e62a375be71f177490a34e4bc30a6c858a0 /classes/handler.php
parentf30ef1fa1bd76b497b5c0a64a92e2e0ef7116515 (diff)
add tiny-OOP style backend RPC
Diffstat (limited to 'classes/handler.php')
-rw-r--r--classes/handler.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/classes/handler.php b/classes/handler.php
new file mode 100644
index 000000000..3bd82c725
--- /dev/null
+++ b/classes/handler.php
@@ -0,0 +1,15 @@
+<?php
+class Handler {
+ protected $link;
+ protected $args;
+
+ function __construct($link, $args) {
+ $this->link = $link;
+ $this->args = $args;
+ }
+
+ function before() {
+ return true;
+ }
+}
+?>