mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
fixed example for register_object
This commit is contained in:
@@ -2004,7 +2004,7 @@ When reloading the page you will notice that both dates differ. One is "dynamic"
|
|||||||
<?php
|
<?php
|
||||||
// the object
|
// the object
|
||||||
|
|
||||||
class My_Object() {
|
class My_Object {
|
||||||
function meth1($params, &$smarty_obj) {
|
function meth1($params, &$smarty_obj) {
|
||||||
return "this is my meth1";
|
return "this is my meth1";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user