item_previous

New 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 $previousItem
The “previous” item relative to the one passed as the item argument. Note, the initial filter passes null here. Returning null will cause Omeka to use the default “previous” item.

Arguments

Item item
The current item

Examples

See Also

item_next