function flag_get_content_id in Flag 6.2
Same name and namespace in other branches
- 7.2 flag.module \flag_get_content_id()
Get content ID from a flag content ID.
Parameters
$fcid: The flag content ID for which to look up the content ID.
File
- ./
flag.module, line 1477 - The Flag module.
Code
function flag_get_content_id($fcid) {
return db_result(db_query("SELECT content_id FROM {flag_content} WHERE fcid = %d", $fcid));
}