Witam mam taki problem otóż mam w pliku php to:
include('include/google-weather.php');
$city = 'Gdańsk';
$temp = 'c';
$lang = 'PL';
$smarty->assign("asd" , buildWidget($city, $temp, $lang, true, 'centered') );
i teraz ta funkcja buildWidget znajduje się w include/google-weather.php a ja potrzebuje aby wykonywała się ona w smarty