function imce_load_profile in IMCE 6.2
Same name and namespace in other branches
- 6 inc/admin.inc \imce_load_profile()
- 7 inc/imce.admin.inc \imce_load_profile()
Profile load.
3 calls to imce_load_profile()
- imce_admin_check_wildcard_upload in inc/
imce.admin.inc - Checks if the given role can upload all extensions.
- imce_profile_delete_form in inc/
imce.admin.inc - Profile delete form
- imce_profile_form in inc/
imce.admin.inc - Profile form.
File
- inc/
imce.admin.inc, line 654 - Serves administration pages of IMCE.
Code
function imce_load_profile($pid) {
$profiles = variable_get('imce_profiles', array());
return isset($profiles[$pid]) ? $profiles[$pid] : NULL;
}