Base application
[infodrom.org/touren.infodrom.org] / core / controllerbase.class.php
diff --git a/core/controllerbase.class.php b/core/controllerbase.class.php
new file mode 100644 (file)
index 0000000..48a9021
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+
+class ControllerBase
+{
+    protected $db;
+    protected $app;
+    protected $tour;
+
+    public function setDatabase(Database $db)
+    {
+       $this->db = $db;
+    }
+
+    public function setApplication(Application $app)
+    {
+       $this->app = $app;
+    }
+
+    public function setTour(Tour $tour)
+    {
+       $this->tour = $tour;
+    }
+}
\ No newline at end of file