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.