summaryrefslogtreecommitdiffstats
path: root/application/models/EventMapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/models/EventMapper.php')
-rwxr-xr-xapplication/models/EventMapper.php26
1 files changed, 0 insertions, 26 deletions
diff --git a/application/models/EventMapper.php b/application/models/EventMapper.php
index 4092bc3..3df8d30 100755
--- a/application/models/EventMapper.php
+++ b/application/models/EventMapper.php
@@ -186,20 +186,6 @@ class Application_Model_EventMapper
return array_diff_assoc($vv1,$vv2);
}
- public function fetchAllasArray($poolID) {
-
- $db = Zend_Db_Table::getDefaultAdapter();
- $select = $this->getDbTable()->select()
- ->setIntegrityCheck(false)
- ->from(array('pce' => 'poolctrl_event'))
- ->where('pce.pbs_poolID = ?', $poolID);
-
- $stmt = $db->query($select);
- $result = $stmt->fetchAll();
-
- return $result;
- }
-
public function getCategoryBarCount($poolID) {
$db = Zend_Db_Table::getDefaultAdapter();
@@ -447,18 +433,6 @@ class Application_Model_EventMapper
return $return;
}
- // Fetch all notDragging events
- public function getNotDraggingEvents($eventID) {
-
- $db = Zend_Db_Table::getDefaultAdapter();
- $select = 'SELECT * FROM poolctrl_event WHERE title <> (SELECT title FROM poolctrl_event WHERE eventID = ?)';
- $stmt = $db->query($select, array(''.$eventID));
- $return = $stmt->fetchAll();
-
- return $return;
-
- }
-
public function getOverlappingEvents($start, $end, $poolID, Application_Model_Event $event = null, $repeat = false) {
$db = Zend_Db_Table::getDefaultAdapter();
$return = array();