Ignore:
Timestamp:
03/08/12 18:44:26 (12 years ago)
Author:
niltonneto
Message:

Ticket #2507 - Implementada primeira parte do método Catalog.getUserContacts().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/webservice/api/json-rpc/Expresso.php

    r5633 r5681  
    44 
    55        protected $expressoVersion; 
     6        protected $ldap; 
    67        var $result; 
    78        var $error; 
     
    2425        }        
    2526                 
     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         
    2643         
    2744        protected function isLoggedIn($params){ 
Note: See TracChangeset for help on using the changeset viewer.