Omeka Classic Logo
  • What’s new in Omeka
  • Tutorials
  • Reference
    • Global (Theming) Functions
    • Hooks
    • Filters
    • models
    • views/helpers
    • controllers
    • Packages
      • Acl
      • Application
      • Auth
      • Captcha
      • Controller
      • Db
      • File\Derivative
      • Filter
      • Form
      • Global Functions
        • Db-related functions
        • Locale-related functions
        • Log-related functions
        • Plugin-related functions
        • Search-related functions
        • Text-related functions
        • User-related functions
        • Utility-related functions
        • View-related functions
      • Http
      • Install
      • Job
      • Navigation
      • Output
      • Plugin
      • Record
      • Session
      • Storage
      • Test
      • Validate
      • View
    • libraries/Omeka
    • Omeka REST API
  • Helping With Documentation
  • Registering a new module or theme with omeka.org
Omeka Classic
  • Reference
  • Global (Theming) Functions
  • Global Functions
  • View-related functions
  • Asset-related functions
  • View page source

Asset-related functions

Up to View-related functions

  • css_src — Get the URL to a local css file.
  • head_css — Get the CSS link tags that will be used on the page.
  • head_js — Get the JavaScript tags that will be used on the page.
  • img — Get the URL to a local image file.
  • js_tag — Get a tag for including a local JavaScript file.
  • physical_path_to — Get the filesystem path for a local asset.
  • queue_css_file — Add a CSS file or files to the current page.
  • queue_css_string — Add a CSS string to the current page.
  • queue_css_url — Add a CSS file to the current page by URL.
  • queue_js_file — Add a local JavaScript file or files to the current page.
  • queue_js_string — Add a JavaScript string to the current page.
  • queue_js_url — Add a JavaScript file to the current page by URL.
  • src — Get a URL for a given local file.
  • web_path_to — Get the URL for a local asset.
Previous Next

© Copyright 2012-2023, Omeka.

Built with Sphinx using a theme provided by Read the Docs.