<?php
function smarty_function_call_webservice($params, &$smarty) {
    $service = WebService::factory($params['path']);
    if ($service[0] != null) {
        $ret = $service[0]->execute($params['data']);
        $smarty->assign($params['assign'], $ret);
    }
}
?>


<?php
function smarty_function_call_webservice($params, &$smarty) {
    $service = fennecweb\WebService::factory($params['path']);
    if ($service[0] != null) {
        $ret = $service[0]->execute($params['data']);
        $smarty->assign($params['assign'], $ret);
    }
}
?>


Add fennecweb namespace to call of webservice in smarty plugin
Add fennecweb namespace to call of webservice in smarty plugin
