Functions:assign
From Dwoo Docs
Assigns a value to a variable
assign(mixed $value, string $var)
- value : the value that you want to save
- var : the variable name (without the leading $)
Example :
{assign 'test string' myVar}
Variable contains: {$myVar}
Output:
Variable contains: test string
Note that this plugin was mostly provided for smarty compatibility, it is easier to do it with the = operator, just as in any language, using :
{$myVar='test string'}




