summaryrefslogtreecommitdiffstats
path: root/application/models
diff options
context:
space:
mode:
Diffstat (limited to 'application/models')
-rwxr-xr-xapplication/models/EventMapper.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/application/models/EventMapper.php b/application/models/EventMapper.php
index 1b6d0fe..0ac7485 100755
--- a/application/models/EventMapper.php
+++ b/application/models/EventMapper.php
@@ -423,6 +423,19 @@ class Application_Model_EventMapper
return $return;
}
+
+ public function getDraggingEvent($eventID) {
+
+ $db = Zend_Db_Table::getDefaultAdapter();
+ $select = $this->getDbTable()->select()
+ ->from(array('pce' => 'poolctrl_event'))
+ ->where('pce.eventID = ?', $eventID);
+ $stmt = $db->query($select);
+ $return = $stmt->fetchAll();
+
+ return $return;
+
+ }
// Fetch all notDragging events
public function getNotDraggingEvents($eventID) {