Changeset 457 for trunk/calendar_new/inc/class.bocalendar.inc.php
- Timestamp:
- 09/22/08 16:44:30 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar_new/inc/class.bocalendar.inc.php
r420 r457 53 53 // Performing SQL query 54 54 $query = "SELECT cal_id, title, description, datetime, edatetime FROM phpgw_cal where (owner = '".$this->user_id."') and ((datetime > ".$dayTime." and datetime < ".($dayTime+604800).") or (edatetime > ".$dayTime." and edatetime < ".($dayTime+604800)."))"; 55 if (!$this->db->query($query)) 56 return false; 57 58 while($this->db->next_record()) 59 $result[] = $this->db->row(); 60 61 return $result; 62 } 63 64 function requestDetailsEvent($id) { 65 // Performing SQL query 66 $query = "SELECT title, description, datetime, edatetime, groups, location FROM phpgw_cal where (owner = '".$this->user_id."') and (cal_id = ".$id.")"; 55 67 if (!$this->db->query($query)) 56 68 return false;
Note: See TracChangeset
for help on using the changeset viewer.