cvs: smarty /docs designers.sgml

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1060963610@cvsserver>
messju		Fri Aug 15 12:06:50 2003 EDT

  Modified files:              
    /smarty/docs	designers.sgml 
  Log:
  added parameter-descriptions for count_characters (thanks Konstantin
  A. Pelepelin)
  
  fixed docs for {html_checkboxes}
  
  
Index: smarty/docs/designers.sgml
diff -u smarty/docs/designers.sgml:1.77 smarty/docs/designers.sgml:1.78
--- smarty/docs/designers.sgml:1.77	Mon Aug 11 11:55:39 2003
+++ smarty/docs/designers.sgml	Fri Aug 15 12:06:49 2003
@@ -562,6 +562,34 @@
 		</sect1>
 		<sect1 id="language.modifier.count.characters">
 			<title>count_characters</title>
+            <informaltable frame=all>
+                <tgroup cols=6>
+                <colspec colname=param align=center>
+                <colspec colname=type align=center>
+                <colspec colname=required align=center>
+                <colspec colname=default align=center>
+                <colspec colname=desc>
+                <thead>
+                    <row>
+                        <entry>Parameter Position</entry>
+                        <entry>Type</entry>
+                        <entry>Required</entry>
+                        <entry>Default</entry>
+                        <entry>Description</entry>
+                    </row>
+                </thead>
+                <tbody>
+                    <row>
+                        <entry>1</entry>
+                        <entry>boolean</entry>
+                        <entry>No</entry>
+                        <entry>false</entry>
+                        <entry>This determines whether or not to include
+                        whitespace characters in the count.</entry>
+                    </row>
+                </tbody>
+                </tgroup>
+            </informaltable>
 			<para>
 			This is used to count the number of characters in a variable.
 			</para>
@@ -578,10 +606,11 @@
 
 {$articleTitle}
 {$articleTitle|count_characters}
-
+{$articleTitle|count_characters:true}
 OUTPUT:
 
 Cold Wave Linked to Temperatures.
+29
 32</programlisting>
 </example>
 		</sect1>
@@ -598,7 +627,7 @@
                     <row>
                         <entry>Parameter Position</entry>
                         <entry>Type</entry>
-                        <entry>Required</entry>       
+                        <entry>Required</entry>
                         <entry>cat</entry>
                         <entry>Description</entry>
                     </row>
@@ -3652,11 +3681,11 @@
                         <entry>an array of output for checkbox buttons</entry>
                     </row>
                     <row>
-                        <entry>checked</entry>
-                        <entry>string</entry>
+                        <entry>selected</entry>
+                        <entry>string/array</entry>
                         <entry>No</entry>
                         <entry><emphasis>empty</emphasis></entry>
-                        <entry>the checked checkbox element</entry>
+                        <entry>the checked checkbox element(s)</entry>
                     </row>
                     <row>
                         <entry>options</entry>



-- 
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.