\Smarty_Variable

class for the Smarty variable object

This class defines the Smarty variable object

Summary

Methods
Properties
Constants
__construct()
__toString()
$value
$nocache
$scope
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$value

$value : mixed

template variable

Type

mixed

$nocache

$nocache : boolean

if true any output of this variable will be not cached

Type

boolean

$scope

$scope : integer

the scope the variable will have (local,parent or root)

Type

integer

Methods

__construct()

__construct(mixed  $value = null, boolean  $nocache = false, integer  $scope = \Smarty::SCOPE_LOCAL) 

create Smarty variable object

Parameters

mixed $value

the value to assign

boolean $nocache

if true any output of this variable will be not cached

integer $scope

the scope the variable will have (local,parent or root)

__toString()

__toString() : string

<<magic>> String conversion

Returns

string