smarty_function_fetch()
smarty_function_fetch(array $params, \Smarty_Internal_Template $template) : string|null
Smarty {fetch} plugin
Type: function
Name: fetch
Purpose: fetch file, web or ftp data and display results
Parameters
array | $params | parameters |
\Smarty_Internal_Template | $template | template object |
Returns
string|null —if the assign parameter is passed, Smarty assigns the result to a template variable