function acl_get_id_by_name in ACL 5
Same name and namespace in other branches
- 8 acl.module \acl_get_id_by_name()
- 6 acl.module \acl_get_id_by_name()
- 7 acl.module \acl_get_id_by_name()
Gets the id of an acl
File
- ./
acl.module, line 203 - acl.module
Code
function acl_get_id_by_name($module, $name) {
return db_result(db_query("SELECT acl_id FROM {acl} WHERE module = '%s' AND name = '%s'", $module, $name));
}