added function to fetch some accountsdata

This commit is contained in:
ceb 2002-03-14 02:26:21 +00:00
parent 5471e1fda9
commit a1aa3788b9

View File

@ -808,6 +808,20 @@
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 = '')
{
$_account_id = get_account_id($_accountid);