function.resurl.php
Tags
Table of Contents
- jtpl_function_html_resurl() : mixed
- function plugin : write the url corresponding to a resource stored in a www directory of a module.
Functions
jtpl_function_html_resurl()
function plugin : write the url corresponding to a resource stored in a www directory of a module.
jtpl_function_html_resurl(jTpl $tpl, string $module, array<string|int, mixed> $file[, mixed $intheme = false ][, bool $escape = true ]) : mixed
Parameters
- $tpl : jTpl
-
template engine
- $module : string
-
the module name
- $file : array<string|int, mixed>
-
the relative path of the wanted file to the www directory of the module
- $intheme : mixed = false
- $escape : bool = true
-
if true, then escape the string for html