You are here

function content_access_get_per_node_settings in Content Access 5

Same name and namespace in other branches
  1. 8 content_access.module \content_access_get_per_node_settings()
  2. 6 content_access.module \content_access_get_per_node_settings()
  3. 7 content_access.module \content_access_get_per_node_settings()
1 call to content_access_get_per_node_settings()
content_access_per_node_setting in ./content_access.module

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);
}