item_next
New in version 2.5.
Usage
Replaces the item returned by Item::next()
, and therefore also
the item linked to by the “Next Item” link on the item show page.
Value
Item
$nextItemThe “next” item relative to the one passed as the
item
argument.In 2.7 and later, the initial filter passes
false
here, and returningfalse
from the filter will cause Omeka to use the default “next” item. Returningnull
will indicate there is no next item (that the current record is the last one in the sequence).From 2.5 through 2.6, the initial filter passes
null
here, and returning any “falsy” value will cause Omeka to use the default “next” item. In these versions, this filter cannot indicate the end of the sequence.
Arguments
Item
itemThe current item