function _cmf_get_user_path in Content Management Filter 5
Same name and namespace in other branches
- 6.2 cmf.module \_cmf_get_user_path()
- 6 cmf.module \_cmf_get_user_path()
- 7 cmf.module \_cmf_get_user_path()
Get the alias path to a user profile
Parameters
user ID:
Return value
the relative URL of the user profile
1 call to _cmf_get_user_path()
- theme_cmf_user in ./
cmf.module - Theme user cell on table result.
File
- ./
cmf.module, line 745 - @brief Content management filter module file
Code
function _cmf_get_user_path($uid) {
return db_result(db_query('SELECT dst FROM {url_alias} WHERE src = "%s";', 'user/' . $uid));
}