mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +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
|
||||
// the object
|
||||
|
||||
class My_Object() {
|
||||
class My_Object {
|
||||
function meth1($params, &$smarty_obj) {
|
||||
return "this is my meth1";
|
||||
}
|
||||
|
Reference in New Issue
Block a user