diff options
| author | Michael Neves | 2012-01-26 15:56:42 +0100 |
|---|---|---|
| committer | Michael Neves | 2012-01-26 15:56:42 +0100 |
| commit | dd8dbbcdde46419dd1ad193a8170cde5ca24630b (patch) | |
| tree | 501f81c7e1dfe00d420175f32bbb36bc39ece3e6 /application/modules/user/controllers | |
| parent | Added Preboottype Model, changed bootiso and preboot model (diff) | |
| download | pbs2-dd8dbbcdde46419dd1ad193a8170cde5ca24630b.tar.gz pbs2-dd8dbbcdde46419dd1ad193a8170cde5ca24630b.tar.xz pbs2-dd8dbbcdde46419dd1ad193a8170cde5ca24630b.zip | |
Preboot Serial and type in View
Diffstat (limited to 'application/modules/user/controllers')
| -rw-r--r-- | application/modules/user/controllers/PrebootController.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/application/modules/user/controllers/PrebootController.php b/application/modules/user/controllers/PrebootController.php index 746cab7..4f83820 100644 --- a/application/modules/user/controllers/PrebootController.php +++ b/application/modules/user/controllers/PrebootController.php @@ -61,9 +61,12 @@ class User_PrebootController extends Zend_Controller_Action { if(!Pbs_Acl::checkRight('pro')) { $this->_redirect('/user/index'); } + $preboottypeMapper = new Application_Model_PreBootTypeMapper(); + $this->view->prebootlist = $this->prebootMapper->findBy(array("groupID" => $groupID)); foreach ($this->view->prebootlist as $preboot) { $preboot->setCreated(date(Zend_Registry::get('dateformat'), $preboot->getCreated())); + $preboot->setPreBootTypeID($preboottypeMapper->find($preboot->getPreBootTypeID())->getName()); } // Search |
