cvs: peardoc /ja/package/console console-color.xml /ja/package/console/console-color colorcodes.xml intro.xml /ja/package/fileformats/file-passwd
constants.xml intro.xml /ja/package/html/html-template-it getglobalvariables.xml setoption.xml
| From: | TAKAGI Masahiro | Date: | Sat, 02 Dec 2006 06:33:48 +0000 |
| Subject: | cvs: peardoc /ja/package/console console-color.xml /ja/package/console/console-color colorcodes.xml intro.xml /ja/package/fileformats/file-passwd constants.xml intro.xml /ja/package/html/html-template-it getglobalvariables.xml setoption.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-8971@lists.php.net to get a copy of this message | ||
takagi Sat Dec 2 06:33:48 2006 UTC
Added files:
/peardoc/ja/package/html/html-template-it setoption.xml
getglobalvariables.xml
/peardoc/ja/package/fileformats/file-passwd intro.xml constants.xml
/peardoc/ja/package/console/console-color intro.xml colorcodes.xml
/peardoc/ja/package/console console-color.xml
Log:
initial translation.
http://cvs.php.net/viewvc.cgi/peardoc/ja/package/html/html-template-it/setoption.xml?view=markup&rev=1.1 Index: peardoc/ja/package/html/html-template-it/setoption.xml +++ peardoc/ja/package/html/html-template-it/setoption.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.html.html-template-it.setoption"> <refnamediv> <refname>HTML_Template_IT::setOption()</refname> <refpurpose>ãªãã·ã§ã³ãè¨å®ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'HTML/Template/IT.php'; </funcsynopsisinfo> <funcprototype> <funcdef>int <function>HTML_Template_IT::setOption</function></funcdef> <paramdef>string <parameter>$option</parameter></paramdef> <paramdef>mixed <parameter>$value</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-template-it.setoption.desc"> &title.desc; <para> ãªãã·ã§ã³ãè¨å®ãã¾ãã夿´ãããªãã·ã§ã³ã«ãã£ã¦ã¯ãHTML_Template_IT ãäºæãã¬æ¯ãèããããå¯è½æ§ããããã¨ã«æ³¨æãã¾ãããã </para> </refsect1> <refsect1 id="package.html.html-template-it.setoption.return"> &title.returns; <para> <parameter>int</parameter> - æåããå ´åã« 1ã ãã以å¤ã®å ´åã« IT_Error ãªãã¸ã§ã¯ããè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.html.html-template-it.setoption.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>mixed $option</parameter> - ãªãã·ã§ã³ã® IDã </para> </listitem> <listitem> <para> <parameter>mixed $value</parameter> - ãªãã·ã§ã³ã®æ°ããå¤ã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-template-it.setoption.options"> <title>ãªãã·ã§ã³</title> <table> <title>使ç¨ã§ãããªãã·ã§ã³</title> <tgroup cols="2"> <thead> <row> <entry>ãªãã·ã§ã³</entry> <entry>ããã©ã«ãå¤</entry> <entry>説æ</entry> </row> </thead> <tbody> <row> <entry> <literal>removeUnknownVariables</literal> </entry> <entry> <literal>&true;</literal> </entry> <entry> &true; ã®å ´åãå¤ãä»£å ¥ããã¦ããªããã³ãã¬ã¼ã夿°ã¯ãã¼ã¹æã«åé¤ããã¾ãã ãã®ãªãã·ã§ã³ã¯ãé常㯠<function>HTML_Template_IT::loadTemplatefile</function> ããã㯠<function>HTML_Template_IT::setTemplate</function> ãã³ã¼ã«ãã¦è¨å®ãã¾ãã </entry> </row> <row> <entry> <literal>removeEmptyBlocks</literal> </entry> <entry> <literal>&true;</literal> </entry> <entry> &true; ã®å ´åããã³ãã¬ã¼ã夿°ãä»£å ¥ããã¦ããªããããã¯ã¯åé¤ããã¾ãã ãã®ãªãã·ã§ã³ã¯ãé常㯠<function>HTML_Template_IT::loadTemplatefile</function> ããã㯠<function>HTML_Template_IT::setTemplate</function> ãã³ã¼ã«ãã¦è¨å®ãã¾ãã </entry> </row> <row> <entry> <literal>clearCache</literal> </entry> <entry> <literal>&false;</literal> </entry> <entry> &true; ã®å ´åããã¼ã¹ããããããã¯ããã£ãã·ã¥ãã¾ããã <emphasis>æå³ãããããªãå ´åã¯ãããã©ã«ãã®ã¾ã¾ã«ãã¦ããã¦ãã ãã</emphasis>ã </entry> </row> <row> <entry> <literal>clearCacheOnParse</literal> </entry> <entry> <literal>&false;</literal> </entry> <entry> &true; ã®å ´åã¯ããã¼ã¹å¾ã«å¤æ°ãã£ãã·ã¥ãæ¶å»ããã¾ãã <emphasis>æå³ãããããªãå ´åã¯ãããã©ã«ãã®ã¾ã¾ã«ãã¦ããã¦ãã ãã</emphasis>ã </entry> </row> <row> <entry> <literal>openingDelimiter</literal> </entry> <entry> <literal>'{'</literal> </entry> <entry> ãã³ãã¬ã¼ã夿°ã®éå§æåãæå®ãã¾ãããã®å¤ã夿´ãããã <function>init</function> ãã³ã¼ã«ãã¦ãã³ãã¬ã¼ããå度åæåããå¿ è¦ãããã¾ãã <emphasis>æå³ãããããªãå ´åã¯ãããã©ã«ãã®ã¾ã¾ã«ãã¦ããã¦ãã ãã</emphasis>ã </entry> </row> <row> <entry> <literal>closingDelimiter</literal> </entry> <entry> <literal>'}'</literal> </entry> <entry> ãã³ãã¬ã¼ã夿°ã®çµäºæåãæå®ãã¾ãããã®å¤ã夿´ãããã <function>init</function> ãã³ã¼ã«ãã¦ãã³ãã¬ã¼ããå度åæåããå¿ è¦ãããã¾ãã <emphasis>æå³ãããããªãå ´åã¯ãããã©ã«ãã®ã¾ã¾ã«ãã¦ããã¦ãã ãã</emphasis>ã </entry> </row> <row> <entry> <literal>blocknameRegExp</literal> </entry> <entry> <literal>'[\.0-9A-Za-z_-]+'</literal> </entry> <entry> ãããã¯åã®ãã¼ã¹ã«ä½¿ç¨ããæ£è¦è¡¨ç¾ã§ãããã®å¤ã夿´ãããã <function>init</function> ãã³ã¼ã«ãã¦ãã³ãã¬ã¼ããå度åæåããå¿ è¦ãããã¾ãã <emphasis>æå³ãããããªãå ´åã¯ãããã©ã«ãã®ã¾ã¾ã«ãã¦ããã¦ãã ãã</emphasis>ã </entry> </row> <row> <entry> <literal>variablenameRegExp</literal> </entry> <entry> <literal>'[\.0-9A-Za-z_-]+'</literal> </entry> <entry> ãã³ãã¬ã¼ã夿°åã®ãã¼ã¹ã«ä½¿ç¨ããæ£è¦è¡¨ç¾ã§ãããã®å¤ã夿´ãããã <function>init</function> ãã³ã¼ã«ãã¦ãã³ãã¬ã¼ããå度åæåããå¿ è¦ãããã¾ãã <emphasis>æå³ãããããªãå ´åã¯ãããã©ã«ãã®ã¾ã¾ã«ãã¦ããã¦ãã ãã</emphasis>ã </entry> </row> </tbody> </tgroup> </table> </refsect1> <refsect1 id="package.html.html-template-it.setoption.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-template-it.setoption.see"> &title.see; <para> <link linkend="package.html.html-template-it.loadtemplatefile"> <function>HTML_Template_IT::loadTemplatefile</function></link> </para> <para> <link linkend="package.html.html-template-it.settemplate"> <function>HTML_Template_IT::setTemplate</function></link> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/html/html-template-it/getglobalvariables.xml?view=markup&rev=1.1 Index: peardoc/ja/package/html/html-template-it/getglobalvariables.xml +++ peardoc/ja/package/html/html-template-it/getglobalvariables.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.html.html-template-it.getglobalvariables"> <refnamediv> <refname>HTML_Template_IT::getGlobalvariables()</refname> <refpurpose>å ¨ã°ãã¼ãã«å¤æ°ã®é åã夿°ãã£ãã·ã¥ããè¿ã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'HTML/Template/IT.php'; </funcsynopsisinfo> <funcprototype> <funcdef>array <function>HTML_Template_IT::getGlobalvariables</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-template-it.getglobalvariables.desc"> &title.desc; <para> å ¨ã°ãã¼ãã«å¤æ°ã®é åã夿°ãã£ãã·ã¥ããåå¾ãã¾ãã <function>HTML_Template_IT::setVariable</function> ã使ç¨ãã¦ä»£å ¥ãã夿°ã®ã¿ãè¿ããã¾ããè¿ãããå¤ã¯äºã¤ã§ã æåã®å¤ã¯ã°ãã¼ãã«å¤æ°ã®ååã®é åã§ãã äºçªç®ã®å¤ããã¹ã¦ã®å¤æ°ã®é åã¨ãªãã¾ãã </para> </refsect1> <refsect1 id="package.html.html-template-it.getglobalvariables.return"> &title.returns; <para> <parameter>array</parameter> - é åãè¿ãã¾ãã ãã¼ 0 ã«ã¯ä»£å ¥ããã夿°ã®ååãé åã§æ ¼ç´ããããã¼ 1 ã«ã¯å¯¾å¿ããå¤ãé åã§æ ¼ç´ããã¾ãã </para> </refsect1> <refsect1 id="package.html.html-template-it.getglobalvariables.example"> &title.example; <example> <title>ã¹ã¯ãªãã</title> <programlisting role="php"> <![CDATA[ <?php require_once("HTML/Template/IT.php"); $template = <<<EOF <!-- BEGIN a --> Hello {username} <!-- END a --> Welcome to {page}, You are visitor number {visitorcount}. EOF; $tpl = new HTML_Template_IT('.'); $tpl->setTemplate($template); // 夿° {page} ãè¨å®ãã¾ããããã getGlobalvariables ã§è¿ããã¾ãã $tpl->setVariable("page", "http://example.com"); $tpl->setVariable("username", "foo"); // getGlobalvariables 㯠{username} ãè¿ãã¾ãããã°ãã¼ãã«å¤æ°ã§ã¯ãªãããã§ãã // ã¾ã {visitorcount} ãè¿ãã¾ãããè¨å®ããã¦ããªãããã§ãã print_r($tpl->getGlobalvariables()); ?> ]]> </programlisting> </example> <example> <title>åºå</title> <programlisting> <![CDATA[ Array ( [0] => Array ( [0] => @{page}@ ) [1] => Array ( [0] => http://example.com ) ) ]]> </programlisting> </example> </refsect1> <refsect1 id="package.html.html-template-it.getglobalvariables.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-template-it.getglobalvariables.see"> &title.see; <para> <link linkend="package.html.html-template-it.setvariable"> <function>HTML_Template_IT::setVariable</function></link> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/fileformats/file-passwd/intro.xml?view=markup&rev=1.1 Index: peardoc/ja/package/fileformats/file-passwd/intro.xml +++ peardoc/ja/package/fileformats/file-passwd/intro.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <sect2 id="package.fileformats.file-passwd.intro"> <title>å°å ¥</title> <refentry id="package.fileformats.file-passwd.intro.introduction"> <refnamediv> <refname>å°å ¥</refname> <refpurpose /> </refnamediv> <refsect1 id="package.fileformats.file-passwd.intro.facilities"> <title>File_Passwd ã®æ°æ©è½</title> <para> æ°ãã File_Passwd ããã±ã¼ã¸ã«ã¯ã ãã¾ãã¾ãªç¨®é¡ã®ãã¹ã¯ã¼ããã¡ã¤ã«ãæ±ãæ©è½ãããã¾ãã </para> <formalpara> <title>ç¾å¨ãµãã¼ããã¦ãããã¹ã¯ã¼ããã¡ã¤ã«å½¢å¼</title> <para> UnixãCVSãSMBãAuthUserFileãAuthDigestFile ããã³ç¬èªãã©ã¼ãããã®ãã¹ã¯ã¼ããã¡ã¤ã«ããµãã¼ããã¾ãã </para> </formalpara> </refsect1> <refsect1 id="package.fileformats.file-passwd.intro.fileformat"> <title>ãã¡ã¤ã«ãã©ã¼ããã</title> <para> <command>passwd</command> ã¹ã¿ã¤ã«ã¨ã¯ã次ã®ãããªå½¢å¼ã®ãã¡ã¤ã«ã§ãã <programlisting> ã¦ã¼ã¶<åºåãæå>ãã¹ã¯ã¼ã </programlisting> </para> <para> åºåãæåã¯ãé常ã¯ã³ãã³ã§ãã </para> <para> æ°ãã <classname>File_Passwd_Custom</classname> ã¯ã©ã¹ã使ç¨ããã¨ã åºåãæåã夿´ãããã¨ãã§ãã¾ããããããã®éã¯ã ãã¹ã¯ã¼ããã¡ã¤ã«ã®ã«ã©ã ã«ãã®åºåãæåãå«ã¾ãã¦ã¯ãããªããã¨ã«æ³¨æãã¾ãããã </para> </refsect1> </refentry> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/fileformats/file-passwd/constants.xml?view=markup&rev=1.1 Index: peardoc/ja/package/fileformats/file-passwd/constants.xml +++ peardoc/ja/package/fileformats/file-passwd/constants.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.fileformats.file-passwd.constants"> <refnamediv> <refname>File_Passwd 宿°</refname> <refpurpose>File_Passwd ã§ä½¿ç¨ãã¦ãã宿°</refpurpose> </refnamediv> <refsect1 id="package.fileformats.file-passwd.constants.details"> <title>&title.constants;</title> <table> <title>æå·å宿°</title> <tgroup cols="3"> <thead> <row> <entry>åå</entry> <entry>å¤</entry> <entry>説æ</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_DES</entry> <entry>"des"</entry> <entry>DES encryption</entry> </row> <row> <entry>FILE_PASSWD_MD5</entry> <entry>"md5"</entry> <entry>MD5 encryption</entry> </row> <row> <entry>FILE_PASSWD_SHA</entry> <entry>"sha"</entry> <entry>SHA encryption</entry> </row> <row> <entry>FILE_PASSWD_NT</entry> <entry>"nt"</entry> <entry>NT hash</entry> </row> <row> <entry>FILE_PASSWD_LM</entry> <entry>"lm"</entry> <entry>LM hash</entry> </row> <row> <entry>FILE_PASSWD_PLAIN</entry> <entry>"plain"</entry> <entry>no encryption</entry> </row> </tbody> </tgroup> </table> <table> <title>Error Constants</title> <tgroup cols="3"> <thead> <row> <entry>Name</entry> <entry>Value</entry> <entry>Description</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_UNDEFINED</entry> <entry>0</entry> <entry>undefined - some seldom occuring errors</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_FORMAT</entry> <entry>1</entry> <entry>passwd file has invalid format</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_PROPERTY</entry> <entry>2</entry> <entry>an invalid (additional) property was supplied</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_CHARS</entry> <entry>3</entry> <entry>parameter contains illegal chracters (usually only alphanumerics, the dash and underline are allowed)</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_ENC_MODE</entry> <entry>4</entry> <entry>an invalid encryption mode was supplied (depending on the class actually used)</entry> </row> <row> <entry>FILE_PASSWD_E_EXISTS_ALREADY</entry> <entry>5</entry> <entry>an entry (user, group, etc) to add exists already</entry> </row> <row> <entry>FILE_PASSWD_E_EXISTS_NOT</entry> <entry>6</entry> <entry>an entry (user, group, etc) to delete/change doesn't exist</entry> </row> <row> <entry>FILE_PASSWD_E_USER_NOT_IN_GROUP</entry> <entry>7</entry> <entry>the specified user is not in this certain group</entry> </row> <row> <entry>FILE_PASSWD_E_USER_NOT_IN_REALM</entry> <entry>8</entry> <entry>the specified user is not in this certain realm</entry> </row> <row> <entry>FILE_PASSWD_E_PARAM_MUST_BE_ARRAY</entry> <entry>9</entry> <entry>the supplied param must be of type array</entry> </row> <row> <entry>FILE_PASSWD_E_METHOD_NOT_IMPLEMENTED</entry> <entry>10</entry> <entry>requested method was not implemented yet</entry> </row> <row> <entry>FILE_PASSWD_E_DIR_NOT_CREATED</entry> <entry>11</entry> <entry>a certain directory couldn't be created</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_OPENED</entry> <entry>12</entry> <entry>passwd file couldn't be opened</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> <entry>13</entry> <entry>passwd file couldn't be locked</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry> <entry>14</entry> <entry>passwd file couldn't be unlocked</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> <entry>15</entry> <entry>passwd file couldn't be closed</entry> </row> </tbody> </tgroup> </table> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/console/console-color/intro.xml?view=markup&rev=1.1 Index: peardoc/ja/package/console/console-color/intro.xml +++ peardoc/ja/package/console/console-color/intro.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.console.console-color.intro"> <refnamediv> <refname>å°å ¥</refname> <refpurpose>Console_Color ã®ä½¿ç¨æ³</refpurpose> </refnamediv> <refsect1 id="package.console.console-color.intro.basics"> <title>åºæ¬</title> <para> <classname>Console_Color</classname> ãæä¾ããã¡ã½ããã«ã¯ã ç¹æ®ãªãã¼ã«ã¼ã§ã¿ã°ä»ããããæååã ANSI äºæã®è²ã³ã¼ã表ç¾ã«å¤æãããã®ãããã¾ãã ã¾ããæå®ããè²ã«å¯¾å¿ããã³ã¼ããç´æ¥è¿ãã¡ã½ãããããã¾ãã </para> <para> æãé »ç¹ã«ä½¿ç¨ããã¡ã½ãã㯠<function>convert</function> ã§ãã ãã㯠<screen><![CDATA[%bHello World!%n\n]]></screen> ããã㯠<screen><![CDATA[3 out of 4 people make up about %r75%% %n]]></screen> ã®ãããªæååãåãåããããã ANSI 表ç¾ã§è¿ãã¾ãã ãã¼ã»ã³ãè¨å· (%) ã®å¾ã«ç¶ãæåã«ã¯ç¹å¥ãªæå³ãããã¾ãããã®æ¦è¦ã«ã¤ãã¦ã¯ <link linkend="package.console.console-color.colorcodes">è²ã³ã¼ã</link> ãåç §ãã ããã </para> <para> è²ãé常ã®ç¶æ ã«æ»ãã«ã¯ã<literal>%n</literal> ã使ç¨ãã¾ãã </para> <para> ããã«ã<function>escape</function> ã¡ã½ããã使ç¨ããã¨ã ç¹æ®æåããã¼ã¯ã¨ãã¦æ±ãããªãããã«ã§ãã¾ãã </para> <para> ã¡ã½ãã <function>bgcolor</function>ã <function>color</function>ã<function>fgcolor</function> ããã³ <function>style</function> ã¯ã æå®ããè²ãã¹ã¿ã¤ã«ã«å¯¾å¿ãã ANSI å¶å¾¡ã³ã¼ããç´æ¥è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.console.console-color.intro.example"> <title>ä¾</title> <programlisting role="php"><![CDATA[ <?php require 'Console/Color.php'; // éã«ãã¾ã print Console_Color::convert("%bHello World!%n\n"); // ãã£ã¨ã«ã©ãã«ã«ãã¾ã print Console_Color::convert("%rred%n, %ggreen%n, %yyellow%n\n"); ?> ]]></programlisting> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/console/console-color/colorcodes.xml?view=markup&rev=1.1 Index: peardoc/ja/package/console/console-color/colorcodes.xml +++ peardoc/ja/package/console/console-color/colorcodes.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.console.console-color.colorcodes"> <refnamediv> <refname>è²ã³ã¼ã</refname> <refpurpose>表形å¼ã®ãªãã¡ã¬ã³ã¹</refpurpose> </refnamediv> <refsect1 id="package.console.console-color.colorcodes.description"> <title>説æ</title> <table> <title>è²ã³ã¼ã</title> <tgroup cols="4"> <thead> <row> <entry>è²</entry> <entry>é常ããã¹ã</entry> <entry>強調ããã¹ã</entry> <entry>èæ¯</entry> </row> </thead> <tbody> <row> <entry>é»</entry> <entry><literal>%k</literal></entry> <entry><literal>%K</literal></entry> <entry><literal>%0</literal></entry> </row> <row> <entry>赤</entry> <entry><literal>%r</literal></entry> <entry><literal>%R</literal></entry> <entry><literal>%1</literal></entry> </row> <row> <entry>ç·</entry> <entry><literal>%g</literal></entry> <entry><literal>%G</literal></entry> <entry><literal>%2</literal></entry> </row> <row> <entry>é»è²</entry> <entry><literal>%y</literal></entry> <entry><literal>%Y</literal></entry> <entry><literal>%3</literal></entry> </row> <row> <entry>é</entry> <entry><literal>%b</literal></entry> <entry><literal>%B</literal></entry> <entry><literal>%4</literal></entry> </row> <row> <entry>ãã¼ã³ã¿</entry> <entry><literal>%m</literal></entry> <entry><literal>%m</literal></entry> <entry><literal>%5</literal></entry> </row> <row> <entry>ç´«</entry> <entry><literal>%p</literal></entry> <entry><literal>%P</literal></entry> <entry></entry> </row> <row> <entry>ã·ã¢ã³</entry> <entry><literal>%c</literal></entry> <entry><literal>%C</literal></entry> <entry><literal>%6</literal></entry> </row> <row> <entry>ç½</entry> <entry><literal>%w</literal></entry> <entry><literal>%W</literal></entry> <entry><literal>%7</literal></entry> </row> </tbody> </tgroup> </table> <table> <title>ã¹ã¿ã¤ã«ã³ã¼ã</title> <tgroup cols="2"> <thead> <row> <entry>ã¹ã¿ã¤ã«</entry> <entry>ã³ã¼ã</entry> </row> </thead> <tbody> <row> <entry>ç¹æ» ããã©ãã·ã¥</entry> <entry><literal>%F</literal></entry> </row> <row> <entry>ã¢ã³ãã¼ã©ã¤ã³</entry> <entry><literal>%U</literal></entry> </row> <row> <entry>å転</entry> <entry><literal>%8</literal></entry> </row> <row> <entry>強調</entry> <entry><literal>%_</literal>, <literal>%9</literal></entry> </row> <row> <entry>ãªã»ãã</entry> <entry><literal>%n</literal></entry> </row> <row> <entry>æåã¨ãã¦ã® %</entry> <entry><literal>%%</literal></entry> </row> </tbody> </tgroup> </table> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/console/console-color.xml?view=markup&rev=1.1 Index: peardoc/ja/package/console/console-color.xml +++ peardoc/ja/package/console/console-color.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <sect1 id="package.console.console-color"> <title>Console_Color</title> <para> <classname>Console_Color</classname> ã使ç¨ããã¨ã 使ããã¢ããªã±ã¼ã·ã§ã³ã®åºåã«ã ANSI ã³ã³ã½ã¼ã«ã«ã©ã¼ãç¨ãã¦ç°¡åã«è²ãã¤ãããã¨ãã§ãã¾ãã </para> &package.console.console-color.intro; &package.console.console-color.colorcodes; </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
http://cvs.php.net/viewvc.cgi/peardoc/ja/package/html/html-template-it/setoption.xml?view=markup&rev=1.1 Index: peardoc/ja/package/html/html-template-it/setoption.xml +++ peardoc/ja/package/html/html-template-it/setoption.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.html.html-template-it.setoption"> <refnamediv> <refname>HTML_Template_IT::setOption()</refname> <refpurpose>ãªãã·ã§ã³ãè¨å®ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'HTML/Template/IT.php'; </funcsynopsisinfo> <funcprototype> <funcdef>int <function>HTML_Template_IT::setOption</function></funcdef> <paramdef>string <parameter>$option</parameter></paramdef> <paramdef>mixed <parameter>$value</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-template-it.setoption.desc"> &title.desc; <para> ãªãã·ã§ã³ãè¨å®ãã¾ãã夿´ãããªãã·ã§ã³ã«ãã£ã¦ã¯ãHTML_Template_IT ãäºæãã¬æ¯ãèããããå¯è½æ§ããããã¨ã«æ³¨æãã¾ãããã </para> </refsect1> <refsect1 id="package.html.html-template-it.setoption.return"> &title.returns; <para> <parameter>int</parameter> - æåããå ´åã« 1ã ãã以å¤ã®å ´åã« IT_Error ãªãã¸ã§ã¯ããè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.html.html-template-it.setoption.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>mixed $option</parameter> - ãªãã·ã§ã³ã® IDã </para> </listitem> <listitem> <para> <parameter>mixed $value</parameter> - ãªãã·ã§ã³ã®æ°ããå¤ã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-template-it.setoption.options"> <title>ãªãã·ã§ã³</title> <table> <title>使ç¨ã§ãããªãã·ã§ã³</title> <tgroup cols="2"> <thead> <row> <entry>ãªãã·ã§ã³</entry> <entry>ããã©ã«ãå¤</entry> <entry>説æ</entry> </row> </thead> <tbody> <row> <entry> <literal>removeUnknownVariables</literal> </entry> <entry> <literal>&true;</literal> </entry> <entry> &true; ã®å ´åãå¤ãä»£å ¥ããã¦ããªããã³ãã¬ã¼ã夿°ã¯ãã¼ã¹æã«åé¤ããã¾ãã ãã®ãªãã·ã§ã³ã¯ãé常㯠<function>HTML_Template_IT::loadTemplatefile</function> ããã㯠<function>HTML_Template_IT::setTemplate</function> ãã³ã¼ã«ãã¦è¨å®ãã¾ãã </entry> </row> <row> <entry> <literal>removeEmptyBlocks</literal> </entry> <entry> <literal>&true;</literal> </entry> <entry> &true; ã®å ´åããã³ãã¬ã¼ã夿°ãä»£å ¥ããã¦ããªããããã¯ã¯åé¤ããã¾ãã ãã®ãªãã·ã§ã³ã¯ãé常㯠<function>HTML_Template_IT::loadTemplatefile</function> ããã㯠<function>HTML_Template_IT::setTemplate</function> ãã³ã¼ã«ãã¦è¨å®ãã¾ãã </entry> </row> <row> <entry> <literal>clearCache</literal> </entry> <entry> <literal>&false;</literal> </entry> <entry> &true; ã®å ´åããã¼ã¹ããããããã¯ããã£ãã·ã¥ãã¾ããã <emphasis>æå³ãããããªãå ´åã¯ãããã©ã«ãã®ã¾ã¾ã«ãã¦ããã¦ãã ãã</emphasis>ã </entry> </row> <row> <entry> <literal>clearCacheOnParse</literal> </entry> <entry> <literal>&false;</literal> </entry> <entry> &true; ã®å ´åã¯ããã¼ã¹å¾ã«å¤æ°ãã£ãã·ã¥ãæ¶å»ããã¾ãã <emphasis>æå³ãããããªãå ´åã¯ãããã©ã«ãã®ã¾ã¾ã«ãã¦ããã¦ãã ãã</emphasis>ã </entry> </row> <row> <entry> <literal>openingDelimiter</literal> </entry> <entry> <literal>'{'</literal> </entry> <entry> ãã³ãã¬ã¼ã夿°ã®éå§æåãæå®ãã¾ãããã®å¤ã夿´ãããã <function>init</function> ãã³ã¼ã«ãã¦ãã³ãã¬ã¼ããå度åæåããå¿ è¦ãããã¾ãã <emphasis>æå³ãããããªãå ´åã¯ãããã©ã«ãã®ã¾ã¾ã«ãã¦ããã¦ãã ãã</emphasis>ã </entry> </row> <row> <entry> <literal>closingDelimiter</literal> </entry> <entry> <literal>'}'</literal> </entry> <entry> ãã³ãã¬ã¼ã夿°ã®çµäºæåãæå®ãã¾ãããã®å¤ã夿´ãããã <function>init</function> ãã³ã¼ã«ãã¦ãã³ãã¬ã¼ããå度åæåããå¿ è¦ãããã¾ãã <emphasis>æå³ãããããªãå ´åã¯ãããã©ã«ãã®ã¾ã¾ã«ãã¦ããã¦ãã ãã</emphasis>ã </entry> </row> <row> <entry> <literal>blocknameRegExp</literal> </entry> <entry> <literal>'[\.0-9A-Za-z_-]+'</literal> </entry> <entry> ãããã¯åã®ãã¼ã¹ã«ä½¿ç¨ããæ£è¦è¡¨ç¾ã§ãããã®å¤ã夿´ãããã <function>init</function> ãã³ã¼ã«ãã¦ãã³ãã¬ã¼ããå度åæåããå¿ è¦ãããã¾ãã <emphasis>æå³ãããããªãå ´åã¯ãããã©ã«ãã®ã¾ã¾ã«ãã¦ããã¦ãã ãã</emphasis>ã </entry> </row> <row> <entry> <literal>variablenameRegExp</literal> </entry> <entry> <literal>'[\.0-9A-Za-z_-]+'</literal> </entry> <entry> ãã³ãã¬ã¼ã夿°åã®ãã¼ã¹ã«ä½¿ç¨ããæ£è¦è¡¨ç¾ã§ãããã®å¤ã夿´ãããã <function>init</function> ãã³ã¼ã«ãã¦ãã³ãã¬ã¼ããå度åæåããå¿ è¦ãããã¾ãã <emphasis>æå³ãããããªãå ´åã¯ãããã©ã«ãã®ã¾ã¾ã«ãã¦ããã¦ãã ãã</emphasis>ã </entry> </row> </tbody> </tgroup> </table> </refsect1> <refsect1 id="package.html.html-template-it.setoption.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-template-it.setoption.see"> &title.see; <para> <link linkend="package.html.html-template-it.loadtemplatefile"> <function>HTML_Template_IT::loadTemplatefile</function></link> </para> <para> <link linkend="package.html.html-template-it.settemplate"> <function>HTML_Template_IT::setTemplate</function></link> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/html/html-template-it/getglobalvariables.xml?view=markup&rev=1.1 Index: peardoc/ja/package/html/html-template-it/getglobalvariables.xml +++ peardoc/ja/package/html/html-template-it/getglobalvariables.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.html.html-template-it.getglobalvariables"> <refnamediv> <refname>HTML_Template_IT::getGlobalvariables()</refname> <refpurpose>å ¨ã°ãã¼ãã«å¤æ°ã®é åã夿°ãã£ãã·ã¥ããè¿ã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'HTML/Template/IT.php'; </funcsynopsisinfo> <funcprototype> <funcdef>array <function>HTML_Template_IT::getGlobalvariables</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-template-it.getglobalvariables.desc"> &title.desc; <para> å ¨ã°ãã¼ãã«å¤æ°ã®é åã夿°ãã£ãã·ã¥ããåå¾ãã¾ãã <function>HTML_Template_IT::setVariable</function> ã使ç¨ãã¦ä»£å ¥ãã夿°ã®ã¿ãè¿ããã¾ããè¿ãããå¤ã¯äºã¤ã§ã æåã®å¤ã¯ã°ãã¼ãã«å¤æ°ã®ååã®é åã§ãã äºçªç®ã®å¤ããã¹ã¦ã®å¤æ°ã®é åã¨ãªãã¾ãã </para> </refsect1> <refsect1 id="package.html.html-template-it.getglobalvariables.return"> &title.returns; <para> <parameter>array</parameter> - é åãè¿ãã¾ãã ãã¼ 0 ã«ã¯ä»£å ¥ããã夿°ã®ååãé åã§æ ¼ç´ããããã¼ 1 ã«ã¯å¯¾å¿ããå¤ãé åã§æ ¼ç´ããã¾ãã </para> </refsect1> <refsect1 id="package.html.html-template-it.getglobalvariables.example"> &title.example; <example> <title>ã¹ã¯ãªãã</title> <programlisting role="php"> <![CDATA[ <?php require_once("HTML/Template/IT.php"); $template = <<<EOF <!-- BEGIN a --> Hello {username} <!-- END a --> Welcome to {page}, You are visitor number {visitorcount}. EOF; $tpl = new HTML_Template_IT('.'); $tpl->setTemplate($template); // 夿° {page} ãè¨å®ãã¾ããããã getGlobalvariables ã§è¿ããã¾ãã $tpl->setVariable("page", "http://example.com"); $tpl->setVariable("username", "foo"); // getGlobalvariables 㯠{username} ãè¿ãã¾ãããã°ãã¼ãã«å¤æ°ã§ã¯ãªãããã§ãã // ã¾ã {visitorcount} ãè¿ãã¾ãããè¨å®ããã¦ããªãããã§ãã print_r($tpl->getGlobalvariables()); ?> ]]> </programlisting> </example> <example> <title>åºå</title> <programlisting> <![CDATA[ Array ( [0] => Array ( [0] => @{page}@ ) [1] => Array ( [0] => http://example.com ) ) ]]> </programlisting> </example> </refsect1> <refsect1 id="package.html.html-template-it.getglobalvariables.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-template-it.getglobalvariables.see"> &title.see; <para> <link linkend="package.html.html-template-it.setvariable"> <function>HTML_Template_IT::setVariable</function></link> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/fileformats/file-passwd/intro.xml?view=markup&rev=1.1 Index: peardoc/ja/package/fileformats/file-passwd/intro.xml +++ peardoc/ja/package/fileformats/file-passwd/intro.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <sect2 id="package.fileformats.file-passwd.intro"> <title>å°å ¥</title> <refentry id="package.fileformats.file-passwd.intro.introduction"> <refnamediv> <refname>å°å ¥</refname> <refpurpose /> </refnamediv> <refsect1 id="package.fileformats.file-passwd.intro.facilities"> <title>File_Passwd ã®æ°æ©è½</title> <para> æ°ãã File_Passwd ããã±ã¼ã¸ã«ã¯ã ãã¾ãã¾ãªç¨®é¡ã®ãã¹ã¯ã¼ããã¡ã¤ã«ãæ±ãæ©è½ãããã¾ãã </para> <formalpara> <title>ç¾å¨ãµãã¼ããã¦ãããã¹ã¯ã¼ããã¡ã¤ã«å½¢å¼</title> <para> UnixãCVSãSMBãAuthUserFileãAuthDigestFile ããã³ç¬èªãã©ã¼ãããã®ãã¹ã¯ã¼ããã¡ã¤ã«ããµãã¼ããã¾ãã </para> </formalpara> </refsect1> <refsect1 id="package.fileformats.file-passwd.intro.fileformat"> <title>ãã¡ã¤ã«ãã©ã¼ããã</title> <para> <command>passwd</command> ã¹ã¿ã¤ã«ã¨ã¯ã次ã®ãããªå½¢å¼ã®ãã¡ã¤ã«ã§ãã <programlisting> ã¦ã¼ã¶<åºåãæå>ãã¹ã¯ã¼ã </programlisting> </para> <para> åºåãæåã¯ãé常ã¯ã³ãã³ã§ãã </para> <para> æ°ãã <classname>File_Passwd_Custom</classname> ã¯ã©ã¹ã使ç¨ããã¨ã åºåãæåã夿´ãããã¨ãã§ãã¾ããããããã®éã¯ã ãã¹ã¯ã¼ããã¡ã¤ã«ã®ã«ã©ã ã«ãã®åºåãæåãå«ã¾ãã¦ã¯ãããªããã¨ã«æ³¨æãã¾ãããã </para> </refsect1> </refentry> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/fileformats/file-passwd/constants.xml?view=markup&rev=1.1 Index: peardoc/ja/package/fileformats/file-passwd/constants.xml +++ peardoc/ja/package/fileformats/file-passwd/constants.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.fileformats.file-passwd.constants"> <refnamediv> <refname>File_Passwd 宿°</refname> <refpurpose>File_Passwd ã§ä½¿ç¨ãã¦ãã宿°</refpurpose> </refnamediv> <refsect1 id="package.fileformats.file-passwd.constants.details"> <title>&title.constants;</title> <table> <title>æå·å宿°</title> <tgroup cols="3"> <thead> <row> <entry>åå</entry> <entry>å¤</entry> <entry>説æ</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_DES</entry> <entry>"des"</entry> <entry>DES encryption</entry> </row> <row> <entry>FILE_PASSWD_MD5</entry> <entry>"md5"</entry> <entry>MD5 encryption</entry> </row> <row> <entry>FILE_PASSWD_SHA</entry> <entry>"sha"</entry> <entry>SHA encryption</entry> </row> <row> <entry>FILE_PASSWD_NT</entry> <entry>"nt"</entry> <entry>NT hash</entry> </row> <row> <entry>FILE_PASSWD_LM</entry> <entry>"lm"</entry> <entry>LM hash</entry> </row> <row> <entry>FILE_PASSWD_PLAIN</entry> <entry>"plain"</entry> <entry>no encryption</entry> </row> </tbody> </tgroup> </table> <table> <title>Error Constants</title> <tgroup cols="3"> <thead> <row> <entry>Name</entry> <entry>Value</entry> <entry>Description</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_UNDEFINED</entry> <entry>0</entry> <entry>undefined - some seldom occuring errors</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_FORMAT</entry> <entry>1</entry> <entry>passwd file has invalid format</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_PROPERTY</entry> <entry>2</entry> <entry>an invalid (additional) property was supplied</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_CHARS</entry> <entry>3</entry> <entry>parameter contains illegal chracters (usually only alphanumerics, the dash and underline are allowed)</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_ENC_MODE</entry> <entry>4</entry> <entry>an invalid encryption mode was supplied (depending on the class actually used)</entry> </row> <row> <entry>FILE_PASSWD_E_EXISTS_ALREADY</entry> <entry>5</entry> <entry>an entry (user, group, etc) to add exists already</entry> </row> <row> <entry>FILE_PASSWD_E_EXISTS_NOT</entry> <entry>6</entry> <entry>an entry (user, group, etc) to delete/change doesn't exist</entry> </row> <row> <entry>FILE_PASSWD_E_USER_NOT_IN_GROUP</entry> <entry>7</entry> <entry>the specified user is not in this certain group</entry> </row> <row> <entry>FILE_PASSWD_E_USER_NOT_IN_REALM</entry> <entry>8</entry> <entry>the specified user is not in this certain realm</entry> </row> <row> <entry>FILE_PASSWD_E_PARAM_MUST_BE_ARRAY</entry> <entry>9</entry> <entry>the supplied param must be of type array</entry> </row> <row> <entry>FILE_PASSWD_E_METHOD_NOT_IMPLEMENTED</entry> <entry>10</entry> <entry>requested method was not implemented yet</entry> </row> <row> <entry>FILE_PASSWD_E_DIR_NOT_CREATED</entry> <entry>11</entry> <entry>a certain directory couldn't be created</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_OPENED</entry> <entry>12</entry> <entry>passwd file couldn't be opened</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> <entry>13</entry> <entry>passwd file couldn't be locked</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry> <entry>14</entry> <entry>passwd file couldn't be unlocked</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> <entry>15</entry> <entry>passwd file couldn't be closed</entry> </row> </tbody> </tgroup> </table> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/console/console-color/intro.xml?view=markup&rev=1.1 Index: peardoc/ja/package/console/console-color/intro.xml +++ peardoc/ja/package/console/console-color/intro.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.console.console-color.intro"> <refnamediv> <refname>å°å ¥</refname> <refpurpose>Console_Color ã®ä½¿ç¨æ³</refpurpose> </refnamediv> <refsect1 id="package.console.console-color.intro.basics"> <title>åºæ¬</title> <para> <classname>Console_Color</classname> ãæä¾ããã¡ã½ããã«ã¯ã ç¹æ®ãªãã¼ã«ã¼ã§ã¿ã°ä»ããããæååã ANSI äºæã®è²ã³ã¼ã表ç¾ã«å¤æãããã®ãããã¾ãã ã¾ããæå®ããè²ã«å¯¾å¿ããã³ã¼ããç´æ¥è¿ãã¡ã½ãããããã¾ãã </para> <para> æãé »ç¹ã«ä½¿ç¨ããã¡ã½ãã㯠<function>convert</function> ã§ãã ãã㯠<screen><![CDATA[%bHello World!%n\n]]></screen> ããã㯠<screen><![CDATA[3 out of 4 people make up about %r75%% %n]]></screen> ã®ãããªæååãåãåããããã ANSI 表ç¾ã§è¿ãã¾ãã ãã¼ã»ã³ãè¨å· (%) ã®å¾ã«ç¶ãæåã«ã¯ç¹å¥ãªæå³ãããã¾ãããã®æ¦è¦ã«ã¤ãã¦ã¯ <link linkend="package.console.console-color.colorcodes">è²ã³ã¼ã</link> ãåç §ãã ããã </para> <para> è²ãé常ã®ç¶æ ã«æ»ãã«ã¯ã<literal>%n</literal> ã使ç¨ãã¾ãã </para> <para> ããã«ã<function>escape</function> ã¡ã½ããã使ç¨ããã¨ã ç¹æ®æåããã¼ã¯ã¨ãã¦æ±ãããªãããã«ã§ãã¾ãã </para> <para> ã¡ã½ãã <function>bgcolor</function>ã <function>color</function>ã<function>fgcolor</function> ããã³ <function>style</function> ã¯ã æå®ããè²ãã¹ã¿ã¤ã«ã«å¯¾å¿ãã ANSI å¶å¾¡ã³ã¼ããç´æ¥è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.console.console-color.intro.example"> <title>ä¾</title> <programlisting role="php"><![CDATA[ <?php require 'Console/Color.php'; // éã«ãã¾ã print Console_Color::convert("%bHello World!%n\n"); // ãã£ã¨ã«ã©ãã«ã«ãã¾ã print Console_Color::convert("%rred%n, %ggreen%n, %yyellow%n\n"); ?> ]]></programlisting> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/console/console-color/colorcodes.xml?view=markup&rev=1.1 Index: peardoc/ja/package/console/console-color/colorcodes.xml +++ peardoc/ja/package/console/console-color/colorcodes.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.console.console-color.colorcodes"> <refnamediv> <refname>è²ã³ã¼ã</refname> <refpurpose>表形å¼ã®ãªãã¡ã¬ã³ã¹</refpurpose> </refnamediv> <refsect1 id="package.console.console-color.colorcodes.description"> <title>説æ</title> <table> <title>è²ã³ã¼ã</title> <tgroup cols="4"> <thead> <row> <entry>è²</entry> <entry>é常ããã¹ã</entry> <entry>強調ããã¹ã</entry> <entry>èæ¯</entry> </row> </thead> <tbody> <row> <entry>é»</entry> <entry><literal>%k</literal></entry> <entry><literal>%K</literal></entry> <entry><literal>%0</literal></entry> </row> <row> <entry>赤</entry> <entry><literal>%r</literal></entry> <entry><literal>%R</literal></entry> <entry><literal>%1</literal></entry> </row> <row> <entry>ç·</entry> <entry><literal>%g</literal></entry> <entry><literal>%G</literal></entry> <entry><literal>%2</literal></entry> </row> <row> <entry>é»è²</entry> <entry><literal>%y</literal></entry> <entry><literal>%Y</literal></entry> <entry><literal>%3</literal></entry> </row> <row> <entry>é</entry> <entry><literal>%b</literal></entry> <entry><literal>%B</literal></entry> <entry><literal>%4</literal></entry> </row> <row> <entry>ãã¼ã³ã¿</entry> <entry><literal>%m</literal></entry> <entry><literal>%m</literal></entry> <entry><literal>%5</literal></entry> </row> <row> <entry>ç´«</entry> <entry><literal>%p</literal></entry> <entry><literal>%P</literal></entry> <entry></entry> </row> <row> <entry>ã·ã¢ã³</entry> <entry><literal>%c</literal></entry> <entry><literal>%C</literal></entry> <entry><literal>%6</literal></entry> </row> <row> <entry>ç½</entry> <entry><literal>%w</literal></entry> <entry><literal>%W</literal></entry> <entry><literal>%7</literal></entry> </row> </tbody> </tgroup> </table> <table> <title>ã¹ã¿ã¤ã«ã³ã¼ã</title> <tgroup cols="2"> <thead> <row> <entry>ã¹ã¿ã¤ã«</entry> <entry>ã³ã¼ã</entry> </row> </thead> <tbody> <row> <entry>ç¹æ» ããã©ãã·ã¥</entry> <entry><literal>%F</literal></entry> </row> <row> <entry>ã¢ã³ãã¼ã©ã¤ã³</entry> <entry><literal>%U</literal></entry> </row> <row> <entry>å転</entry> <entry><literal>%8</literal></entry> </row> <row> <entry>強調</entry> <entry><literal>%_</literal>, <literal>%9</literal></entry> </row> <row> <entry>ãªã»ãã</entry> <entry><literal>%n</literal></entry> </row> <row> <entry>æåã¨ãã¦ã® %</entry> <entry><literal>%%</literal></entry> </row> </tbody> </tgroup> </table> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/console/console-color.xml?view=markup&rev=1.1 Index: peardoc/ja/package/console/console-color.xml +++ peardoc/ja/package/console/console-color.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <sect1 id="package.console.console-color"> <title>Console_Color</title> <para> <classname>Console_Color</classname> ã使ç¨ããã¨ã 使ããã¢ããªã±ã¼ã·ã§ã³ã®åºåã«ã ANSI ã³ã³ã½ã¼ã«ã«ã©ã¼ãç¨ãã¦ç°¡åã«è²ãã¤ãããã¨ãã§ãã¾ãã </para> &package.console.console-color.intro; &package.console.console-color.colorcodes; </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->