From 29224a1ccc162e457589210168c38529e81a572d Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 16 Mar 2011 14:42:40 +0100 Subject: Helper initialisiert, ClientController geadded --- .../modules/user/controllers/ClientController.php | 46 +++++++++++++++++----- 1 file changed, 36 insertions(+), 10 deletions(-) (limited to 'application/modules/user/controllers/ClientController.php') diff --git a/application/modules/user/controllers/ClientController.php b/application/modules/user/controllers/ClientController.php index a8d0d3d..bd111cf 100644 --- a/application/modules/user/controllers/ClientController.php +++ b/application/modules/user/controllers/ClientController.php @@ -2,7 +2,7 @@ class User_ClientController extends Zend_Controller_Action { - private $this->membership; + private $membership; public function init() { /* Initialize action controller here */ @@ -15,15 +15,24 @@ class User_ClientController extends Zend_Controller_Action { // TODO: ACL: is he athorized to see this ? - // Get the Clients which booted with a bootiso of this group - $groupID = $this->membership->getGroupID(); - $bootisoMapper = new Application_Model_BootIsoMapper(); - $bootisos = $bootisoMapper->findby('groupID',$groupID); - - $sessions - - - + // Get the Clients which booted with a bootiso of this group + $result = $this->_request->getParam('result'); + switch($result){ + case "forbidden": + echo "