summaryrefslogtreecommitdiffstats
path: root/application/models/BootOsMapper.php
diff options
context:
space:
mode:
authormichael pereira2011-03-06 20:12:36 +0100
committermichael pereira2011-03-06 20:12:36 +0100
commit0e017ebdc1edbbf230f0f0160f103c39ef675725 (patch)
treee7848e531d30a01145f2f98d8a3189ea6699c54d /application/models/BootOsMapper.php
parentConfig fertig (diff)
downloadpbs2-0e017ebdc1edbbf230f0f0160f103c39ef675725.tar.gz
pbs2-0e017ebdc1edbbf230f0f0160f103c39ef675725.tar.xz
pbs2-0e017ebdc1edbbf230f0f0160f103c39ef675725.zip
datenbank erweitert, BootMenu, Config fertig
Diffstat (limited to 'application/models/BootOsMapper.php')
-rw-r--r--application/models/BootOsMapper.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/models/BootOsMapper.php b/application/models/BootOsMapper.php
index 9807911..d4a43af 100644
--- a/application/models/BootOsMapper.php
+++ b/application/models/BootOsMapper.php
@@ -31,7 +31,7 @@ class Application_Model_BootOsMapper
public function save(Application_Model_BootOs $botos)
{
- $data = array('bootosID'=> $botos->getID() ,'configID'=> $botos->getConfigID() ,'groupID'=> $botos->getGroupID() ,'title'=> $botos->getTitle() ,'path_init'=> $botos->getPath_init() ,'path_kernel'=> $botos->getPath_kernel() ,'defaultkcl'=> $botos->getDefaultkcl() ,'created'=> $botos->getCreated() ,'description'=> $botos->getDescription() ,'expires'=> $botos->getExpires() ,'public'=> $botos->getPublic() );
+ $data = array('bootosID'=> $botos->getID() ,'configID'=> $botos->getConfigID() ,'groupID'=> $botos->getGroupID() ,'title'=> $botos->getTitle(), 'membershipID'=> $botos->getMembershipID() ,'path_init'=> $botos->getPath_init() ,'path_kernel'=> $botos->getPath_kernel() ,'defaultkcl'=> $botos->getDefaultkcl() ,'created'=> $botos->getCreated() ,'description'=> $botos->getDescription() ,'expires'=> $botos->getExpires() ,'public'=> $botos->getPublic() );
if (null === ($id = $botos->getID()) ) {
unset($data['bootosID']);
$this->getDbTable()->insert($data);
@@ -58,7 +58,7 @@ class Application_Model_BootOsMapper
$row = $result->current();
- $botos->setID($row->bootosID)->setConfigID($row->configID)->setGroupID($row->groupID)->setTitle($row->title)->setPath_init($row->path_init)->setPath_kernel($row->path_kernel)->setDefaultkcl($row->defaultkcl)->setCreated($row->created)->setDescription($row->description)->setExpires($row->expires)->setPublic($row->public);
+ $botos->setID($row->bootosID)->setConfigID($row->configID)->setGroupID($row->groupID)->setMembershipID($row->membershipID)->setTitle($row->title)->setPath_init($row->path_init)->setPath_kernel($row->path_kernel)->setDefaultkcl($row->defaultkcl)->setCreated($row->created)->setDescription($row->description)->setExpires($row->expires)->setPublic($row->public);
}
public function fetchAll()
@@ -68,7 +68,7 @@ class Application_Model_BootOsMapper
foreach ($resultSet as $row) {
$entry = new Application_Model_BootOs();
- $entry->setID($row->bootosID)->setConfigID($row->configID)->setGroupID($row->groupID)->setTitle($row->title)->setPath_init($row->path_init)->setPath_kernel($row->path_kernel)->setDefaultkcl($row->defaultkcl)->setCreated($row->created)->setDescription($row->description)->setExpires($row->expires)->setPublic($row->public);
+ $entry->setID($row->bootosID)->setConfigID($row->configID)->setGroupID($row->groupID)->setMembershipID($row->membershipID)->setTitle($row->title)->setPath_init($row->path_init)->setPath_kernel($row->path_kernel)->setDefaultkcl($row->defaultkcl)->setCreated($row->created)->setDescription($row->description)->setExpires($row->expires)->setPublic($row->public);
$entries[] = $entry;
}