- added __toString method to the Smarty_Variable class

This commit is contained in:
Uwe.Tews
2010-06-18 15:10:35 +00:00
parent 6ba7d10ccd
commit 7cd84ed640
2 changed files with 147 additions and 133 deletions

View File

@@ -1,6 +1,15 @@
18/06/2010
- added __toString method to the Smarty_Variable class
14/06/2010
- make handling of Smarty comments followed by newline BC to Smarty2
===== RC2 =====
13/06/2010
- bugfix Smarty3 did not handle hexadecimals like 0x0F as numerical value
- bugifx Smarty3 did not accept numerical constants like .1 or 2. (without a leading or trailing digit)

View File

@@ -445,6 +445,11 @@ class Smarty_Variable {
$this->nocache = $nocache;
$this->scope = $scope;
}
public function __toString ()
{
return $this->value;
}
}
/**