mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 03:44:26 +02:00
remove debug code
This commit is contained in:
2
README
2
README
@@ -224,7 +224,7 @@ Object method chaining is implemented.
|
|||||||
Example: {$object->method1($x)->method2($y)}
|
Example: {$object->method1($x)->method2($y)}
|
||||||
|
|
||||||
{for} tag added for looping (replacement for {section} tag):
|
{for} tag added for looping (replacement for {section} tag):
|
||||||
{for $x=0, $y=count($foo); $x<$y; $i++} .... {/for}
|
{for $x=0, $y=count($foo); $x<$y; $x++} .... {/for}
|
||||||
Any number of statements can be used separated by comma as the first
|
Any number of statements can be used separated by comma as the first
|
||||||
inital expression at {for}.
|
inital expression at {for}.
|
||||||
|
|
||||||
|
@@ -662,7 +662,6 @@ class Smarty extends Smarty_Internal_Data {
|
|||||||
* @param string $name property name
|
* @param string $name property name
|
||||||
*/
|
*/
|
||||||
public function __get($name) {
|
public function __get($name) {
|
||||||
echo "inside get\n";
|
|
||||||
if(in_array($name, array('register', 'unregister', 'utility', 'cache'))) {
|
if(in_array($name, array('register', 'unregister', 'utility', 'cache'))) {
|
||||||
$class = "Smarty_Internal_" . ucfirst($name);
|
$class = "Smarty_Internal_" . ucfirst($name);
|
||||||
$this->$name = new $class($this);
|
$this->$name = new $class($this);
|
||||||
|
Reference in New Issue
Block a user