4 * class for the Smarty variable object
5 * This class defines the Smarty variable object
20 * if true any output of this variable will be not cached
24 public $nocache = false;
27 * create Smarty variable object
29 * @param mixed $value the value to assign
30 * @param boolean $nocache if true any output of this variable will be not cached
32 public function __construct($value = null, $nocache = false)
34 $this->value = $value;
35 $this->nocache = $nocache;
39 * <<magic>> String conversion
43 public function __toString()
45 return (string) $this->value;