function ldapdata_user in LDAP integration 5
Same name and namespace in other branches
- 5.2 ldapdata.module \ldapdata_user()
- 6 ldapdata.module \ldapdata_user()
Implements hook_user()
File
- ./
ldapdata.module, line 54
Code
function ldapdata_user($op, &$edit, &$user, $category = NULL) {
switch ($op) {
case 'categories':
return ldapdata_user_categories($user);
case 'form':
return ldapdata_user_form($user, $category);
case 'load':
ldapdata_user_load($user);
break;
case 'login':
ldapdata_user_login($user);
break;
case 'update':
ldapdata_user_update($edit, $user, $category);
break;
case 'view':
return ldapdata_user_view($user);
}
}