Omeka
What’s new in Omeka
What’s new in Omeka 2.2
What’s new in Omeka 2.1
What’s new in Omeka 2.0
Tutorials
Plugin Basics
Essential Classes in Omeka
The Admin Theme
Public Themes
File Display
International Locale Support
Extending Omeka and the Standard Plugins
User-Submitted Recipes
Reference
Global (Theming) Functions
Hooks
Filters
Models
View Helpers
Controllers
Packages
Class Library by Path
Omeka REST API
Omeka
Docs
»
Reference
»
Filters
»
file_markup
Edit on GitHub
file_markup
¶
Usage
¶
Filter the HTML for displaying a file
Value
¶
string
$html
The HTML for displaying the file
Arguments
¶
File
file
The file object
function
callback
A callback to use to generate HTML
array
options
Options to pass to the callback
string
wrapper_attributes
Attributes to apply to the wrapping
<div>
element
Read the Docs
v: stable-2.2
Versions
latest
stable-2.2
stable-2.1
stable-2.0
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.