cvs: peardoc /ja/packages/phpdoc doccomments.xml introduction.xml keywordauthor.xml keywordconst.xml keyworddeprecated.xml keywordglobal.xml
keywordpackage.xml keywordparam.xml keywordreturn.xml keywordsee.xml keywordsince.xml keywordstatic.xml keywordvar.xml requirements.xml usingtool.xml
| From: | Rui Hirokawa | Date: | Sun, 24 Feb 2002 10:07:58 +0000 |
| Subject: | cvs: peardoc /ja/packages/phpdoc doccomments.xml introduction.xml keywordauthor.xml keywordconst.xml keyworddeprecated.xml keywordglobal.xml keywordpackage.xml keywordparam.xml keywordreturn.xml keywordsee.xml keywordsince.xml keywordstatic.xml keywordvar.xml requirements.xml usingtool.xml |
||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-2587@lists.php.net to get a copy of this message | ||
hirokawa Sun Feb 24 05:07:58 2002 EDT
Added files:
/peardoc/ja/packages/phpdoc doccomments.xml introduction.xml
keywordauthor.xml keywordconst.xml
keyworddeprecated.xml keywordglobal.xml
keywordpackage.xml keywordparam.xml
keywordreturn.xml keywordsee.xml
keywordsince.xml keywordstatic.xml
keywordvar.xml requirements.xml
usingtool.xml
Log:
added phpdoc
Index: peardoc/ja/packages/phpdoc/doccomments.xml +++ peardoc/ja/packages/phpdoc/doccomments.xml <!-- $Id: doccomments.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.doccomments"> <refnamediv> <refname>docã³ã¡ã³ã</refname> <refpurpose> docã³ã¡ã³ãã®æ§é </refpurpose> </refnamediv> <refsect1 id="packages.phpdoc.doccomments.format"> <title>docã³ã¡ã³ãå½¢å¼</title> <para> docã³ã¡ã³ãã®ä¸è¬çãªå½¢å¼ã¯ãè¨è¿°ããè¦ç´ ã¨ã¯ç¬ç«ã§ããã³ã¡ã³ãã¨è¦ ç´ ã®éã«ç©ºè¡ä»¥å¤ã®ãã®ã¯ä½ãè¨è¿°ããªãããã«ãã¦ä¸ããã <programlisting role="php"> <![CDATA[ /** * çã説æ - 1è¡ * * 詳細ãªèª¬æ (ãªãã·ã§ã³) * è¤æ°è¡ã«ãããã説æé¨åã«ç©ºç½è¡ã¯ä¸è¦ã§ãã * * @keyword ãã¼ã¯ã¼ããã©ã¡ã¼ã¿ * @keyword ä»»æã®ãã¼ã¯ã¼ãã®ä¸¦ã³ */ [element to describe] ]]> </programlisting> </para> <para> è¦ç´ ã®å <itemizedlist> <listitem> <para><parameter>class</parameter></para> </listitem> <listitem> <para><parameter>function</parameter></para> </listitem> <listitem> <para><parameter>var</parameter></para> </listitem> <listitem> <para><parameter>define</parameter></para> </listitem> <listitem> <para><parameter>include/require</parameter></para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.doccomments.shortdesc"> <title>çã説ææ</title> <para> ãã®è¡ã«ã¯ãããè¦ç´ ã«å«ã¾ãããã®ã¾ãã¯åä½ãè¨è¿°ãã¾ããããªãã¡ã 夿°ã®å ´å"Count of articles"ã颿°ã®å ´å"Creates a hyperlink"ã㯠ã©ã¹ã®å ´åã"provides PDF-related functions"ã¨ãã£ãããã«ãªãã¾ãã é常ããã®è¡ãç´¢å¼ãã¼ã¸ã¾ãã¯ç®æ¬¡ã§åç §ããã¾ãã </para> <note> <para> 1è¡ã¯ãå é ã®<parameter>*</parameter>ã¨æ¹è¡æåã®éã®ãã®å ¨ã¦ãæ å³ãã¾ãã </para> </note> </refsect1> <refsect1 id="packages.phpdoc.doccomments.detaildesc"> <title>説æé¨åã®è©³ç´°</title> <para> ããã§ã¯ã使ããè¦ç´ ã«ã¤ãã¦ãã詳細ã«è¨è¿°ãããã¨ãå¯è½ã§ããã ã©ã¡ã¼ã¿ãè¿ãå¤ãkeywordã»ã¯ã·ã§ã³ã§è¨è¿°ãããè¦ç´ ã¨ã®éã®é¢ä¿ã«æ³¨ æãã¦ä¸ãããããã§ä½¿ç¨å¯è½ãªHTMLã¿ã°ã«ã¯ä»¥ä¸ã®ãããªãã®ãããã¾ ãã <itemizedlist> <listitem> <para><parameter><a></parameter></para> </listitem> <listitem> <para><parameter><i></parameter></para> </listitem> <listitem> <para><parameter><b></parameter></para> </listitem> <listitem> <para><parameter><pre></parameter></para> </listitem> <listitem> <para><parameter><ul></parameter></para> </listitem> <listitem> <para><parameter><li></parameter></para> </listitem> <listitem> <para><parameter><br></parameter></para> </listitem> <listitem> <para><parameter><code></parameter></para> </listitem> </itemizedlist> ãã®ã¿ã°ã¯ãHTML以å¤ã®<classname>PHPDoc</classname>ã¬ã³ãã©ã§ã¯ãç¡ è¦ãããå¯è½æ§ããããã¨ã«æ³¨æãã¦ä¸ããã </para> </refsect1> <refsect1 id="packages.phpdoc.doccomments.keyword"> <title>keywordé¨</title> <para> keywordè¡ã®å½¢å¼ã¯ãç°¡åã§ãã <programlisting role="php"> * @keyword <parameter>parameters</parameter> </programlisting> </para> <para> å ¨ã¦ã®è¦ç´ ã§å ¨ã¦ã®ãã¼ã¯ã¼ãã使ç¨å¯è½ã§ããããã§ã¯ããã¾ããããã¼ ã¯ã¼ãã使ç¨ã§ãããã©ããã¯ãã¹ã³ã¼ãã®ã»ã¯ã·ã§ã³ãåç §ä¸ããã </para> </refsect1> <refsect1 id="packages.phpdoc.doccomments.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ /** * Basket class for my web shop. * * Basket is a repository for instances of * the class Article... * * @autor Alexander Merz <alexander.merz@php.net>; * @version 1.6 * @access public * @package MyWebShop */ class Basket { /** * contains the articles * @var array * @see add(), mod(), del() */ var $articles = array() ; /** * Adds an article. * * An instance of the given article and the count is * stored in the basket * * @param object Article $article article to add * @param integer $count count of the article * @return boolean returns false, if error occurs * @access public * @see $articles */ function add( $article, $count = 1) { ... } } ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/introduction.xml +++ peardoc/ja/packages/phpdoc/introduction.xml <!-- $Id: introduction.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.introduction"> <refnamediv> <refname>å°å ¥</refname> <refpurpose> ç®ç </refpurpose> </refnamediv> <refsect1 id="packages.phpdoc.introduction.whatisphpdoc"> <title>PHPDocã¨ã¯?</title> <para> PHPDocã¯ãã½ã¼ã¹ã³ã¼ãããPHP ã¢ããªã±ã¼ã·ã§ã³ã®APIããã¥ã¡ã³ãã 使ãããã¼ã«ã§ããPHPDocã¯ãã½ã¼ã¹ã³ã¼ãããæ å ±ãæ¤ç´¢ãã颿°ã ã¯ã©ã¹ãããã±ã¼ã¸ãã¢ã¸ã¥ã¼ã«ã®ããã¥ã¡ã³ãã使ããããã®ç¹æ®ãª PHPDocã³ã¡ã³ãããæ å ±ãåå¾ãã¾ãã </para> <para> è©³ç´°ãªæ å ±åã³ãã¢ã«ã¤ãã¦ã¯ã <ulink url="http://www.phpdoc.de/">www.phpdoc.de</ulink>ãåç §ä¸ã ãã </para> <para> PEARããã¸ã§ã¯ãã¯ãå®å ¨ã«PHPDocã³ã¡ã³ããç¨ãã¦ããã¥ã¡ã³ãåãã ã¦ãã¾ãããã®ã³ã¡ã³ããå®ç¨çãªä½¿ç¨ä¾ãåç §ãããå ´åã«ã¯ãPEARã½ã¼ ã¹ãåç §ä¸ããã </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 --> Index: peardoc/ja/packages/phpdoc/keywordauthor.xml +++ peardoc/ja/packages/phpdoc/keywordauthor.xml <!-- $Id: keywordauthor.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordauthor"> <refnamediv> <refname>@author</refname> <refpurpose> ä½è ã«é¢ãã説æ </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@author</command> <arg choice="req"> <option>åå</option> </arg> <arg choice="opt"> <option><email></option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordauthor.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>class</para> </listitem> <listitem> <para>function</para> </listitem> <listitem> <para>var</para> </listitem> <listitem> <para>define</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordauthor.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ ... * @author The invisible man * @author Alexander Merz <alexmerz@php.net> ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keywordconst.xml +++ peardoc/ja/packages/phpdoc/keywordconst.xml <!-- $Id: keywordconst.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordconst"> <refnamediv> <refname>@const</refname> <refpurpose> <function>define</function>ã§ä½æããã宿°ãè¨è¿°ãã </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@const</command> <arg choice="req"> <option>ã©ãã«</option> </arg> <arg choice="opt"> <option>説æ</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordconst.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>define</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordconst.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ ... /** * maximum of permitted clients at the same time * @const MAX_CLIENTS maximum clients */ define("MAX_CLIENTS", 1000, true); /** * maximum request per client * @const MAX_REQUESTS_PER_CLIENT */ define("MAX_REQUESTS_PER_CLIENT", 5); ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keyworddeprecated.xml +++ peardoc/ja/packages/phpdoc/keyworddeprecated.xml <!-- $Id: keyworddeprecated.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keyworddeprecated"> <refnamediv> <refname>@deprecated</refname> <refpurpose> éå»ã®APIè¦ç´ ã示ã </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@deprecated</command> <arg choice="req"> <option>ã©ãã«</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keyworddeprecated.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>class</para> </listitem> <listitem> <para>function</para> </listitem> <listitem> <para>var</para> </listitem> <listitem> <para>define</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keyworddeprecated.example"> <title>ä¾</title> <para> <parameter>label</parameter>ã®å½¢å¼ã¯ãPHPDocã§ã¯å®ç¾©ãããªããã¨ã« 注æãã¦ä¸ããã <programlisting role="php"> <![CDATA[ ... * @deprecated Rev. 1.8 - 03/10/2001 ... * @deprecated 03-10-2001 ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keywordglobal.xml +++ peardoc/ja/packages/phpdoc/keywordglobal.xml <!-- $Id: keywordglobal.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordglobal"> <refnamediv> <refname>@global</refname> <refpurpose> ã°ãã¼ãã«å¤æ°ã®èª¬æ </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@global</command> <arg choice="req"> <option>å|ãªãã¸ã§ã¯ãå®ç¾©</option> </arg> <arg choice="req"> <option>$varname</option> </arg> <arg choice="opt"> <option>説æ</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordglobal.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>function</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordglobal.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ ... * @global array $files list of file * @global integer $errcode errorcode * @global string $errmsg error message * @global object FileSystem $fs instance of the FS class */ function fooBar() { global $files, $errcode, $errmsg, $fs; ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keywordpackage.xml +++ peardoc/ja/packages/phpdoc/keywordpackage.xml <!-- $Id: keywordpackage.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordpackage"> <refnamediv> <refname>@package</refname> <refpurpose> ã¯ã©ã¹ãã°ã«ã¼ãåãã </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@package</command> <arg choice="req"> <option>ã©ãã«</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordpackage.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>class</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordpackage.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ ... * @package Net ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keywordparam.xml +++ peardoc/ja/packages/phpdoc/keywordparam.xml <!-- $Id: keywordparam.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordparam"> <refnamediv> <refname>@param</refname> <refpurpose> 颿°ã®ãã©ã¡ã¼ã¿ãè¨è¿°ãã </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@param</command> <arg choice="req"> <option>type|objectdefinition</option> </arg> <arg choice="req"> <option>$varname</option> </arg> <arg choice="opt"> <option>説æ</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordparam.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>function</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordparam.note"> <title>注æ</title> <para> PHPDocã¯ãã½ã¼ã¹ããããã©ã«ãå¤ãæ¤åºããææ¸ã«è¨è¿°ãã¾ãã </para> </refsect1> <refsect1 id="packages.phpdoc.keywordparam.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ ... * @param string $name name of the person * (complete name!) * @param integer $age age of the person * @param float $size size of person * @param object Adresse $adr adresse of the person * @param array $childs names of the children * @param boolean $job if true, person has a job * @param boolean $gender use FEMALE * or MALE */ function person($name, $age, $size, $adr, $childs, $job=true, $gender=FEMALE) { ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keywordreturn.xml +++ peardoc/ja/packages/phpdoc/keywordreturn.xml <!-- $Id: keywordreturn.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordreturn"> <refnamediv> <refname>@return</refname> <refpurpose> 颿°ã®è¿ãå¤ãè¨è¿°ãã </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@return</command> <arg choice="req"> <option>type|objectdefinition</option> </arg> <arg choice="opt"> <option>$varname</option> </arg> <arg choice="opt"> <option>description</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordreturn.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>function</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordreturn.note"> <title>注æ</title> <para> ãã¼ã¯ã¼ã<parameter>@return</parameter>ãæå®ãããªãå ´åã PHPDocã¯voidã使ç¨ãã¾ãã ã³ã³ã¹ãã©ã¯ã©é¢æ°ã®ä¸ã§(誤ã£ã¦)使ç¨ãããå ´åããã®ãã¼ã¯ã¼ãã¯ç¡ è¦ããã¾ãã </para> </refsect1> <refsect1 id="packages.phpdoc.keywordreturn.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ ... * @return mixed a PEAR_Error object or an integer * @return boolean true, if successful ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keywordsee.xml +++ peardoc/ja/packages/phpdoc/keywordsee.xml <!-- $Id: keywordsee.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordsee"> <refnamediv> <refname>@see</refname> <refpurpose> ä»ã®è¦ç´ ã¸ã®åç §ãªã³ã¯ãè¨è¿°ãã </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@see</command> <arg choice="req"> <option>element</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordsee.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>class</para> </listitem> <listitem> <para>function</para> </listitem> <listitem> <para>var</para> </listitem> <listitem> <para>define</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordsee.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ ... * @see $article, Article::edit() * @see delete(), print() ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keywordsince.xml +++ peardoc/ja/packages/phpdoc/keywordsince.xml <!-- $Id: keywordsince.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordsince"> <refnamediv> <refname>@since</refname> <refpurpose> ããAPIè¦ç´ ãå°å ¥ãããæãè¨è¿°ãã </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@since</command> <arg choice="req"> <option>label</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordsince.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>class</para> </listitem> <listitem> <para>function</para> </listitem> <listitem> <para>var</para> </listitem> <listitem> <para>define</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordsince.example"> <title>ä¾</title> <para> <parameter>label</parameter>ã®å½¢å¼ã¯ãPHPDocã§ã¯å®ç¾©ãããªããã¨ã« 注æãã¦ä¸ããã <programlisting role="php"> <![CDATA[ ... * @since Rev. 1.8 - 03/10/2001 ... * @since 03-10-2001 ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keywordstatic.xml +++ peardoc/ja/packages/phpdoc/keywordstatic.xml <!-- $Id: keywordstatic.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordstatic"> <refnamediv> <refname>@static</refname> <refpurpose> staticã¨ãã¦é¢æ°ãè¨è¿°ãã </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@static</command> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordstatic.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>function</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordstatic.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ ... class Foo { /** ... * @static */ function Bar (... ... // this call is permitted according to the docs: Foo::Bar() ; ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keywordvar.xml +++ peardoc/ja/packages/phpdoc/keywordvar.xml <!-- $Id: keywordvar.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordvar"> <refnamediv> <refname>@var</refname> <refpurpose> ã¯ã©ã¹å¤æ°ã«ã¤ãã¦èª¬æãã </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@var</command> <arg choice="req"> <option>type|objectdefinition</option> </arg> <arg choice="req"> <option>$varname</option> </arg> <arg choice="opt"> <option>description</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordvar.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>var</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordvar.note"> <title>注æ</title> <para> åãæå®ãããªãå ´åãPHPDocã¯æ¨å®ã試ã¿ã¾ãã </para> </refsect1> <refsect1 id="packages.phpdoc.keywordvar.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ ... * @var string $name name of the person */ var name = "" ; ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/requirements.xml +++ peardoc/ja/packages/phpdoc/requirements.xml <!-- $Id: requirements.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.requirements"> <refnamediv> <refname>Requirements</refname> <refpurpose> Dependencies, time and memory settings </refpurpose> </refnamediv> <refsect1 id="packages.phpdoc.requirements.extensions"> <title>PHP-Extensions</title> <para> <itemizedlist> <listitem> <para> <command>XML-Support</command> </para> </listitem> <listitem> <para> <command>Perl Compatible Regular Expressions - PCRE</command> </para> </listitem> </itemizedlist> Both extensions should be avaible in common PHP distributions. </para> </refsect1> <refsect1 id="packages.phpdoc.requirements.executiontime"> <title>Execution time</title> <para> It is recommended to set the <parameter>maximum execution time</parameter> in the <command>php.ini</command> on a high value or disable it. <programlisting> max_execution_time = 0 ; Maximum execution time of each script, in seconds </programlisting> I.e. <classname>PHPDoc</classname> needs between 5 and 10 min for creating an API documentation of the whole PEAR project depending of your computer. </para> </refsect1> <refsect1 id="packages.phpdoc.requirements.memorylimit"> <title>Memory limit</title> <para> It could be necessary to increase the memory limit. Especially when you are using Windows and PHP crashes while runing <command>PHPDoc</command>. <programlisting> memory_limit = 67108846 ; Maximum amount of memory a script may consume (8MB) </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/usingtool.xml +++ peardoc/ja/packages/phpdoc/usingtool.xml <!-- $Id: usingtool.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.usingtool"> <refnamediv> <refname>Using the PHPDoc tool</refname> <refpurpose> Calling the PHPDoc commandline program </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>phpdoc</command> <arg choice="opt"> <option>-h</option> </arg> <arg choice="opt"> <option>-?</option> </arg> <arg choice="opt"> <option>-f</option> </arg> <arg choice="opt"> <option>-h</option> </arg> <arg choice="opt"> <option>-i <parameter>directory</parameter></option> </arg> <arg choice="opt"> <option>-s <parameter>directory</parameter></option> </arg> <arg choice="opt"> <option>-d <parameter>directory</parameter></option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.usingtool.options"> <title>Options</title> <para> <itemizedlist> <listitem> <para> <parameter>-h -?</parameter> </para> <para> Display help/usage </para> </listitem> <listitem> <para> <parameter>-f</parameter> </para> <para> Force the deletion of the destination directory for HTML/XML output file. </para> </listitem> <listitem> <para> <parameter>-i</parameter> </para> <para> Directory with the PHPDoc include files. Normally the PHPDoc directory in your PEAR directory itself. See the <link linkend="packages.phpdoc.usingtool.setup">'Setup' section</link>. </para> </listitem> <listitem> <para> <parameter>-s</parameter> </para> <para> Directory where your source files reside. </para> </listitem> <listitem> <para> <parameter>-d</parameter> </para> <para> Destination directory for the generated doc files. </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.usingtool.setup"> <title>Set up the program</title> <para> The PHPDoc program <command>phpdoc</command> reside in <parameter><pearpath>/phpdoc/</parameter>. Open this file and edit this section on the top of the file to match your system paths: <programlisting role="php"> <![CDATA[ /*** CONFIGURATION ***/ // Directory with PHPDoc include files $phpdoc_include_dir = '/usr/lib/php/PHPDoc'; // directory where your source files reside $source_files = '/usr/lib/php/'; // save the generated docs here: $dest_apidoc_dir = '/usr/doc/pear'; // force the deletion of the target apidocs directory $dest_apidoc_delete = false; /*** END CONF ***/ ]]> </programlisting> You can set the parameters while calling this program, too. But it is recommended to edit at least <parameter> $phpdoc_include_dir</parameter>, because this normally never change. </para> <refsect2 id="packages.phpdoc.usingtool.setup.unix"> <title>Unix specific settings</title> <para> Check the first line to ensure it shows on your php program (installed as CGI, not as webserver module!) <programlisting> <command>#!/usr/local/bin/php -Cq</command> </programlisting> </para> </refsect2> <refsect2 id="packages.phpdoc.usingtool.setup.win"> <title>Windows specific settings</title> <para> For running the PHPDoc program on Windows, the PHPDoc directory contains a batch file <command>phpdoc.bat</command>. edit the following lines to match the path of your PHP executable (not webserver module!). <programlisting> REM ------------------- set PHP_PATH=c:\php REM ------------------- </programlisting> </para> </refsect2> </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 -->
Index: peardoc/ja/packages/phpdoc/doccomments.xml +++ peardoc/ja/packages/phpdoc/doccomments.xml <!-- $Id: doccomments.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.doccomments"> <refnamediv> <refname>docã³ã¡ã³ã</refname> <refpurpose> docã³ã¡ã³ãã®æ§é </refpurpose> </refnamediv> <refsect1 id="packages.phpdoc.doccomments.format"> <title>docã³ã¡ã³ãå½¢å¼</title> <para> docã³ã¡ã³ãã®ä¸è¬çãªå½¢å¼ã¯ãè¨è¿°ããè¦ç´ ã¨ã¯ç¬ç«ã§ããã³ã¡ã³ãã¨è¦ ç´ ã®éã«ç©ºè¡ä»¥å¤ã®ãã®ã¯ä½ãè¨è¿°ããªãããã«ãã¦ä¸ããã <programlisting role="php"> <![CDATA[ /** * çã説æ - 1è¡ * * 詳細ãªèª¬æ (ãªãã·ã§ã³) * è¤æ°è¡ã«ãããã説æé¨åã«ç©ºç½è¡ã¯ä¸è¦ã§ãã * * @keyword ãã¼ã¯ã¼ããã©ã¡ã¼ã¿ * @keyword ä»»æã®ãã¼ã¯ã¼ãã®ä¸¦ã³ */ [element to describe] ]]> </programlisting> </para> <para> è¦ç´ ã®å <itemizedlist> <listitem> <para><parameter>class</parameter></para> </listitem> <listitem> <para><parameter>function</parameter></para> </listitem> <listitem> <para><parameter>var</parameter></para> </listitem> <listitem> <para><parameter>define</parameter></para> </listitem> <listitem> <para><parameter>include/require</parameter></para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.doccomments.shortdesc"> <title>çã説ææ</title> <para> ãã®è¡ã«ã¯ãããè¦ç´ ã«å«ã¾ãããã®ã¾ãã¯åä½ãè¨è¿°ãã¾ããããªãã¡ã 夿°ã®å ´å"Count of articles"ã颿°ã®å ´å"Creates a hyperlink"ã㯠ã©ã¹ã®å ´åã"provides PDF-related functions"ã¨ãã£ãããã«ãªãã¾ãã é常ããã®è¡ãç´¢å¼ãã¼ã¸ã¾ãã¯ç®æ¬¡ã§åç §ããã¾ãã </para> <note> <para> 1è¡ã¯ãå é ã®<parameter>*</parameter>ã¨æ¹è¡æåã®éã®ãã®å ¨ã¦ãæ å³ãã¾ãã </para> </note> </refsect1> <refsect1 id="packages.phpdoc.doccomments.detaildesc"> <title>説æé¨åã®è©³ç´°</title> <para> ããã§ã¯ã使ããè¦ç´ ã«ã¤ãã¦ãã詳細ã«è¨è¿°ãããã¨ãå¯è½ã§ããã ã©ã¡ã¼ã¿ãè¿ãå¤ãkeywordã»ã¯ã·ã§ã³ã§è¨è¿°ãããè¦ç´ ã¨ã®éã®é¢ä¿ã«æ³¨ æãã¦ä¸ãããããã§ä½¿ç¨å¯è½ãªHTMLã¿ã°ã«ã¯ä»¥ä¸ã®ãããªãã®ãããã¾ ãã <itemizedlist> <listitem> <para><parameter><a></parameter></para> </listitem> <listitem> <para><parameter><i></parameter></para> </listitem> <listitem> <para><parameter><b></parameter></para> </listitem> <listitem> <para><parameter><pre></parameter></para> </listitem> <listitem> <para><parameter><ul></parameter></para> </listitem> <listitem> <para><parameter><li></parameter></para> </listitem> <listitem> <para><parameter><br></parameter></para> </listitem> <listitem> <para><parameter><code></parameter></para> </listitem> </itemizedlist> ãã®ã¿ã°ã¯ãHTML以å¤ã®<classname>PHPDoc</classname>ã¬ã³ãã©ã§ã¯ãç¡ è¦ãããå¯è½æ§ããããã¨ã«æ³¨æãã¦ä¸ããã </para> </refsect1> <refsect1 id="packages.phpdoc.doccomments.keyword"> <title>keywordé¨</title> <para> keywordè¡ã®å½¢å¼ã¯ãç°¡åã§ãã <programlisting role="php"> * @keyword <parameter>parameters</parameter> </programlisting> </para> <para> å ¨ã¦ã®è¦ç´ ã§å ¨ã¦ã®ãã¼ã¯ã¼ãã使ç¨å¯è½ã§ããããã§ã¯ããã¾ããããã¼ ã¯ã¼ãã使ç¨ã§ãããã©ããã¯ãã¹ã³ã¼ãã®ã»ã¯ã·ã§ã³ãåç §ä¸ããã </para> </refsect1> <refsect1 id="packages.phpdoc.doccomments.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ /** * Basket class for my web shop. * * Basket is a repository for instances of * the class Article... * * @autor Alexander Merz <alexander.merz@php.net>; * @version 1.6 * @access public * @package MyWebShop */ class Basket { /** * contains the articles * @var array * @see add(), mod(), del() */ var $articles = array() ; /** * Adds an article. * * An instance of the given article and the count is * stored in the basket * * @param object Article $article article to add * @param integer $count count of the article * @return boolean returns false, if error occurs * @access public * @see $articles */ function add( $article, $count = 1) { ... } } ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/introduction.xml +++ peardoc/ja/packages/phpdoc/introduction.xml <!-- $Id: introduction.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.introduction"> <refnamediv> <refname>å°å ¥</refname> <refpurpose> ç®ç </refpurpose> </refnamediv> <refsect1 id="packages.phpdoc.introduction.whatisphpdoc"> <title>PHPDocã¨ã¯?</title> <para> PHPDocã¯ãã½ã¼ã¹ã³ã¼ãããPHP ã¢ããªã±ã¼ã·ã§ã³ã®APIããã¥ã¡ã³ãã 使ãããã¼ã«ã§ããPHPDocã¯ãã½ã¼ã¹ã³ã¼ãããæ å ±ãæ¤ç´¢ãã颿°ã ã¯ã©ã¹ãããã±ã¼ã¸ãã¢ã¸ã¥ã¼ã«ã®ããã¥ã¡ã³ãã使ããããã®ç¹æ®ãª PHPDocã³ã¡ã³ãããæ å ±ãåå¾ãã¾ãã </para> <para> è©³ç´°ãªæ å ±åã³ãã¢ã«ã¤ãã¦ã¯ã <ulink url="http://www.phpdoc.de/">www.phpdoc.de</ulink>ãåç §ä¸ã ãã </para> <para> PEARããã¸ã§ã¯ãã¯ãå®å ¨ã«PHPDocã³ã¡ã³ããç¨ãã¦ããã¥ã¡ã³ãåãã ã¦ãã¾ãããã®ã³ã¡ã³ããå®ç¨çãªä½¿ç¨ä¾ãåç §ãããå ´åã«ã¯ãPEARã½ã¼ ã¹ãåç §ä¸ããã </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 --> Index: peardoc/ja/packages/phpdoc/keywordauthor.xml +++ peardoc/ja/packages/phpdoc/keywordauthor.xml <!-- $Id: keywordauthor.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordauthor"> <refnamediv> <refname>@author</refname> <refpurpose> ä½è ã«é¢ãã説æ </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@author</command> <arg choice="req"> <option>åå</option> </arg> <arg choice="opt"> <option><email></option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordauthor.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>class</para> </listitem> <listitem> <para>function</para> </listitem> <listitem> <para>var</para> </listitem> <listitem> <para>define</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordauthor.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ ... * @author The invisible man * @author Alexander Merz <alexmerz@php.net> ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keywordconst.xml +++ peardoc/ja/packages/phpdoc/keywordconst.xml <!-- $Id: keywordconst.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordconst"> <refnamediv> <refname>@const</refname> <refpurpose> <function>define</function>ã§ä½æããã宿°ãè¨è¿°ãã </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@const</command> <arg choice="req"> <option>ã©ãã«</option> </arg> <arg choice="opt"> <option>説æ</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordconst.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>define</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordconst.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ ... /** * maximum of permitted clients at the same time * @const MAX_CLIENTS maximum clients */ define("MAX_CLIENTS", 1000, true); /** * maximum request per client * @const MAX_REQUESTS_PER_CLIENT */ define("MAX_REQUESTS_PER_CLIENT", 5); ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keyworddeprecated.xml +++ peardoc/ja/packages/phpdoc/keyworddeprecated.xml <!-- $Id: keyworddeprecated.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keyworddeprecated"> <refnamediv> <refname>@deprecated</refname> <refpurpose> éå»ã®APIè¦ç´ ã示ã </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@deprecated</command> <arg choice="req"> <option>ã©ãã«</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keyworddeprecated.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>class</para> </listitem> <listitem> <para>function</para> </listitem> <listitem> <para>var</para> </listitem> <listitem> <para>define</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keyworddeprecated.example"> <title>ä¾</title> <para> <parameter>label</parameter>ã®å½¢å¼ã¯ãPHPDocã§ã¯å®ç¾©ãããªããã¨ã« 注æãã¦ä¸ããã <programlisting role="php"> <![CDATA[ ... * @deprecated Rev. 1.8 - 03/10/2001 ... * @deprecated 03-10-2001 ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keywordglobal.xml +++ peardoc/ja/packages/phpdoc/keywordglobal.xml <!-- $Id: keywordglobal.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordglobal"> <refnamediv> <refname>@global</refname> <refpurpose> ã°ãã¼ãã«å¤æ°ã®èª¬æ </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@global</command> <arg choice="req"> <option>å|ãªãã¸ã§ã¯ãå®ç¾©</option> </arg> <arg choice="req"> <option>$varname</option> </arg> <arg choice="opt"> <option>説æ</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordglobal.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>function</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordglobal.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ ... * @global array $files list of file * @global integer $errcode errorcode * @global string $errmsg error message * @global object FileSystem $fs instance of the FS class */ function fooBar() { global $files, $errcode, $errmsg, $fs; ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keywordpackage.xml +++ peardoc/ja/packages/phpdoc/keywordpackage.xml <!-- $Id: keywordpackage.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordpackage"> <refnamediv> <refname>@package</refname> <refpurpose> ã¯ã©ã¹ãã°ã«ã¼ãåãã </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@package</command> <arg choice="req"> <option>ã©ãã«</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordpackage.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>class</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordpackage.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ ... * @package Net ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keywordparam.xml +++ peardoc/ja/packages/phpdoc/keywordparam.xml <!-- $Id: keywordparam.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordparam"> <refnamediv> <refname>@param</refname> <refpurpose> 颿°ã®ãã©ã¡ã¼ã¿ãè¨è¿°ãã </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@param</command> <arg choice="req"> <option>type|objectdefinition</option> </arg> <arg choice="req"> <option>$varname</option> </arg> <arg choice="opt"> <option>説æ</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordparam.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>function</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordparam.note"> <title>注æ</title> <para> PHPDocã¯ãã½ã¼ã¹ããããã©ã«ãå¤ãæ¤åºããææ¸ã«è¨è¿°ãã¾ãã </para> </refsect1> <refsect1 id="packages.phpdoc.keywordparam.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ ... * @param string $name name of the person * (complete name!) * @param integer $age age of the person * @param float $size size of person * @param object Adresse $adr adresse of the person * @param array $childs names of the children * @param boolean $job if true, person has a job * @param boolean $gender use FEMALE * or MALE */ function person($name, $age, $size, $adr, $childs, $job=true, $gender=FEMALE) { ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keywordreturn.xml +++ peardoc/ja/packages/phpdoc/keywordreturn.xml <!-- $Id: keywordreturn.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordreturn"> <refnamediv> <refname>@return</refname> <refpurpose> 颿°ã®è¿ãå¤ãè¨è¿°ãã </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@return</command> <arg choice="req"> <option>type|objectdefinition</option> </arg> <arg choice="opt"> <option>$varname</option> </arg> <arg choice="opt"> <option>description</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordreturn.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>function</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordreturn.note"> <title>注æ</title> <para> ãã¼ã¯ã¼ã<parameter>@return</parameter>ãæå®ãããªãå ´åã PHPDocã¯voidã使ç¨ãã¾ãã ã³ã³ã¹ãã©ã¯ã©é¢æ°ã®ä¸ã§(誤ã£ã¦)使ç¨ãããå ´åããã®ãã¼ã¯ã¼ãã¯ç¡ è¦ããã¾ãã </para> </refsect1> <refsect1 id="packages.phpdoc.keywordreturn.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ ... * @return mixed a PEAR_Error object or an integer * @return boolean true, if successful ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keywordsee.xml +++ peardoc/ja/packages/phpdoc/keywordsee.xml <!-- $Id: keywordsee.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordsee"> <refnamediv> <refname>@see</refname> <refpurpose> ä»ã®è¦ç´ ã¸ã®åç §ãªã³ã¯ãè¨è¿°ãã </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@see</command> <arg choice="req"> <option>element</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordsee.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>class</para> </listitem> <listitem> <para>function</para> </listitem> <listitem> <para>var</para> </listitem> <listitem> <para>define</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordsee.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ ... * @see $article, Article::edit() * @see delete(), print() ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keywordsince.xml +++ peardoc/ja/packages/phpdoc/keywordsince.xml <!-- $Id: keywordsince.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordsince"> <refnamediv> <refname>@since</refname> <refpurpose> ããAPIè¦ç´ ãå°å ¥ãããæãè¨è¿°ãã </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@since</command> <arg choice="req"> <option>label</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordsince.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>class</para> </listitem> <listitem> <para>function</para> </listitem> <listitem> <para>var</para> </listitem> <listitem> <para>define</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordsince.example"> <title>ä¾</title> <para> <parameter>label</parameter>ã®å½¢å¼ã¯ãPHPDocã§ã¯å®ç¾©ãããªããã¨ã« 注æãã¦ä¸ããã <programlisting role="php"> <![CDATA[ ... * @since Rev. 1.8 - 03/10/2001 ... * @since 03-10-2001 ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keywordstatic.xml +++ peardoc/ja/packages/phpdoc/keywordstatic.xml <!-- $Id: keywordstatic.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordstatic"> <refnamediv> <refname>@static</refname> <refpurpose> staticã¨ãã¦é¢æ°ãè¨è¿°ãã </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@static</command> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordstatic.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>function</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordstatic.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ ... class Foo { /** ... * @static */ function Bar (... ... // this call is permitted according to the docs: Foo::Bar() ; ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/keywordvar.xml +++ peardoc/ja/packages/phpdoc/keywordvar.xml <!-- $Id: keywordvar.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.keywordvar"> <refnamediv> <refname>@var</refname> <refpurpose> ã¯ã©ã¹å¤æ°ã«ã¤ãã¦èª¬æãã </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@var</command> <arg choice="req"> <option>type|objectdefinition</option> </arg> <arg choice="req"> <option>$varname</option> </arg> <arg choice="opt"> <option>description</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordvar.scope"> <title>ã¹ã³ã¼ã</title> <para> <itemizedlist> <listitem> <para>var</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordvar.note"> <title>注æ</title> <para> åãæå®ãããªãå ´åãPHPDocã¯æ¨å®ã試ã¿ã¾ãã </para> </refsect1> <refsect1 id="packages.phpdoc.keywordvar.example"> <title>ä¾</title> <para> <programlisting role="php"> <![CDATA[ ... * @var string $name name of the person */ var name = "" ; ... ]]> </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/requirements.xml +++ peardoc/ja/packages/phpdoc/requirements.xml <!-- $Id: requirements.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.requirements"> <refnamediv> <refname>Requirements</refname> <refpurpose> Dependencies, time and memory settings </refpurpose> </refnamediv> <refsect1 id="packages.phpdoc.requirements.extensions"> <title>PHP-Extensions</title> <para> <itemizedlist> <listitem> <para> <command>XML-Support</command> </para> </listitem> <listitem> <para> <command>Perl Compatible Regular Expressions - PCRE</command> </para> </listitem> </itemizedlist> Both extensions should be avaible in common PHP distributions. </para> </refsect1> <refsect1 id="packages.phpdoc.requirements.executiontime"> <title>Execution time</title> <para> It is recommended to set the <parameter>maximum execution time</parameter> in the <command>php.ini</command> on a high value or disable it. <programlisting> max_execution_time = 0 ; Maximum execution time of each script, in seconds </programlisting> I.e. <classname>PHPDoc</classname> needs between 5 and 10 min for creating an API documentation of the whole PEAR project depending of your computer. </para> </refsect1> <refsect1 id="packages.phpdoc.requirements.memorylimit"> <title>Memory limit</title> <para> It could be necessary to increase the memory limit. Especially when you are using Windows and PHP crashes while runing <command>PHPDoc</command>. <programlisting> memory_limit = 67108846 ; Maximum amount of memory a script may consume (8MB) </programlisting> </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 --> Index: peardoc/ja/packages/phpdoc/usingtool.xml +++ peardoc/ja/packages/phpdoc/usingtool.xml <!-- $Id: usingtool.xml,v 1.1 2002/02/24 10:07:58 hirokawa Exp $ --> <refentry id="packages.phpdoc.usingtool"> <refnamediv> <refname>Using the PHPDoc tool</refname> <refpurpose> Calling the PHPDoc commandline program </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>phpdoc</command> <arg choice="opt"> <option>-h</option> </arg> <arg choice="opt"> <option>-?</option> </arg> <arg choice="opt"> <option>-f</option> </arg> <arg choice="opt"> <option>-h</option> </arg> <arg choice="opt"> <option>-i <parameter>directory</parameter></option> </arg> <arg choice="opt"> <option>-s <parameter>directory</parameter></option> </arg> <arg choice="opt"> <option>-d <parameter>directory</parameter></option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.usingtool.options"> <title>Options</title> <para> <itemizedlist> <listitem> <para> <parameter>-h -?</parameter> </para> <para> Display help/usage </para> </listitem> <listitem> <para> <parameter>-f</parameter> </para> <para> Force the deletion of the destination directory for HTML/XML output file. </para> </listitem> <listitem> <para> <parameter>-i</parameter> </para> <para> Directory with the PHPDoc include files. Normally the PHPDoc directory in your PEAR directory itself. See the <link linkend="packages.phpdoc.usingtool.setup">'Setup' section</link>. </para> </listitem> <listitem> <para> <parameter>-s</parameter> </para> <para> Directory where your source files reside. </para> </listitem> <listitem> <para> <parameter>-d</parameter> </para> <para> Destination directory for the generated doc files. </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.usingtool.setup"> <title>Set up the program</title> <para> The PHPDoc program <command>phpdoc</command> reside in <parameter><pearpath>/phpdoc/</parameter>. Open this file and edit this section on the top of the file to match your system paths: <programlisting role="php"> <![CDATA[ /*** CONFIGURATION ***/ // Directory with PHPDoc include files $phpdoc_include_dir = '/usr/lib/php/PHPDoc'; // directory where your source files reside $source_files = '/usr/lib/php/'; // save the generated docs here: $dest_apidoc_dir = '/usr/doc/pear'; // force the deletion of the target apidocs directory $dest_apidoc_delete = false; /*** END CONF ***/ ]]> </programlisting> You can set the parameters while calling this program, too. But it is recommended to edit at least <parameter> $phpdoc_include_dir</parameter>, because this normally never change. </para> <refsect2 id="packages.phpdoc.usingtool.setup.unix"> <title>Unix specific settings</title> <para> Check the first line to ensure it shows on your php program (installed as CGI, not as webserver module!) <programlisting> <command>#!/usr/local/bin/php -Cq</command> </programlisting> </para> </refsect2> <refsect2 id="packages.phpdoc.usingtool.setup.win"> <title>Windows specific settings</title> <para> For running the PHPDoc program on Windows, the PHPDoc directory contains a batch file <command>phpdoc.bat</command>. edit the following lines to match the path of your PHP executable (not webserver module!). <programlisting> REM ------------------- set PHP_PATH=c:\php REM ------------------- </programlisting> </para> </refsect2> </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 -->