1: <?php
2:
3: function smarty_function_call_webservice($params, &$smarty) {
4: require_once 'TranscriptDB//WebService.php';
5: $service = WebService::factory($params['path']);
6: if ($service[0] != null) {
7: $ret = $service[0]->execute($params['data']);
8: $smarty->assign($params['assign'], $ret);
9: }
10: }
11:
12: ?>
13: