function _ldapdata_retrieve_profile_fields in LDAP integration 5.2
Same name and namespace in other branches
- 5 ldapdata.module \_ldapdata_retrieve_profile_fields()
- 6 ldapdata.module \_ldapdata_retrieve_profile_fields()
3 calls to _ldapdata_retrieve_profile_fields()
File
- ./
ldapdata.module, line 756
Code
function _ldapdata_retrieve_profile_fields() {
$sql = 'SELECT * FROM {profile_fields}';
$result = db_query($sql);
$fields = array();
while ($row = db_fetch_object($result)) {
$fields[$row->fid] = $row->name;
}
return $fields;
}