source: sandbox/webservice/api/adapters/CalendarAdapter.php @ 6423

Revision 6423, 374 bytes checked in by asaikawa, 12 years ago (diff)

Ticket #2507 - Implementado o Recurso que recupera os eventos de um determinado periodo

  • Property svn:executable set to *
Line 
1<?php
2
3class CalendarAdapter extends ExpressoAdapter {
4        public function __construct($id){
5                parent::__construct($id);
6        }
7
8        protected function getUserId(){
9                return $GLOBALS['phpgw_info']['user']['account_id'];
10        }
11
12        protected function getDb(){
13                return $GLOBALS['phpgw']->db;
14        }
15
16        protected function getTimezoneOffset(){
17                return $GLOBALS['phpgw']->datetime->tz_offset;
18        }
19}
Note: See TracBrowser for help on using the repository browser.