omeka/Omeka — pull request #146 by clioweb (2012-01-26 01:58:54+00:00)
Title: Adds filters for all media callbacks in Omeka_View_Helper_Media.

Uses 'file_[callback]_display' for the filter name. (E.g. file_image_display.)

Available parameters in the filter include:

* $file
* $options (a combination of props passed to the Media bootstrap and default
options for the given callback.
* $wrapperAttributes

Employs a string replace for 'display_display' to avoid a redundant filter
name for the defaultDisplay callback.

Refs #145