function content_access_get_per_node_settings in Content Access 5
Same name and namespace in other branches
- 8 content_access.module \content_access_get_per_node_settings()
- 6 content_access.module \content_access_get_per_node_settings()
- 7 content_access.module \content_access_get_per_node_settings()
1 call to content_access_get_per_node_settings()
File
- ./
content_access.module, line 550
Code
function content_access_get_per_node_settings($node) {
$settings = db_result(db_query("SELECT settings FROM {content_access} WHERE nid = %d", $node->nid));
if (!$settings) {
return array();
}
return unserialize($settings);
}