diff options
author | wei <> | 2006-07-28 06:06:32 +0000 |
---|---|---|
committer | wei <> | 2006-07-28 06:06:32 +0000 |
commit | 5fc75a5f53fa07971b604c5318da5bf07379ef89 (patch) | |
tree | 2a88f91df64f0182e245e3b87ee3c2658fdc06aa /demos/time-tracker/protected/App_Code/UserReportsDao.php | |
parent | caa348ceabba58447bf8deddb8c6316ff3dc88ce (diff) |
Complete Time-Tracker demo app.
Diffstat (limited to 'demos/time-tracker/protected/App_Code/UserReportsDao.php')
-rw-r--r-- | demos/time-tracker/protected/App_Code/UserReportsDao.php | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/demos/time-tracker/protected/App_Code/UserReportsDao.php b/demos/time-tracker/protected/App_Code/UserReportsDao.php deleted file mode 100644 index c6eab660..00000000 --- a/demos/time-tracker/protected/App_Code/UserReportsDao.php +++ /dev/null @@ -1,26 +0,0 @@ -<?php
-
-class UserReportsDao extends BaseDao
-{
- public function getUserTimeReport($username)
- {
- $sqlmap = $this->getConnection();
- return $sqlmap->queryForObject('GetTimeReportByUsername', $username);
- }
-
- public function getTimeReportsByCategoryID($categoryID)
- {
- $sqlmap = $this->getConnection();
- return $sqlmap->queryForList('GetTimeReportByCategoryID', $categoryID);
- }
-
- public function getTimeReportsByProjectIDs($projects)
- {
- $ids = implode(',', array_map('intval', $projects));
- $sqlmap = $this->getConnection();
- return $sqlmap->queryForList('GetTimeReportByProjectIDs', $ids);
- }
-
-}
-
-?>
\ No newline at end of file |