summaryrefslogtreecommitdiffstats
path: root/application/models/EventMapper.php
diff options
context:
space:
mode:
authorSebastian Wagner2011-10-21 19:13:38 +0200
committerSebastian Wagner2011-10-21 19:13:38 +0200
commit4561f98c7a00d74462ac771eae1796b6cca13566 (patch)
tree8f44694d11f066a7f90dc810d09fe73b1b704fb1 /application/models/EventMapper.php
parentverschiedenesĀ§ (diff)
downloadpoolctrl-4561f98c7a00d74462ac771eae1796b6cca13566.tar.gz
poolctrl-4561f98c7a00d74462ac771eae1796b6cca13566.tar.xz
poolctrl-4561f98c7a00d74462ac771eae1796b6cca13566.zip
overlapping for resizing and selecting implemented
Diffstat (limited to 'application/models/EventMapper.php')
-rwxr-xr-xapplication/models/EventMapper.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/application/models/EventMapper.php b/application/models/EventMapper.php
index 0ac7485..fff14fb 100755
--- a/application/models/EventMapper.php
+++ b/application/models/EventMapper.php
@@ -183,6 +183,20 @@ class Application_Model_EventMapper
$vv2 = $v2->toArray();
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) {