mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 14:28:45 +01:00
added function to fetch some accountsdata
This commit is contained in:
parent
5471e1fda9
commit
a1aa3788b9
@ -808,6 +808,20 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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 = '')
|
function getDNforID($_accountid = '')
|
||||||
{
|
{
|
||||||
$_account_id = get_account_id($_accountid);
|
$_account_id = get_account_id($_accountid);
|
||||||
|
Loading…
Reference in New Issue
Block a user