Function smarty_function_fetch
Smarty {fetch} plugin
Type: function
Name: fetch
Purpose: fetch file, web or ftp data and display results
Package: Smarty\PluginsFunction
Author: Monte Ohrt
Link: {fetch} (Smarty online manual)
Located at tpl/smarty/plugins/function.fetch.php
Author: Monte Ohrt
Link: {fetch} (Smarty online manual)
Located at tpl/smarty/plugins/function.fetch.php
Parameters summary
array |
$params |
parameters |
|
$template |
template object |
Return value summary
string|null
|
if the assign parameter is passed, Smarty assigns the result to a template variable |
Thrown exceptions summary
|
SmartyException |