function imce_access in IMCE 6.2
Same name and namespace in other branches
- 6 imce.module \imce_access()
- 7 imce.module \imce_access()
Checks if the user has access to imce.
1 call to imce_access()
- imce_textarea in ./
imce.module - Inline image/link insertion to textareas.
1 string reference to 'imce_access'
- imce_menu in ./
imce.module - Implementation of hook_menu().
File
- ./
imce.module, line 179 - Implements the necessary hooks for the file browser to work properly.
Code
function imce_access($user = FALSE) {
if ($user === FALSE) {
global $user;
}
return imce_user_profile($user) ? TRUE : FALSE;
}