item_previous
Added in version 2.5.
Usage
Replaces the item returned by Item::previous(), and therefore also
the item linked to by the “Previous Item” link on the item show page.
Value
Item$previousItemThe “previous” item relative to the one passed as the
itemargument.In 2.7 and later, the initial filter passes
falsehere, and returningfalsefrom the filter will cause Omeka to use the default “previous” item. Returningnullwill indicate there is no previous item (that the current record is the first one in the sequence).From 2.5 through 2.6, the initial filter passes
nullhere, and returning any “falsy” value will cause Omeka to use the default “previous” item. In these versions, this filter cannot indicate the start of the sequence.
Arguments
ItemitemThe current item