mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
fixed typo in example for registered objects
This commit is contained in:
@@ -2031,7 +2031,7 @@ TEMPLATE:
|
|||||||
|
|
||||||
{* you can also assign the output *}
|
{* you can also assign the output *}
|
||||||
{foobar->meth1 p1="foo" p2=$bar assign="output"}
|
{foobar->meth1 p1="foo" p2=$bar assign="output"}
|
||||||
the output was {$output)
|
the output was {$output}
|
||||||
|
|
||||||
{* access our assigned object *}
|
{* access our assigned object *}
|
||||||
{$myobj->meth1("foo",$bar)}</programlisting>
|
{$myobj->meth1("foo",$bar)}</programlisting>
|
||||||
|
Reference in New Issue
Block a user