cvs: smarty /docs/en/designers/language-basic-syntax language-syntax-variables.xml

"Monte Ohrt" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmohrt1103055947@cvsserver>
mohrt		Tue Dec 14 15:25:47 2004 EDT

  Modified files:              
    /smarty/docs/en/designers/language-basic-syntax	
                                                   	language-syntax-variables.xml 
  Log:
  correct explanation of $foo->bar()
  
  
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-basic-syntax/language-syntax-variables.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/en/designers/language-basic-syntax/language-syntax-variables.xml
diff -u smarty/docs/en/designers/language-basic-syntax/language-syntax-variables.xml:1.2 smarty/docs/en/designers/language-basic-syntax/language-syntax-variables.xml:1.3
--- smarty/docs/en/designers/language-basic-syntax/language-syntax-variables.xml:1.2	Tue Dec 14 09:40:32 2004
+++ smarty/docs/en/designers/language-basic-syntax/language-syntax-variables.xml	Tue Dec 14 15:25:44 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <sect1 id="language.syntax.variables">
  <title>Variables</title>
  <para>
@@ -19,7 +19,7 @@
 {$foo.bar}    <-- display the "bar" key value of an array, similar to PHP $foo['bar']
 {$foo.$bar}   <-- display variable key value of an array, similar to PHP $foo[$bar]
 {$foo->bar}   <-- display the object property "bar"
-{$foo->bar()} <-- display the object method "bar"
+{$foo->bar()} <-- display the return value of object method "bar"
 {#foo#}       <-- display the config file variable "foo"
 {$smarty.config.foo} <-- synonym for {#foo#}
 {$foo[bar]}   <-- syntax only valid in a section loop, see {section}

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.