Omeka
Tutorials
What’s new in Omeka 2.0
Plugin Basics
Essential Classes in Omeka
The Admin Theme
Modifying Themes
International Locale Support
User-Submitted Recipes
Extending Omeka’s Standard Plugins
Reference
Omeka 2.1 API
Global (Theming) Functions
Hooks
Filters
Models
View Helpers
Controllers
Class Library by Package
Class Library by Path
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.1
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
.