class for the Smarty variable object

This class defines the Smarty variable object

package Smarty
subpackage Template

 Methods

create Smarty variable object

__construct(mixed $value, boolean $nocache, int $scope) 

Parameters

$value

mixed

the value to assign

$nocache

boolean

if true any output of this variable will be not cached

$scope

int

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

<<magic>> String conversion

__toString() : string

Returns

string

 Properties

 

$nocache : boolean
 

$scope : int
 

$value : mixed