patch for docs

From: Date: Fri, 25 Apr 2003 13:02:29 +0000
Subject: patch for docs
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1270@lists.php.net to get a copy of this message
I've already pointed to this mistake in docs for count_characters once upon a time. So, I've made the patch. I don't have docbook-utils to check, but it should be ok. Konstantin A. Pelepelin Index: designers.sgml =================================================================== RCS file: /repository/smarty/docs/designers.sgml,v retrieving revision 1.63 diff -u -r1.63 designers.sgml --- designers.sgml 24 Apr 2003 07:43:11 -0000 1.63 +++ designers.sgml 25 Apr 2003 12:58:53 -0000 @@ -518,6 +518,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> @@ -534,11 +562,13 @@ {$articleTitle} {$articleTitle|count_characters} +{$articleTitle|count_characters:true} OUTPUT: Cold Wave Linked to Temperatures. -32</programlisting> +29 +33</programlisting> </example> </sect1> <sect1 id="language.modifier.cat">

« previous php.smarty.dev (#1270) next »