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
»
Global (Theming) Functions
»
Global Functions
»
Application-related functions
»
FilePath-related functions
»
src
Edit on GitHub
src
¶
FilePath-related functions
Summary
¶
src
(
string $file
,
string|null $dir
,
string $ext
)
Return a valid src attribute value for a given file.
Parameters:
$file
(
string
) – The filename.
$dir
(
string|null
) – The file’s directory.
$ext
(
string
) – The file’s extension.
Returns:
string
Usage
¶
Examples
¶
See Also
¶
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
.