XOOPS
2.6.0
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
compiler.xoImgUrl.php
Go to the documentation of this file.
1
<?php
34
function
smarty_compiler_xoImgUrl
($params,
Smarty
$smarty)
35
{
36
$xoops
=
\Xoops::getInstance
();
37
$xoTheme
=
$xoops
->theme();
38
$arg = reset($params);
39
$arg = trim($arg,
" '\"\t\n\r\0\x0B"
);
40
$path
= (isset(
$xoTheme
) && is_object(
$xoTheme
)) ?
$xoTheme
->resourcePath($arg) : $arg;
41
//$xoops->events()->triggerEvent('debug.log', $path);
42
return
"<?php echo '"
. addslashes(
$xoops
->url(
$path
)) .
"'; ?>"
;
43
44
}
$path
$path
Definition:
execute.php:31
$xoTheme
$xoTheme
Definition:
common.php:262
Xoops\getInstance
static getInstance()
Definition:
Xoops.php:160
smarty_compiler_xoImgUrl
smarty_compiler_xoImgUrl($params, Smarty $smarty)
Definition:
compiler.xoImgUrl.php:34
Smarty
$xoops
$xoops
Definition:
admin.php:25
usr64
htdocs
xoops_lib
smarty
xoops_plugins
compiler.xoImgUrl.php
Generated on Fri May 22 2015 03:07:04 for XOOPS by
1.8.9.1