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
»
Packages
»
Global Functions
»
View-related functions
»
Asset-related functions
»
web_path_to
— Get the URL for a local asset.
Edit on GitHub
web_path_to
— Get the URL for a local asset.
¶
Asset-related functions
Summary
¶
web_path_to
(
$file
)
¶
Get the URL for a local asset.
Parameters:
$file
(
string
) – The filename.
Returns:
string
Usage
¶
Examples
¶
See Also
¶
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
.