summaryrefslogtreecommitdiffstats
path: root/application/controllers/PoolController.php
diff options
context:
space:
mode:
authormichael pereira2011-03-06 20:12:43 +0100
committermichael pereira2011-03-06 20:12:43 +0100
commitc2e050df18557a3fe1093f0fef1685c2e631b95b (patch)
tree532672f37cf928d0c2c81b6e3d55fd8cda7e393d /application/controllers/PoolController.php
parentdatenbank erweitert, BootMenu, Config fertig (diff)
parentPool add, edit und remove hinzugefügt (diff)
downloadpbs2-c2e050df18557a3fe1093f0fef1685c2e631b95b.tar.gz
pbs2-c2e050df18557a3fe1093f0fef1685c2e631b95b.tar.xz
pbs2-c2e050df18557a3fe1093f0fef1685c2e631b95b.zip
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/controllers/PoolController.php')
-rw-r--r--application/controllers/PoolController.php40
1 files changed, 40 insertions, 0 deletions
diff --git a/application/controllers/PoolController.php b/application/controllers/PoolController.php
new file mode 100644
index 0000000..f9e54be
--- /dev/null
+++ b/application/controllers/PoolController.php
@@ -0,0 +1,40 @@
+<?php
+
+class PoolController extends Zend_Controller_Action
+{
+
+ public function init()
+ {
+ /* Initialize action controller here */
+ }
+
+ public function indexAction()
+ {
+ $poolMapper = new Application_Model_PoolMapper();
+ $this->view->pools = $poolMapper->fetchAll();
+ }
+
+ public function createpoolAction()
+ {
+ // action body
+ }
+
+ public function deletepoolAction()
+ {
+ // action body
+ }
+
+ public function editpoolAction()
+ {
+ // action body
+ }
+
+
+}
+
+
+
+
+
+
+