SUIT Framework

Scripting Using Integrated Templates

Docs - var

12/27/2015: SUIT Framework is no longer actively maintained.

Available Since: Rulebox (1.0.0)

Grab a variable.

Syntax [var ( entities="bool" json="bool" )]var[/var]
Parameters
var

The name of the variable to grab.

entities

Whether or not the output should have the HTML entities transformed. (Default: true)

json

Whether or not the variable should be JSON encoded. (Default: false)

Static Variables
decode

The variables to be JSON decoded. (Default: ["entities", "json"])

delimiter

The string that separates the levels of the variable. (Default: ".")

owner

The object to grab the variable from. (Default: templating.var)

Output

The variable.

Config Notes
See Also