From d285870a4484af23884224d30c7e0eb4e29949f4 Mon Sep 17 00:00:00 2001 From: michael pereira Date: Mon, 11 Jul 2011 14:49:05 +0200 Subject: uriload test --- application/controllers/ResourceController.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'application/controllers/ResourceController.php') diff --git a/application/controllers/ResourceController.php b/application/controllers/ResourceController.php index 6b35050..b828668 100644 --- a/application/controllers/ResourceController.php +++ b/application/controllers/ResourceController.php @@ -483,17 +483,17 @@ class ResourceController extends Zend_Controller_Action public function getkernelAction() { -// $bootmenuntryID = $this->_request->getParam('bme'); -// -// $bootmenuentriesMapper = new Application_Model_BootMenuEntriesMapper(); -// $bootmenuentry = new Application_Model_BootMenuEntries(); -// $bootmenuentriesMapper->find($bootmenuntryID,$bootmenuentry); -// -// $sessionMapper = new Application_Model_SessionMapper(); -// -// $this->thisSession->setBootmenuentryID($bootmenuntryID); -// $this->thisSession->setBootosID($bootmenuentry->getBootosID()); -// $sessionMapper->save($this->thisSession); + $bootmenuntryID = $this->_request->getParam('bme'); + + $bootmenuentriesMapper = new Application_Model_BootMenuEntriesMapper(); + $bootmenuentry = new Application_Model_BootMenuEntries(); + $bootmenuentriesMapper->find($bootmenuntryID,$bootmenuentry); + + $sessionMapper = new Application_Model_SessionMapper(); + + $this->thisSession->setBootmenuentryID($bootmenuntryID); + $this->thisSession->setBootosID($bootmenuentry->getBootosID()); + $sessionMapper->save($this->thisSession); $bootosID = $this->thisSession->getBootosID(); -- cgit v1.2.3-55-g7522