From 28317cb90e3ba13aa5a946f24eabf027fa78cf6b Mon Sep 17 00:00:00 2001 From: michael pereira Date: Wed, 16 Mar 2011 13:01:41 +0100 Subject: Default KCL wird jetzt automatisch geupdated --- application/models/BootMenuEntriesMapper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'application/models/BootMenuEntriesMapper.php') diff --git a/application/models/BootMenuEntriesMapper.php b/application/models/BootMenuEntriesMapper.php index accb8ff..7a3759f 100644 --- a/application/models/BootMenuEntriesMapper.php +++ b/application/models/BootMenuEntriesMapper.php @@ -76,7 +76,7 @@ class Application_Model_BootMenuEntriesMapper public function save(Application_Model_BootMenuEntries $botmenuentries) { - $data = array('bootmenuentriesID' => $botmenuentries->getID(), 'bootosID'=> $botmenuentries->getBootosID() ,'bootmenuID'=> $botmenuentries->getBootmenuID() ,'configID'=> $botmenuentries->getConfigID() ,'title'=> $botmenuentries->getTitle() ,'kcl'=> $botmenuentries->getKcl() ,'order'=> $botmenuentries->getOrder() ); + $data = array('bootmenuentriesID' => $botmenuentries->getID(), 'bootosID'=> $botmenuentries->getBootosID() ,'bootmenuID'=> $botmenuentries->getBootmenuID() ,'configID'=> $botmenuentries->getConfigID() ,'title'=> $botmenuentries->getTitle() ,'kcl'=> $botmenuentries->getKcl(),'kclappend'=> $botmenuentries->getKclappend() ,'order'=> $botmenuentries->getOrder() ); if (null === ($id = $botmenuentries->getID()) ) { unset($data['bootmenuentriesID']); @@ -130,7 +130,7 @@ class Application_Model_BootMenuEntriesMapper $row = $result->current(); - $botmenuentries->setID($row->bootmenuentriesID)->setBootosID($row->bootosID)->setBootmenuID($row->bootmenuID)->setTitle($row->title)->setConfigID($row->configID)->setKcl($row->kcl)->setOrder($row->order); + $botmenuentries->setID($row->bootmenuentriesID)->setBootosID($row->bootosID)->setBootmenuID($row->bootmenuID)->setTitle($row->title)->setConfigID($row->configID)->setKclappend($row->kclappend)->setOrder($row->order); } @@ -140,7 +140,7 @@ class Application_Model_BootMenuEntriesMapper $entries = array(); foreach ($resultSet as $row) { $entry = new Application_Model_BootMenuEntries(); - $entry->setID($row->bootmenuentriesID)->setBootosID($row->bootosID)->setBootmenuID($row->bootmenuID)->setTitle($row->title)->setConfigID($row->configID)->setKcl($row->kcl)->setOrder($row->order); + $entry->setID($row->bootmenuentriesID)->setBootosID($row->bootosID)->setBootmenuID($row->bootmenuID)->setTitle($row->title)->setConfigID($row->configID)->setKcl($row->kcl)->setKclappend($row->kclappend)->setOrder($row->order); $entries[] = $entry; } return $entries; -- cgit v1.2.3-55-g7522