Changeset 5681 for sandbox/webservice/api/json-rpc/Expresso.php
- Timestamp:
- 03/08/12 18:44:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/webservice/api/json-rpc/Expresso.php
r5633 r5681 4 4 5 5 protected $expressoVersion; 6 protected $ldap; 6 7 var $result; 7 8 var $error; … … 24 25 } 25 26 27 protected function getUserId(){ 28 return $GLOBALS['phpgw_info']['user']['account_id']; 29 } 30 31 protected function getLdap(){ 32 if($this->ldap == null) { 33 $this->ldap = $GLOBALS['phpgw']->common->ldapConnect(); 34 } 35 36 return $this->ldap; 37 } 38 39 protected function getDb(){ 40 return $GLOBALS['phpgw']->db; 41 } 42 26 43 27 44 protected function isLoggedIn($params){
Note: See TracChangeset
for help on using the changeset viewer.