summaryrefslogtreecommitdiffstats
path: root/application/models
diff options
context:
space:
mode:
authorBjörn Geiger2011-08-19 12:17:05 +0200
committerBjörn Geiger2011-08-19 12:17:05 +0200
commit66e31d50e89a9f11e0caba36a9febb6c0b58fd5c (patch)
tree46a87da5e7db8cc9bdfda2d6d36535c58717b044 /application/models
parentminor (diff)
downloadpoolctrl-66e31d50e89a9f11e0caba36a9febb6c0b58fd5c.tar.gz
poolctrl-66e31d50e89a9f11e0caba36a9febb6c0b58fd5c.tar.xz
poolctrl-66e31d50e89a9f11e0caba36a9febb6c0b58fd5c.zip
korrektur
Diffstat (limited to 'application/models')
-rw-r--r--application/models/Event.php10
-rw-r--r--application/models/EventMapper.php6
2 files changed, 8 insertions, 8 deletions
diff --git a/application/models/Event.php b/application/models/Event.php
index 7554442..9033824 100644
--- a/application/models/Event.php
+++ b/application/models/Event.php
@@ -27,7 +27,7 @@ class Application_Model_Event
protected $_repeat;
protected $_immediate;
protected $_running;
- protected $_runningType;
+ protected $_runningtype;
protected $_note;
public function __construct(array $options = null)
@@ -278,14 +278,14 @@ class Application_Model_Event
return $this;
}
- public function getRunningType()
+ public function getRunningtype()
{
- return $this->_runningType;
+ return $this->_runningtype;
}
- public function setRunningType($_runningType)
+ public function setRunningtype($_runningtype)
{
- $this->_runningType = $_runningType;
+ $this->_runningtype = $_runningtype;
return $this;
}
}
diff --git a/application/models/EventMapper.php b/application/models/EventMapper.php
index f700b39..98e6c14 100644
--- a/application/models/EventMapper.php
+++ b/application/models/EventMapper.php
@@ -85,7 +85,7 @@ class Application_Model_EventMapper
public function save(Application_Model_Event $event)
{
- $data = array('eventID'=> $event->getID() ,'category'=> $event->getCategory() ,'title'=> $event->getTitle(), 'pbs_membershipID'=> $event->getPbs_membershipID(),'end'=> $event->getEnd() ,'immediate'=> $event->getImmediate() ,'note'=> $event->getNote() ,'participants'=> $event->getParticipants() ,'pbs_bootosID'=> $event->getPbs_bootosID(),'pbs_poolID'=> $event->getPbs_poolID(),'repeat'=> $event->getRepeat(),'start'=> $event->getStart(),'pbs_bootmenuID'=> $event->getPbs_bootmenuID(),'pbs_filterID'=> $event->getPbs_filterID(), 'running' => $event->getRunning(), 'runningType' => $event->getRunningType() );
+ $data = array('eventID'=> $event->getID() ,'category'=> $event->getCategory() ,'title'=> $event->getTitle(), 'pbs_membershipID'=> $event->getPbs_membershipID(),'end'=> $event->getEnd() ,'immediate'=> $event->getImmediate() ,'note'=> $event->getNote() ,'participants'=> $event->getParticipants() ,'pbs_bootosID'=> $event->getPbs_bootosID(),'pbs_poolID'=> $event->getPbs_poolID(),'repeat'=> $event->getRepeat(),'start'=> $event->getStart(),'pbs_bootmenuID'=> $event->getPbs_bootmenuID(),'pbs_filterID'=> $event->getPbs_filterID(), 'running' => $event->getRunning(), 'runningtype' => $event->getRunningtype() );
if (null === ($id = $event->getID()) ) {
unset($data['eventID']);
return $this->getDbTable()->insert($data);
@@ -132,7 +132,7 @@ class Application_Model_EventMapper
->setRepeat($row->repeat)
->setStart($row->start)
->setRunning($row->running)
- ->setRunningType($row->runningType);
+ ->setRunningtype($row->runningtype);
}
public function fetchAll()
@@ -159,7 +159,7 @@ class Application_Model_EventMapper
->setRepeat($row->repeat)
->setStart($row->start)
->setRunning($row->running)
- ->setRunningType($row->runningType);
+ ->setRunningtype($row->runningtype);
$entries[$row->eventID] = $entry;
}