You are here

function node_gallery_nodeapi in Node Gallery 6

Same name and namespace in other branches
  1. 6.3 node_gallery.module \node_gallery_nodeapi()
  2. 6.2 node_gallery.module \node_gallery_nodeapi()

Implementation of hook_nodeapi().

File

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

Code

function node_gallery_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) {
  $function = '_node_gallery_' . $op;
  if (function_exists($function)) {
    call_user_func($function, $node, $a3, $a4);
  }
}