summaryrefslogtreecommitdiffstats
path: root/application/models/BootMenuEntriesMapper.php
diff options
context:
space:
mode:
authormichael pereira2011-03-16 13:01:41 +0100
committermichael pereira2011-03-16 13:01:41 +0100
commit28317cb90e3ba13aa5a946f24eabf027fa78cf6b (patch)
tree0b4907b5ac8adc671b7c43b2e33fa9c0a2f7cf4c /application/models/BootMenuEntriesMapper.php
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-28317cb90e3ba13aa5a946f24eabf027fa78cf6b.tar.gz
pbs2-28317cb90e3ba13aa5a946f24eabf027fa78cf6b.tar.xz
pbs2-28317cb90e3ba13aa5a946f24eabf027fa78cf6b.zip
Default KCL wird jetzt automatisch geupdated
Diffstat (limited to 'application/models/BootMenuEntriesMapper.php')
-rw-r--r--application/models/BootMenuEntriesMapper.php6
1 files changed, 3 insertions, 3 deletions
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;