cvs: peardoc / global.ent /en/package/console/console-color intro.xml

From: Date: Tue, 10 Jun 2008 11:16:36 +0000
Subject: cvs: peardoc / global.ent /en/package/console/console-color intro.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-10838@lists.php.net to get a copy of this message
cweiske Tue Jun 10 11:16:36 2008 UTC Modified files: /peardoc global.ent /peardoc/en/package/console/console-color intro.xml Log: Link Console_Color API docs and tell about strip() http://cvs.php.net/viewvc.cgi/peardoc/global.ent?r1=1.107&r2=1.108&diff_format=u Index: peardoc/global.ent diff -u peardoc/global.ent:1.107 peardoc/global.ent:1.108 --- peardoc/global.ent:1.107 Mon May 19 15:06:13 2008 +++ peardoc/global.ent Tue Jun 10 11:16:36 2008 @@ -1,6 +1,6 @@ <!-- -*- SGML -*- - $Id: global.ent,v 1.107 2008/05/19 15:06:13 izi Exp $ + $Id: global.ent,v 1.108 2008/06/10 11:16:36 cweiske Exp $ Contains global "macros" for all the XML documents. @@ -270,11 +270,12 @@ <!-- For links to the API documentation generated by phpdocumentor --> <!ENTITY phpdocbase.html-page2 "http://pear.php.net/package/HTML_Page2/docs/latest/HTML_Page2/HTML_Page2.html#method"> -<!ENTITY phpdocbase.console-progressbar "http://pear.php.net/package/Console_ProgressBar/docs/latest/Console_ProgressBar/Console_ProgressBar.html#method"> +<!ENTITY phpdocbase.console-color "http://pear.php.net/package/Console_Color/docs/latest/Console_Color/Console_Color.html#method"> <!ENTITY phpdocbase.console-commandline "http://pear.php.net/package/Console_CommandLine/docs/latest/Console_CommandLine/Console_CommandLine.html#method"> -<!ENTITY phpdocbase.games-chess "http://pear.php.net/package/Games_Chess/docs/latest/Games_Chess/"> +<!ENTITY phpdocbase.console-progressbar "http://pear.php.net/package/Console_ProgressBar/docs/latest/Console_ProgressBar/Console_ProgressBar.html#method"> <!ENTITY phpdocbase.datetime-date "http://pear.php.net/package/Date/docs/latest/Date/Date.html"> <!ENTITY phpdocbase.datetime-date.method "http://pear.php.net/package/Date/docs/latest/Date/Date.html#class_methods"> <!ENTITY phpdocbase.datetime-date_span.method "http://pear.php.net/package/Date/docs/latest/Date/Date_Span.html#class_methods"> <!ENTITY phpdocbase.datetime-date_timezone.method "http://pear.php.net/package/Date/docs/latest/Date/Date_TimeZone.html#class_methods"> +<!ENTITY phpdocbase.games-chess "http://pear.php.net/package/Games_Chess/docs/latest/Games_Chess/"> <!ENTITY phpdocbase.image-image_transform "http://pear.php.net/package/Image_Transform/docs/latest/Image_Transform/Image_Transform.html#method"> http://cvs.php.net/viewvc.cgi/peardoc/en/package/console/console-color/intro.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/console/console-color/intro.xml diff -u peardoc/en/package/console/console-color/intro.xml:1.1 peardoc/en/package/console/console-color/intro.xml:1.2 --- peardoc/en/package/console/console-color/intro.xml:1.1 Fri Dec 1 10:41:22 2006 +++ peardoc/en/package/console/console-color/intro.xml Tue Jun 10 11:16:36 2008 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.console.console-color.intro"> <refnamediv> <refname>Introduction</refname> @@ -14,7 +14,8 @@ methods that directly return those codes for certain colors. </para> <para> - The method used most often is <function>convert</function>. + The method used most often is + <ulink url="&phpdocbase.console-color;convert"><function>convert</function></ulink>. It takes a string, e.g. <screen><![CDATA[%bHello World!%n\n]]></screen> or @@ -30,16 +31,27 @@ </para> <para> - Further, there is an <function>escape</function> method that prevents - special chars from being treated as markers. + Further, there is an + <ulink url="&phpdocbase.console-color;escape"><function>escape</function></ulink> + method that prevents special chars from being treated as markers. </para> <para> - Methods <function>bgcolor</function>, - <function>color</function>, <function>fgcolor</function> - and <function>style</function> directly return - ANSI control codes for the given color or style value. + Methods + <ulink url="&phpdocbase.console-color;bgbolor"><function>bgcolor</function></ulink>, + <ulink url="&phpdocbase.console-color;color"><function>color</function></ulink>, + <ulink url="&phpdocbase.console-color;fgcolor"><function>fgcolor</function></ulink> + and + <ulink url="&phpdocbase.console-color;style"><function>style</function></ulink> + directly return ANSI control codes for the given color or style value. </para> + + <para> + Using + <ulink url="&phpdocbase.console-color;strip"><function>strip</function></ulink>, + you can remove color and style codes from a string. + </para> + </refsect1> <refsect1 id="package.console.console-color.intro.example">

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