vendor/smarty/smarty/libs/pluginsfunction.fetch.php

Smarty plugin

Functions

smarty_function_fetch()

smarty_function_fetch(array  $params, \Smarty_Internal_Template  $template) : string|null

Smarty {fetch} plugin Type: function<br> Name: fetch<br> Purpose: fetch file, web or ftp data and display results

Parameters

array $params

parameters

\Smarty_Internal_Template $template

template object

Throws

\SmartyException

Returns

string|null —

if the assign parameter is passed, Smarty assigns the result to a template variable