phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/inc class.accounts_ldap.inc.php,1.104,1


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.accounts_ldap.inc.php,1.104,1.105
Date: Wed, 13 Mar 2002 21:26:24 -0500

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv12580

Modified Files:
        class.accounts_ldap.inc.php 
Log Message:
added function to fetch some accountsdata

Index: class.accounts_ldap.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.accounts_ldap.inc.php,v
retrieving revision 1.104
retrieving revision 1.105
diff -C2 -r1.104 -r1.105
*** class.accounts_ldap.inc.php 8 Mar 2002 04:08:12 -0000       1.104
--- class.accounts_ldap.inc.php 14 Mar 2002 02:26:21 -0000      1.105
***************
*** 809,812 ****
--- 809,826 ----
                }
  
+               function get_account_data($account_id)
+               {
+                       $this->account_id = $account_id;
+                       $this->read_repository();
+ 
+                       $data[$this->data['account_id']]['lid']                 
= $this->data['account_lid'];
+                       $data[$this->data['account_id']]['firstname']   = 
$this->data['firstname'];
+                       $data[$this->data['account_id']]['lastname']    = 
$this->data['lastname'];
+                       $data[$this->data['account_id']]['fullname']    = 
$this->data['fullname'];
+                       $data[$this->data['account_id']]['type']                
= $this->data['account_type'];
+ 
+                       return $data;
+               }
+ 
                function getDNforID($_accountid = '')
                {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]