diff options
| author | michael pereira | 2011-03-21 10:49:32 +0100 |
|---|---|---|
| committer | michael pereira | 2011-03-21 10:49:32 +0100 |
| commit | 19d1af16ad8a2fdaa5aa608693b81fa9502e162d (patch) | |
| tree | b5b00a6fb91fffad157b85bbf209ac7675a86801 /application/models/BootIsoMapper.php | |
| parent | Filter funktioniert nun, FBGui IndexController angepasst (diff) | |
| download | pbs2-19d1af16ad8a2fdaa5aa608693b81fa9502e162d.tar.gz pbs2-19d1af16ad8a2fdaa5aa608693b81fa9502e162d.tar.xz pbs2-19d1af16ad8a2fdaa5aa608693b81fa9502e162d.zip | |
Preboot Controller eingerichtet
Diffstat (limited to 'application/models/BootIsoMapper.php')
| -rw-r--r-- | application/models/BootIsoMapper.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/application/models/BootIsoMapper.php b/application/models/BootIsoMapper.php index bccc851..9e5b3db 100644 --- a/application/models/BootIsoMapper.php +++ b/application/models/BootIsoMapper.php @@ -47,7 +47,7 @@ class Application_Model_BootIsoMapper public function save(Application_Model_BootIso $botiso) { - $data = array('bootisoID'=> $botiso->getID() ,'membershipID'=> $botiso->getMembershipID() ,'title'=> $botiso->getTitle(),'path_fbgui'=> $botiso->getPath_fbgui() ,'groupID'=> $botiso->getGroupID() ,'serialnumber'=> $botiso->getSerialnumber() ,'created'=> $botiso->getCreated() ,'expires'=> $botiso->getExpires() ,'public'=> $botiso->getPublic() ); + $data = array('bootisoID'=> $botiso->getID() ,'membershipID'=> $botiso->getMembershipID() ,'title'=> $botiso->getTitle(),'prebootID'=> $botiso->getPrebootID() ,'groupID'=> $botiso->getGroupID() ,'serialnumber'=> $botiso->getSerialnumber() ,'created'=> $botiso->getCreated() ,'expires'=> $botiso->getExpires() ,'public'=> $botiso->getPublic() ); if (null === ($id = $botiso->getID()) ) { unset($data['bootisoID']); @@ -75,7 +75,7 @@ class Application_Model_BootIsoMapper $row = $result->current(); - $botiso->setID($row->bootisoID)->setMembershipID($row->membershipID)->setTitle($row->title)->setPath_fbgui($row->path_fbgui)->setGroupID($row->groupID)->setSerialnumber($row->serialnumber)->setCreated($row->created)->setExpires($row->expires)->setPublic($row->public); + $botiso->setID($row->bootisoID)->setMembershipID($row->membershipID)->setTitle($row->title)->setPrebootID($row->prebootID)->setGroupID($row->groupID)->setSerialnumber($row->serialnumber)->setCreated($row->created)->setExpires($row->expires)->setPublic($row->public); } public function fetchAll() @@ -85,7 +85,7 @@ class Application_Model_BootIsoMapper foreach ($resultSet as $row) { $entry = new Application_Model_BootIso(); - $entry->setID($row->bootisoID)->setMembershipID($row->membershipID)->setTitle($row->title)->setPath_fbgui($row->path_fbgui)->setGroupID($row->groupID)->setSerialnumber($row->serialnumber)->setCreated($row->created)->setExpires($row->expires)->setPublic($row->public); + $entry->setID($row->bootisoID)->setMembershipID($row->membershipID)->setTitle($row->title)->setPrebootID($row->prebootID)->setGroupID($row->groupID)->setSerialnumber($row->serialnumber)->setCreated($row->created)->setExpires($row->expires)->setPublic($row->public); $entries[] = $entry; } |
