summaryrefslogtreecommitdiffstats
path: root/application/models/EventcategoryMapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/models/EventcategoryMapper.php')
-rwxr-xr-xapplication/models/EventcategoryMapper.php31
1 files changed, 0 insertions, 31 deletions
diff --git a/application/models/EventcategoryMapper.php b/application/models/EventcategoryMapper.php
index 1ba0369..b70a116 100755
--- a/application/models/EventcategoryMapper.php
+++ b/application/models/EventcategoryMapper.php
@@ -82,37 +82,6 @@ class Application_Model_EventcategoryMapper
return $this->_dbTable;
}
-
- /*public function getCategoryCount() {
-
-
- $select = $db->select()
- ->from(array('p' => 'products'),
- array('product_id'))
- ->join(array('l' => 'line_items'),
- 'p.product_id = l.product_id',
- array('line_items_per_product' => 'COUNT(*)'))
- ->group('p.product_id');
-
-
-// Erzeugt diese Anfrage:
-// SELECT p."product_id", COUNT(*) AS line_items_per_product
-// FROM "products" AS p JOIN "line_items" AS l
-// ON p.product_id = l.product_id
-// GROUP BY p.product_id
- *
- *
- *
- *
- * SELECT category, COUNT( * ) AS count
- * FROM `poolctrl_event`
- * GROUP BY category
- * LIMIT 0 , 30
-
-
- }*/
-
-
public function save(Application_Model_Eventcategory $eventcategory)
{