summaryrefslogtreecommitdiffstats
path: root/application/models/BootOsMapper.php
diff options
context:
space:
mode:
authormichael pereira2011-03-08 20:57:39 +0100
committermichael pereira2011-03-08 20:57:39 +0100
commit8f5309d8b3764d463f2a1c5da34eeb59261c2260 (patch)
tree4c9aceb27e40075316ef1124de2071e40e01e404 /application/models/BootOsMapper.php
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-8f5309d8b3764d463f2a1c5da34eeb59261c2260.tar.gz
pbs2-8f5309d8b3764d463f2a1c5da34eeb59261c2260.tar.xz
pbs2-8f5309d8b3764d463f2a1c5da34eeb59261c2260.zip
BootMenu Order fertig
Diffstat (limited to 'application/models/BootOsMapper.php')
-rw-r--r--application/models/BootOsMapper.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/application/models/BootOsMapper.php b/application/models/BootOsMapper.php
index 2f43916..a6e9a7f 100644
--- a/application/models/BootOsMapper.php
+++ b/application/models/BootOsMapper.php
@@ -64,8 +64,9 @@ class Application_Model_BootOsMapper
}
}
- public function find($id, Application_Model_BootOs $botos)
+ public function find($id)
{
+ $botos = new Application_Model_BootOs();
$result = $this->getDbTable()->find($id);
if (0 == count($result)) {
return;
@@ -74,6 +75,7 @@ class Application_Model_BootOsMapper
$row = $result->current();
$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);
+ return $botos;
}
public function fetchAll()