summaryrefslogtreecommitdiffstats
path: root/application/models
diff options
context:
space:
mode:
authormichael pereira2011-03-18 19:24:47 +0100
committermichael pereira2011-03-18 19:24:47 +0100
commitfd0e66bf49af0bc56e68830b4c59294f0ec8c101 (patch)
treea5bd9e4e255c9a841b35931fa8f5d9c8d1ece5a2 /application/models
parentDatenbank update, PoolController (diff)
downloadpbs2-fd0e66bf49af0bc56e68830b4c59294f0ec8c101.tar.gz
pbs2-fd0e66bf49af0bc56e68830b4c59294f0ec8c101.tar.xz
pbs2-fd0e66bf49af0bc56e68830b4c59294f0ec8c101.zip
BootOs Update implementiert, BootISO anlegen und some fixes
Diffstat (limited to 'application/models')
-rw-r--r--application/models/BootIso.php10
-rw-r--r--application/models/BootIsoMapper.php6
2 files changed, 8 insertions, 8 deletions
diff --git a/application/models/BootIso.php b/application/models/BootIso.php
index f5e2c15..6354d7c 100644
--- a/application/models/BootIso.php
+++ b/application/models/BootIso.php
@@ -4,7 +4,7 @@ class Application_Model_BootIso
{
protected $_bootisoID;
protected $_title;
- protected $_path;
+ protected $_path_fbgui;
protected $_membershipID;
protected $_groupID;
protected $_serialnumber;
@@ -89,13 +89,13 @@ class Application_Model_BootIso
$this->_title = $_title;
return $this;
}
- public function getPath()
+ public function getPath_fbgui()
{
- return $this->_path;
+ return $this->_path_fbgui;
}
- public function setPath($_path)
+ public function setPath_fbgui($_path_fbgui)
{
- $this->_path = $_path;
+ $this->_path_fbgui = $_path_fbgui;
return $this;
}
public function getSerialnumber()
diff --git a/application/models/BootIsoMapper.php b/application/models/BootIsoMapper.php
index 11af0d7..bccc851 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'=> $botiso->getPath() ,'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(),'path_fbgui'=> $botiso->getPath_fbgui() ,'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($row->path)->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)->setPath_fbgui($row->path_fbgui)->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($row->path)->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)->setPath_fbgui($row->path_fbgui)->setGroupID($row->groupID)->setSerialnumber($row->serialnumber)->setCreated($row->created)->setExpires($row->expires)->setPublic($row->public);
$entries[] = $entry;
}