This commit is contained in:
2026-05-15 18:33:51 +02:00
parent 3601be572f
commit c980004309
8442 changed files with 783630 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
<?php
/**
* @author krku
*/
function smarty_function_gv($params, &$smarty) {
$obj = $smarty->get_template_vars($params['o']);
if ($obj && is_object($obj) && method_exists($obj, $params['f'])) {
return $obj->$params['f']();
} else {
return '';
}
}
?>