function node_gallery_api_get_next_item in Node Gallery 7
Gets the next image in the gallery.
Parameters
int $ngid: The nid of the gallery node.
int $nid: The nid of the image node.
bool $reset: (optional) If TRUE, the caches are cleared.
Return value
int The nid of the next image in the gallery.
1 call to node_gallery_api_get_next_item()
- node_gallery_api_get_item_navigator in ./
node_gallery_api.module - Builds an array with the data necessary to navigate a gallery.
File
- ./
node_gallery_api.inc, line 641 - Node Gallery API function
Code
function node_gallery_api_get_next_item($ngid, $nid, $reset = FALSE) {
return node_gallery_api_seek_from_current_item($ngid, $nid, 1, $reset);
}