function node_gallery_get_all_images in Node Gallery 6.2
1 call to node_gallery_get_all_images()
- _node_gallery_delete in ./
node_gallery.module - Implementation of hook_nodeapi(op='delete').
File
- ./
node_gallery.inc, line 116 - Node gallery models
Code
function node_gallery_get_all_images($node) {
$items = array();
if (in_array($node->type, node_gallery_get_types())) {
$result = db_query("SELECT * FROM {node_galleries} WHERE gid = %d", $node->nid);
while ($o = db_fetch_object($result)) {
$items[$o->nid] = $o;
}
}
return $items;
}