Clears all datafields of the object and rebuild the internal blocklist
LoadTemplatefile() and setTemplate() automatically call this function when a new template is given. Don't use this function unless you know what you're doing.
The function can be used eighter like setVariable( "varname", "value") or with one array $variables["varname"] = "value" given setVariable($variables) quite like phplib templates set_var().
Tags:
access:
public
Parameters:
string
2
prefix for variable names
mixed
$variable
string with the variable name or an array %variables["varname"] = "value"
string
$value
value of the variable or empty if $variable is an array.