function me_uid_optional_load in me aliases 6
Same name and namespace in other branches
- 8 me.module \me_uid_optional_load()
- 6.2 me.module \me_uid_optional_load()
- 7 me.module \me_uid_optional_load()
Menu load callback in place of user_uid_optional_load().
File
- ./
me.module, line 376 - Provides 'me' aliases to allow users to enter 'me' in common paths instead of their user id.
Code
function me_uid_optional_load($uid, &$map = NULL, $index = NULL, $map_index = FALSE) {
$args = func_get_args();
return _me_load_arguments(isset($uid) ? $uid : $GLOBALS['user']->uid, $map, $index, $map_index, $args);
}