You are here

function node_gallery_multi_node_access in Node Gallery 6.3

1 string reference to 'node_gallery_multi_node_access'
node_gallery_menu in ./node_gallery.module
Implements hook_menu().

File

./node_gallery.module, line 98
Node gallery module file.

Code

function node_gallery_multi_node_access($ops, $types) {
  foreach ($ops as $op) {
    $type = array_shift($types);
    if (!node_access($op, $type)) {
      return FALSE;
    }
  }
  return TRUE;
}