\Smarty_Internal_Method_Append

Smarty Method Append

Smarty::append() method

Summary

Methods
Properties
Constants
append()
$objMap
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$objMap

$objMap : integer

Valid for all objects

Type

integer

Methods

append()

append(\Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty  $data, array|string  $tpl_var, mixed  $value = null, boolean  $merge = false, boolean  $nocache = false) : \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty

appends values to template variables

Parameters

\Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
array|string $tpl_var

the template variable name(s)

mixed $value

the value to append

boolean $merge

flag if array elements shall be merged

boolean $nocache

if true any output of this variable will be not cached

Returns

\Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty