Changeset 5896
- Timestamp:
- 04/09/12 14:12:58 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/webservice/api/json-rpc/Expresso.php
r5895 r5896 27 27 protected function getUserProfile(){ 28 28 return array( 29 ' account_id'=> $GLOBALS['phpgw_info']['user']['account_id'],30 ' email' => $GLOBALS['phpgw_info']['user']['email'],31 ' telephonenumber' => $GLOBALS['phpgw_info']['user']['telephonenumber'],32 ' fullname'=> $GLOBALS['phpgw_info']['user']['fullname']29 'contactID' => $GLOBALS['phpgw_info']['user']['account_id'], 30 'contactMails' => array($GLOBALS['phpgw_info']['user']['email']), 31 'contactPhones' => array($GLOBALS['phpgw_info']['user']['telephonenumber']), 32 'contactFullName' => $GLOBALS['phpgw_info']['user']['fullname'] 33 33 ); 34 34 } … … 77 77 $this->result = array( 78 78 'auth' => $sessionid.":".$GLOBALS['phpgw']->session->kp3, 79 'profile' => $this->getUserProfile()79 'profile' => array($this->getUserProfile()) 80 80 ); 81 81 }
Note: See TracChangeset
for help on using the changeset viewer.