cvs: peardoc /en/package/text text-figlet.xml

From: Date: Mon, 16 Apr 2007 05:50:07 +0000
Subject: cvs: peardoc /en/package/text text-figlet.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-9640@lists.php.net to get a copy of this message
cweiske Mon Apr 16 05:50:07 2007 UTC Modified files: /peardoc/en/package/text text-figlet.xml Log: Fix function case http://cvs.php.net/viewvc.cgi/peardoc/en/package/text/text-figlet.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/text/text-figlet.xml diff -u peardoc/en/package/text/text-figlet.xml:1.1 peardoc/en/package/text/text-figlet.xml:1.2 --- peardoc/en/package/text/text-figlet.xml:1.1 Mon Apr 9 18:19:52 2007 +++ peardoc/en/package/text/text-figlet.xml Mon Apr 16 05:50:07 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <sect1 id="package.text.text-figlet"> <title>Text_Figlet</title> @@ -28,12 +28,12 @@ <title>Using the Text_Figlet class</title> <para> <classname>Text_Figlet</classname> has only two methods you can use: - <function>LoadFont</function> to select a FIGlet font file that will be used - later on, and <function>LineEcho</function> that actually returns the + <function>loadFont</function> to select a FIGlet font file that will be used + later on, and <function>lineEcho</function> that actually returns the passed text, rendered with the previously selected font. </para> <para> - <function>LoadFont</function> takes the name/path of the FIGlet font file + <function>loadFont</function> takes the name/path of the FIGlet font file (<literal>*.flf</literal> or <literal>*.flf.gz</literal>) as first parameter, and the option if German characters should also be loaded as second, optional parameter (defaults to <literal>true</literal>). @@ -41,8 +41,8 @@ be loaded, or a <classname>PEAR_Error</classname> in case of a problem. </para> <para> - <function>LineEcho</function> can be called (multiple times if needed) after - loading the font with <function>LoadFont</function>. The method takes the text + <function>lineEcho</function> can be called (multiple times if needed) after + loading the font with <function>loadFont</function>. The method takes the text that should be rendered using the font as first parameter, and an optional second parameter that determines if the text should be outputted in HTML text. In this case, special characters are escaped and everything is setup @@ -87,7 +87,7 @@ <listitem><para>script.flf</para></listitem> <listitem><para>slant.flf</para></listitem> </itemizedlist> - Passing one of the font names to <function>LoadFont</function> will + Passing one of the font names to <function>loadFont</function> will automatically look them up in the <classname>Text_Figlet</classname> font data directory if they are not found. </para>

« previous php.pear.doc (#9640) next »