cvs: phpdoc-ja /reference/rar .cvsignore ini.xml reference.xml /reference/rar/functions rar-close.xml rar-entry-get.xml rar-extract.xml
rar-getattr.xml rar-getcrc.xml rar-getfiletime.xml rar-gethostos.xml rar-getmethod.xml rar-getname.xml rar-getpackedsize.xml rar-getunpackedsize.xml
rar-getversion.xml rar-list.xml rar-open.xml
| From: | TAKAGI Masahiro | Date: | Fri, 19 Aug 2005 08:31:20 +0000 |
| Subject: | cvs: phpdoc-ja /reference/rar .cvsignore ini.xml reference.xml /reference/rar/functions rar-close.xml rar-entry-get.xml rar-extract.xml rar-getattr.xml rar-getcrc.xml rar-getfiletime.xml rar-gethostos.xml rar-getmethod.xml rar-getname.xml rar-getpackedsize.xml rar-getunpackedsize.xml rar-getversion.xml rar-list.xml rar-open.xml |
||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-1134@lists.php.net to get a copy of this message | ||
takagi Fri Aug 19 04:31:20 2005 EDT
Added files:
/phpdoc-ja/reference/rar/functions rar-open.xml rar-list.xml
rar-getversion.xml
rar-getunpackedsize.xml
rar-getpackedsize.xml
rar-getname.xml
rar-getmethod.xml
rar-gethostos.xml
rar-getfiletime.xml
rar-getcrc.xml rar-getattr.xml
rar-extract.xml
rar-entry-get.xml rar-close.xml
/phpdoc-ja/reference/rar reference.xml ini.xml .cvsignore
Log:
added japanese manual.
http://cvs.php.net/co.php/phpdoc-ja/reference/rar/functions/rar-open.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-open.xml +++ phpdoc-ja/reference/rar/functions/rar-open.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.rar-open"> <refnamediv> <refname>rar_open</refname> <refpurpose>Rar ã¢ã¼ã«ã¤ãããªã¼ãã³ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>resource</type><methodname>rar_open</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam> </methodsynopsis> <para> æå®ãã Rar ã¢ã¼ã«ã¤ãããªã¼ãã³ããRar ãã¡ã¤ã«ãªã½ã¼ã¹ãè¿ãã¾ãã </para> <para> <function>rar_open</function> ã¯æåããå ´åã« Rar ãã¡ã¤ã«ãªã½ã¼ã¹ã ã¨ã©ã¼æã«ã¯ &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-list.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-list.xml +++ phpdoc-ja/reference/rar/functions/rar-list.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.rar-list"> <refnamediv> <refname>rar_list</refname> <refpurpose>Rar ã¢ã¼ã«ã¤ãã®ã¨ã³ããªä¸è¦§ãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>array</type><methodname>rar_list</methodname> <methodparam><type>resource</type><parameter>rar_file</parameter></methodparam> </methodsynopsis> <para> Rar ã¢ã¼ã«ã¤ããããã¨ã³ããªã®ä¸è¦§ãåå¾ãã¾ãã </para> <example> <title><function>Rar::</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entries_list = rar_list($rar_file); print_r($entries_list); ?> ]]> </programlisting> </example> <para> <function>rar_list</function> ã¯æåããå ´åã«ã¨ã³ããªã®é åã ã¨ã©ã¼æã«ã¯ &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-getversion.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-getversion.xml +++ phpdoc-ja/reference/rar/functions/rar-getversion.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-getVersion"> <refnamediv> <refname>Rar::getVersion</refname> <refpurpose>ã¨ã³ããªã追å ããã®ã«ç¨ããã¢ã¼ã«ã¤ãã®ãã¼ã¸ã§ã³ãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>int</type><methodname>Rar::getVersion</methodname> <void/> </methodsynopsis> <para> ã¢ã¼ã«ã¤ãã¨ã³ããªã追å ããã®ã«ç¨ããã¢ã¼ã«ã¤ãã®ãã¼ã¸ã§ã³ã åå¾ãã¾ãã </para> <example> <title><function>Rar::getVersion</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entry = rar_entry_get($rar_file, 'Dir/file.txt') or die("ãã®ãããªã¨ã³ããªã¯è¦ã¤ããã¾ããã§ãã"); echo "使ç¨ãã Rar (WinRAR) ã®ãã¼ã¸ã§ã³: " . $entry->getVersion(); ?> ]]> </programlisting> </example> <para> <function>Rar::getVersion</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-getunpackedsize.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-getunpackedsize.xml +++ phpdoc-ja/reference/rar/functions/rar-getunpackedsize.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-getUnpackedSize"> <refnamediv> <refname>Rar::getUnpackedSize</refname> <refpurpose>å±éå¾ã®ã¨ã³ããªã®ãµã¤ãºãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>int</type><methodname>Rar::getUnpackedSize</methodname> <void/> </methodsynopsis> <para> å±éå¾ã®ã¢ã¼ã«ã¤ãã¨ã³ããªã®ãµã¤ãºãåå¾ãã¾ãã </para> <example> <title><function>Rar::getUnpackedSize</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entry = rar_entry_get($rar_file, 'Dir/file.txt') or die("ãã®ãããªã¨ã³ããªã¯è¦ã¤ããã¾ãã"); echo "å±éå¾ã® " . $entry->getName() . " ã®ãµã¤ãº = " . $entry->getUnpackedSize() . " ãã¤ã"; ?> ]]> </programlisting> </example> <para> <function>Rar::getUnpackedSize</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-getpackedsize.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-getpackedsize.xml +++ phpdoc-ja/reference/rar/functions/rar-getpackedsize.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-getPackedSize"> <refnamediv> <refname>Rar::getPackedSize</refname> <refpurpose>å§ç¸®å¾ã®ã¨ã³ããªã®ãµã¤ãºãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>int</type><methodname>Rar::getPackedSize</methodname> <void/> </methodsynopsis> <para> å§ç¸®å¾ã®ã¢ã¼ã«ã¤ãã¨ã³ããªã®ãµã¤ãºãåå¾ãã¾ãã </para> <example> <title><function>Rar::getPackedSize</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entry = rar_entry_get($rar_file, 'Dir/file.txt') or die("ãã®ãããªã¨ã³ããªã¯è¦ã¤ããã¾ãã"); echo "å§ç¸®å¾ã® " . $entry->getName() . " ã®ãµã¤ãº = " . $entry->getPackedSize() . " ãã¤ã"; ?> ]]> </programlisting> </example> <para> <function>Rar::getPackedSize</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-getname.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-getname.xml +++ phpdoc-ja/reference/rar/functions/rar-getname.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-getName"> <refnamediv> <refname>Rar::getName</refname> <refpurpose>ã¨ã³ããªã®ååãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>string</type><methodname>Rar::getName</methodname> <void/> </methodsynopsis> <para> <function>Rar::getName</function> ã¯ãã¢ã¼ã«ã¤ãã¨ã³ããªã®ååãè¿ãã¾ãã </para> <example> <title><function>Rar::getName</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entry = rar_entry_get($rar_file, 'Dir/file.txt') or die("ãã®ãããªã¨ã³ããªã¯è¦ã¤ããã¾ãã"); echo "ã¨ã³ããªå: " . $entry->getName(); ?> ]]> </programlisting> </example> <para> <function>Rar::getName</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-getmethod.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-getmethod.xml +++ phpdoc-ja/reference/rar/functions/rar-getmethod.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-getMethod"> <refnamediv> <refname>Rar::getMethod</refname> <refpurpose>ã¨ã³ããªã®å§ç¸®æ¹æ³ãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>int</type><methodname>Rar::getMethod</methodname> <void/> </methodsynopsis> <para> <function>Rar::getMethod</function> ã¯ãã«ã¬ã³ãã®ã¢ã¼ã«ã¤ãã¨ã³ããªã 追å ããéã«ä½¿ç¨ããã¡ã½ããã®çªå·ãè¿ãã¾ãã </para> <example> <title><function>Rar::getMethod</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entry = rar_entry_get($rar_file, 'Dir/file.txt') or die("ãã®ãããªã¨ã³ããªã¯è¦ã¤ããã¾ãã"); echo "ã¡ã½ããçªå·: " . $entry->getMethod(); ?> ]]> </programlisting> </example> <para> <function>Rar::getMethod</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-gethostos.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-gethostos.xml +++ phpdoc-ja/reference/rar/functions/rar-gethostos.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-getHostOs"> <refnamediv> <refname>Rar::getHostOs</refname> <refpurpose>ã¨ã³ããªã®ãã¹ã OS ãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>int</type><methodname>Rar::getHostOs</methodname> <void/> </methodsynopsis> <para> <function>Rar::getHostOs</function> ã¯ãã¢ã¼ã«ã¤ãã¨ã³ããªã® ãã¹ã OS ã®ã³ã¼ããè¿ãã¾ãã </para> <example> <title><function>Rar::getHostOs</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entry = rar_entry_get($rar_file, 'Dir/file.txt') or die("ãã®ãããªã¨ã³ããªã¯è¦ã¤ããã¾ãã"); switch ($entry->getHostOs()) { case RAR_HOST_MSDOS: echo "MS-DOS\n"; break; case RAR_HOST_OS2: echo "OS2\n"; break; case RAR_HOST_WIN32: echo "Win32\n"; break; case RAR_HOST_MACOS: echo "MacOS\n"; break; case RAR_HOST_UNIX: echo "Unix/Linux\n"; break; case RAR_HOST_BEOS: echo "BeOS\n"; break; } ?> ]]> </programlisting> </example> <para> <function>Rar::getHostOs</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-getfiletime.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-getfiletime.xml +++ phpdoc-ja/reference/rar/functions/rar-getfiletime.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-getFileTime"> <refnamediv> <refname>Rar::getFileTime</refname> <refpurpose>ã¨ã³ããªã®æçµæ´æ°æå»ãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>string</type><methodname>Rar::getFileTime</methodname> <void/> </methodsynopsis> <para> <function>Rar::getFileTime</function> ã¯ãã¨ã³ããªã®æçµæ´æ°æå»ã YYYY-MM-DD HH:II:SS å½¢å¼ã®æååã§è¿ãã¾ãã </para> <example> <title><function>Rar::</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php ?> ]]> </programlisting> </example> <para> <function>Rar::getFileTime</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-getcrc.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-getcrc.xml +++ phpdoc-ja/reference/rar/functions/rar-getcrc.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-getCrc"> <refnamediv> <refname>Rar::getCrc</refname> <refpurpose>ã¨ã³ããªã® CRC ãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>int</type><methodname>Rar::getCrc</methodname> <void/> </methodsynopsis> <para> <function>Rar::getCrc</function> ã¯ãã¢ã¼ã«ã¤ãã¨ã³ããªã® CRC ãè¿ãã¾ãã </para> <example> <title><function>Rar::getCrc</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php ?> ]]> </programlisting> </example> <para> <function>Rar::getCrc</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-getattr.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-getattr.xml +++ phpdoc-ja/reference/rar/functions/rar-getattr.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-getAttr"> <refnamediv> <refname>Rar::getAttr</refname> <refpurpose>ã¨ã³ããªã®å±æ§ãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>int</type><methodname>Rar::getAttr</methodname> <void/> </methodsynopsis> <para> <function>Rar::getAttr</function> ã¯ãã¢ã¼ã«ã¤ãã¨ã³ããªã®å±æ§ãè¿ãã¾ãã </para> <example> <title><function>Rar::getAttr</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entry = rar_entry_get($rar_file, 'dir/in/the/archive') or die("ãã®ãããªã¨ã³ããªã¯è¦ã¤ããã¾ãã"); $host_os = $entry->getHostOs(); $attr = $entry->getAttr(); switch($host_os) { case RAR_HOST_MSDOS: case RAR_HOST_OS2: case RAR_HOST_WIN32: case RAR_HOST_MACOS: printf("%c%c%c%c%c%c\n", ($attr & 0x08) ? 'V' : '.', ($attr & 0x10) ? 'D' : '.', ($attr & 0x01) ? 'R' : '.', ($attr & 0x02) ? 'H' : '.', ($attr & 0x04) ? 'S' : '.', ($attr & 0x20) ? 'A' : '.'); break; case RAR_HOST_UNIX: case RAR_HOST_BEOS: switch ($attr & 0xF000) { case 0x4000: printf("d"); break; case 0xA000: printf("l"); break; default: printf("-"); break; } printf("%c%c%c%c%c%c%c%c%c\n", ($attr & 0x0100) ? 'r' : '-', ($attr & 0x0080) ? 'w' : '-', ($attr & 0x0040) ? (($attr & 0x0800) ? 's':'x'):(($attr & 0x0800) ? 'S':'-'), ($attr & 0x0020) ? 'r' : '-', ($attr & 0x0010) ? 'w' : '-', ($attr & 0x0008) ? (($attr & 0x0400) ? 's':'x'):(($attr & 0x0400) ? 'S':'-'), ($attr & 0x0004) ? 'r' : '-', ($attr & 0x0002) ? 'w' : '-', ($attr & 0x0001) ? 'x' : '-'); break; } rar_close($rar_file); ?> ]]> </programlisting> </example> <para> <function>Rar::getAttr</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </para> <para> <function>Rar::getHostOs</function> ãåç §ãã ããã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-extract.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-extract.xml +++ phpdoc-ja/reference/rar/functions/rar-extract.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-extract"> <refnamediv> <refname>Rar::extract</refname> <refpurpose>ã¢ã¼ã«ã¤ãã®ã¨ã³ããªãå±éãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>bool</type><methodname>Rar::extract</methodname> <methodparam><type>string</type><parameter>dir</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>filepath</parameter></methodparam> </methodsynopsis> <para> <function>Rar::extract</function> ã¯ãã¨ã³ããªã®ãã¼ã¿ã <parameter>dir</parameter> ã«å±éãã¾ããæå®ãã <parameter>dir</parameter> ã«ãã¨ã³ããªã®ååã¨ååã®æ°ãããã¡ã¤ã«ã 使ãã¾ãã<parameter>dir</parameter> ã®ä»£ããã« <parameter>filepath</parameter> ãæå®ããã¦ããå ´åã¯ã <function>Rar::extract</function> ã¯ã¨ã³ããªã®ãã¼ã¿ãæå®ãããã¡ã¤ã«ã« å±éãã¾ãã </para> <example> <title><function>Rar::extract</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entry = rar_entry_get($rar_file, 'Dir/file.txt') or die("ãã®ãããªã¨ã³ããªã¯è¦ã¤ããã¾ãã"); $entry->extract('/dir/to'); // /dir/to/Dir/file.txt ã使ãã $entry->extract(false, '/dir/to/new_name.txt'); // /dir/to/new_name.txt ã使ãã ?> ]]> </programlisting> </example> <para> &return.success; </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-entry-get.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-entry-get.xml +++ phpdoc-ja/reference/rar/functions/rar-entry-get.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.rar-entry-get"> <refnamediv> <refname>rar_entry_get</refname> <refpurpose>Rar ã¢ã¼ã«ã¤ãããã¨ã³ããªãªãã¸ã§ã¯ããåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>RarEntry</type><methodname>rar_entry_get</methodname> <methodparam><type>resource</type><parameter>rar_file</parameter></methodparam> <methodparam><type>string</type><parameter>entry_name</parameter></methodparam> </methodsynopsis> <para> Rar ã¢ã¼ã«ã¤ããããã¨ã³ããªãªãã¸ã§ã¯ããåå¾ãã¾ãã </para> <example> <title><function>Rar::</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entry = rar_entry_get($rar_file, 'Dir/file.txt') or die("ãã®ãããªã¨ã³ããªã¯è¦ã¤ããã¾ãã"); print_r($entry); ?> ]]> </programlisting> </example> <para> <function>rar_get_entry</function> ã¯ãæåããå ´åã«ã¨ã³ããªãªãã¸ã§ã¯ãã ã¨ã©ã¼æã«ã¯ &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-close.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-close.xml +++ phpdoc-ja/reference/rar/functions/rar-close.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.rar-close"> <refnamediv> <refname>rar_close</refname> <refpurpose>Rar ã¢ã¼ã«ã¤ããã¯ãã¼ãºããå ¨ãªã½ã¼ã¹ãéæ¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>bool</type><methodname>rar_close</methodname> <methodparam><type>resource</type><parameter>rar_file</parameter></methodparam> </methodsynopsis> <para> Rar ã¢ã¼ã«ã¤ããã¯ãã¼ãºããå²ãå½ã¦ãããå ¨ãªã½ã¼ã¹ãéæ¾ãã¾ãã </para> <para> <function>rar_close</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/reference.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/reference.xml +++ phpdoc-ja/reference/rar/reference.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <reference id="ref.rar"> <title>Rar 颿°</title> <titleabbrev>Rar</titleabbrev> <partintro> <section id="rar.intro"> &reftitle.intro; <para> Rar ã¯ãEugene Roshal ã使ããå¼·åã§å¹ççãªã¢ã¼ã«ã¤ãã§ãã ãã®æ¡å¼µã¯ Rar ã¢ã¼ã«ã¤ãã®èªã¿è¾¼ã¿æ©è½ãæä¾ãã¾ãããæ¸ãè¾¼ã¿ã¯ ãµãã¼ããã¾ããããªããªã UnRar ã©ã¤ãã©ãªããã®æ©è½ãæãã¦ãããã ã¾ãå®éã®ã¨ããããï¼æ¸ãè¾¼ã¿ï¼ã¯ã©ã¤ã»ã³ã¹ã§ç¦ãããã¦ããããã§ãã </para> <para> Rar ããã³ UnRar ã«ã¤ãã¦ã®ããè©³ç´°ãªæ å ±ã¯ <ulink url="&url.rar;">&url.rar;</ulink> ã§è¦ã¤ãããã¾ãã </para> </section> <section id="rar.requirements"> &reftitle.required; &no.requirement; </section> &reference.rar.ini; <section id="rar.install"> &reftitle.install; <para> Rar ã¯ãç¾å¨ PECL <ulink url="&url.pecl.package;rar">&url.pecl.package;rar</ulink> ã§åå¾å¯è½ã§ãã </para> <para> ã¾ãã以ä¸ã®ã³ãã³ãã使ç¨ã㦠pear ã¤ã³ã¹ãã¼ã©ã§ Rar æ¡å¼µã¢ã¸ã¥ã¼ã«ã ã¤ã³ã¹ãã¼ã«ãããã¨ãã§ãã¾ãã<command>pear -v install rar</command> </para> <para> tar.gz ããã±ã¼ã¸ããã¦ã³ãã¼ãããRar ãæåã§ã¤ã³ã¹ãã¼ã«ãããã¨ã å¯è½ã§ãã <example> <title>Rar ã®ã¤ã³ã¹ãã¼ã«</title> <programlisting role="shell"> <![CDATA[ gunzip rar-xxx.tgz tar -xvf rar-xxx.tar cd rar-xxx phpize../configure && make && make install ]]> </programlisting> </example> </para> <para> Windows ã¦ã¼ã¶ã¯ãæ¡å¼µ DLL <filename>php_rar.dll</filename> ããããã ãã¦ã³ãã¼ããã¾ãã<ulink url="&url.pecl.get.win;">&url.pecl.get.win;</ulink> </para> </section> <section id="rar.resources"> &reftitle.resources; <para> Rar æ¡å¼µã¢ã¸ã¥ã¼ã«ã使ç¨ãããªã½ã¼ã¹ã¯ã²ã¨ã¤ãããªãã¡ <function>rar_open</function> ãè¿ããã¡ã¤ã«è¨è¿°åã§ãã </para> </section> <section id="rar.constants"> &reftitle.constants; <variablelist> <varlistentry> <term> <constant>RAR_HOST_MSDOS</constant> (<type>integer</type>) </term> <listitem> <simpara> </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>RAR_HOST_OS2</constant> (<type>integer</type>) </term> <listitem> <simpara> </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>RAR_HOST_WIN32</constant> (<type>integer</type>) </term> <listitem> <simpara> </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>RAR_HOST_UNIX</constant> (<type>integer</type>) </term> <listitem> <simpara> </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>RAR_HOST_BEOS</constant> (<type>integer</type>) </term> <listitem> <simpara> </simpara> </listitem> </varlistentry> </variablelist> </section> <section id="rar.examples"> &reftitle.examples; <para> <example> <title>Rar æ¡å¼µã¢ã¸ã¥ã¼ã«ã®æ¦è¦</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãããªã¼ãã³ã§ãã¾ããã"); $entries = rar_list($rar_file); foreach ($entries as $entry) { echo 'ãã¡ã¤ã«å: ' . $entry->getName() . "\n"; echo 'å§ç¸®æã®ãã¡ã¤ã«ãµã¤ãº: ' . $entry->getPackedSize() . "\n"; echo 'å±éå¾ã®ãã¡ã¤ã«ãµã¤ãº: ' . $entry->getUnpackedSize() . "\n"; $entry->extract('/dir/extract/to/'); } rar_close($rar_file); ?> ]]> </programlisting> </example> </para> <para> ãã®ä¾ã¯ Rar ã¢ã¼ã«ã¤ããã¡ã¤ã«ããªã¼ãã³ãã æå®ãããã£ã¬ã¯ããªã«åã ã®ãã¡ã¤ã«ãå±éãã¾ãã </para> </section> </partintro> &reference.rar.functions; </reference> <!-- 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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/ini.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/ini.xml +++ phpdoc-ja/reference/rar/ini.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <section id="rar.configuration"> &reftitle.runtime; &no.config; </section> <!-- 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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/.cvsignore?r=1.1&p=1 Index: phpdoc-ja/reference/rar/.cvsignore +++ phpdoc-ja/reference/rar/.cvsignore functions.xml
http://cvs.php.net/co.php/phpdoc-ja/reference/rar/functions/rar-open.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-open.xml +++ phpdoc-ja/reference/rar/functions/rar-open.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.rar-open"> <refnamediv> <refname>rar_open</refname> <refpurpose>Rar ã¢ã¼ã«ã¤ãããªã¼ãã³ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>resource</type><methodname>rar_open</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam> </methodsynopsis> <para> æå®ãã Rar ã¢ã¼ã«ã¤ãããªã¼ãã³ããRar ãã¡ã¤ã«ãªã½ã¼ã¹ãè¿ãã¾ãã </para> <para> <function>rar_open</function> ã¯æåããå ´åã« Rar ãã¡ã¤ã«ãªã½ã¼ã¹ã ã¨ã©ã¼æã«ã¯ &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-list.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-list.xml +++ phpdoc-ja/reference/rar/functions/rar-list.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.rar-list"> <refnamediv> <refname>rar_list</refname> <refpurpose>Rar ã¢ã¼ã«ã¤ãã®ã¨ã³ããªä¸è¦§ãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>array</type><methodname>rar_list</methodname> <methodparam><type>resource</type><parameter>rar_file</parameter></methodparam> </methodsynopsis> <para> Rar ã¢ã¼ã«ã¤ããããã¨ã³ããªã®ä¸è¦§ãåå¾ãã¾ãã </para> <example> <title><function>Rar::</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entries_list = rar_list($rar_file); print_r($entries_list); ?> ]]> </programlisting> </example> <para> <function>rar_list</function> ã¯æåããå ´åã«ã¨ã³ããªã®é åã ã¨ã©ã¼æã«ã¯ &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-getversion.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-getversion.xml +++ phpdoc-ja/reference/rar/functions/rar-getversion.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-getVersion"> <refnamediv> <refname>Rar::getVersion</refname> <refpurpose>ã¨ã³ããªã追å ããã®ã«ç¨ããã¢ã¼ã«ã¤ãã®ãã¼ã¸ã§ã³ãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>int</type><methodname>Rar::getVersion</methodname> <void/> </methodsynopsis> <para> ã¢ã¼ã«ã¤ãã¨ã³ããªã追å ããã®ã«ç¨ããã¢ã¼ã«ã¤ãã®ãã¼ã¸ã§ã³ã åå¾ãã¾ãã </para> <example> <title><function>Rar::getVersion</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entry = rar_entry_get($rar_file, 'Dir/file.txt') or die("ãã®ãããªã¨ã³ããªã¯è¦ã¤ããã¾ããã§ãã"); echo "使ç¨ãã Rar (WinRAR) ã®ãã¼ã¸ã§ã³: " . $entry->getVersion(); ?> ]]> </programlisting> </example> <para> <function>Rar::getVersion</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-getunpackedsize.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-getunpackedsize.xml +++ phpdoc-ja/reference/rar/functions/rar-getunpackedsize.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-getUnpackedSize"> <refnamediv> <refname>Rar::getUnpackedSize</refname> <refpurpose>å±éå¾ã®ã¨ã³ããªã®ãµã¤ãºãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>int</type><methodname>Rar::getUnpackedSize</methodname> <void/> </methodsynopsis> <para> å±éå¾ã®ã¢ã¼ã«ã¤ãã¨ã³ããªã®ãµã¤ãºãåå¾ãã¾ãã </para> <example> <title><function>Rar::getUnpackedSize</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entry = rar_entry_get($rar_file, 'Dir/file.txt') or die("ãã®ãããªã¨ã³ããªã¯è¦ã¤ããã¾ãã"); echo "å±éå¾ã® " . $entry->getName() . " ã®ãµã¤ãº = " . $entry->getUnpackedSize() . " ãã¤ã"; ?> ]]> </programlisting> </example> <para> <function>Rar::getUnpackedSize</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-getpackedsize.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-getpackedsize.xml +++ phpdoc-ja/reference/rar/functions/rar-getpackedsize.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-getPackedSize"> <refnamediv> <refname>Rar::getPackedSize</refname> <refpurpose>å§ç¸®å¾ã®ã¨ã³ããªã®ãµã¤ãºãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>int</type><methodname>Rar::getPackedSize</methodname> <void/> </methodsynopsis> <para> å§ç¸®å¾ã®ã¢ã¼ã«ã¤ãã¨ã³ããªã®ãµã¤ãºãåå¾ãã¾ãã </para> <example> <title><function>Rar::getPackedSize</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entry = rar_entry_get($rar_file, 'Dir/file.txt') or die("ãã®ãããªã¨ã³ããªã¯è¦ã¤ããã¾ãã"); echo "å§ç¸®å¾ã® " . $entry->getName() . " ã®ãµã¤ãº = " . $entry->getPackedSize() . " ãã¤ã"; ?> ]]> </programlisting> </example> <para> <function>Rar::getPackedSize</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-getname.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-getname.xml +++ phpdoc-ja/reference/rar/functions/rar-getname.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-getName"> <refnamediv> <refname>Rar::getName</refname> <refpurpose>ã¨ã³ããªã®ååãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>string</type><methodname>Rar::getName</methodname> <void/> </methodsynopsis> <para> <function>Rar::getName</function> ã¯ãã¢ã¼ã«ã¤ãã¨ã³ããªã®ååãè¿ãã¾ãã </para> <example> <title><function>Rar::getName</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entry = rar_entry_get($rar_file, 'Dir/file.txt') or die("ãã®ãããªã¨ã³ããªã¯è¦ã¤ããã¾ãã"); echo "ã¨ã³ããªå: " . $entry->getName(); ?> ]]> </programlisting> </example> <para> <function>Rar::getName</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-getmethod.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-getmethod.xml +++ phpdoc-ja/reference/rar/functions/rar-getmethod.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-getMethod"> <refnamediv> <refname>Rar::getMethod</refname> <refpurpose>ã¨ã³ããªã®å§ç¸®æ¹æ³ãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>int</type><methodname>Rar::getMethod</methodname> <void/> </methodsynopsis> <para> <function>Rar::getMethod</function> ã¯ãã«ã¬ã³ãã®ã¢ã¼ã«ã¤ãã¨ã³ããªã 追å ããéã«ä½¿ç¨ããã¡ã½ããã®çªå·ãè¿ãã¾ãã </para> <example> <title><function>Rar::getMethod</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entry = rar_entry_get($rar_file, 'Dir/file.txt') or die("ãã®ãããªã¨ã³ããªã¯è¦ã¤ããã¾ãã"); echo "ã¡ã½ããçªå·: " . $entry->getMethod(); ?> ]]> </programlisting> </example> <para> <function>Rar::getMethod</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-gethostos.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-gethostos.xml +++ phpdoc-ja/reference/rar/functions/rar-gethostos.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-getHostOs"> <refnamediv> <refname>Rar::getHostOs</refname> <refpurpose>ã¨ã³ããªã®ãã¹ã OS ãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>int</type><methodname>Rar::getHostOs</methodname> <void/> </methodsynopsis> <para> <function>Rar::getHostOs</function> ã¯ãã¢ã¼ã«ã¤ãã¨ã³ããªã® ãã¹ã OS ã®ã³ã¼ããè¿ãã¾ãã </para> <example> <title><function>Rar::getHostOs</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entry = rar_entry_get($rar_file, 'Dir/file.txt') or die("ãã®ãããªã¨ã³ããªã¯è¦ã¤ããã¾ãã"); switch ($entry->getHostOs()) { case RAR_HOST_MSDOS: echo "MS-DOS\n"; break; case RAR_HOST_OS2: echo "OS2\n"; break; case RAR_HOST_WIN32: echo "Win32\n"; break; case RAR_HOST_MACOS: echo "MacOS\n"; break; case RAR_HOST_UNIX: echo "Unix/Linux\n"; break; case RAR_HOST_BEOS: echo "BeOS\n"; break; } ?> ]]> </programlisting> </example> <para> <function>Rar::getHostOs</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-getfiletime.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-getfiletime.xml +++ phpdoc-ja/reference/rar/functions/rar-getfiletime.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-getFileTime"> <refnamediv> <refname>Rar::getFileTime</refname> <refpurpose>ã¨ã³ããªã®æçµæ´æ°æå»ãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>string</type><methodname>Rar::getFileTime</methodname> <void/> </methodsynopsis> <para> <function>Rar::getFileTime</function> ã¯ãã¨ã³ããªã®æçµæ´æ°æå»ã YYYY-MM-DD HH:II:SS å½¢å¼ã®æååã§è¿ãã¾ãã </para> <example> <title><function>Rar::</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php ?> ]]> </programlisting> </example> <para> <function>Rar::getFileTime</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-getcrc.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-getcrc.xml +++ phpdoc-ja/reference/rar/functions/rar-getcrc.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-getCrc"> <refnamediv> <refname>Rar::getCrc</refname> <refpurpose>ã¨ã³ããªã® CRC ãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>int</type><methodname>Rar::getCrc</methodname> <void/> </methodsynopsis> <para> <function>Rar::getCrc</function> ã¯ãã¢ã¼ã«ã¤ãã¨ã³ããªã® CRC ãè¿ãã¾ãã </para> <example> <title><function>Rar::getCrc</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php ?> ]]> </programlisting> </example> <para> <function>Rar::getCrc</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-getattr.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-getattr.xml +++ phpdoc-ja/reference/rar/functions/rar-getattr.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-getAttr"> <refnamediv> <refname>Rar::getAttr</refname> <refpurpose>ã¨ã³ããªã®å±æ§ãåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>int</type><methodname>Rar::getAttr</methodname> <void/> </methodsynopsis> <para> <function>Rar::getAttr</function> ã¯ãã¢ã¼ã«ã¤ãã¨ã³ããªã®å±æ§ãè¿ãã¾ãã </para> <example> <title><function>Rar::getAttr</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entry = rar_entry_get($rar_file, 'dir/in/the/archive') or die("ãã®ãããªã¨ã³ããªã¯è¦ã¤ããã¾ãã"); $host_os = $entry->getHostOs(); $attr = $entry->getAttr(); switch($host_os) { case RAR_HOST_MSDOS: case RAR_HOST_OS2: case RAR_HOST_WIN32: case RAR_HOST_MACOS: printf("%c%c%c%c%c%c\n", ($attr & 0x08) ? 'V' : '.', ($attr & 0x10) ? 'D' : '.', ($attr & 0x01) ? 'R' : '.', ($attr & 0x02) ? 'H' : '.', ($attr & 0x04) ? 'S' : '.', ($attr & 0x20) ? 'A' : '.'); break; case RAR_HOST_UNIX: case RAR_HOST_BEOS: switch ($attr & 0xF000) { case 0x4000: printf("d"); break; case 0xA000: printf("l"); break; default: printf("-"); break; } printf("%c%c%c%c%c%c%c%c%c\n", ($attr & 0x0100) ? 'r' : '-', ($attr & 0x0080) ? 'w' : '-', ($attr & 0x0040) ? (($attr & 0x0800) ? 's':'x'):(($attr & 0x0800) ? 'S':'-'), ($attr & 0x0020) ? 'r' : '-', ($attr & 0x0010) ? 'w' : '-', ($attr & 0x0008) ? (($attr & 0x0400) ? 's':'x'):(($attr & 0x0400) ? 'S':'-'), ($attr & 0x0004) ? 'r' : '-', ($attr & 0x0002) ? 'w' : '-', ($attr & 0x0001) ? 'x' : '-'); break; } rar_close($rar_file); ?> ]]> </programlisting> </example> <para> <function>Rar::getAttr</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </para> <para> <function>Rar::getHostOs</function> ãåç §ãã ããã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-extract.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-extract.xml +++ phpdoc-ja/reference/rar/functions/rar-extract.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.Rar-extract"> <refnamediv> <refname>Rar::extract</refname> <refpurpose>ã¢ã¼ã«ã¤ãã®ã¨ã³ããªãå±éãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>bool</type><methodname>Rar::extract</methodname> <methodparam><type>string</type><parameter>dir</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>filepath</parameter></methodparam> </methodsynopsis> <para> <function>Rar::extract</function> ã¯ãã¨ã³ããªã®ãã¼ã¿ã <parameter>dir</parameter> ã«å±éãã¾ããæå®ãã <parameter>dir</parameter> ã«ãã¨ã³ããªã®ååã¨ååã®æ°ãããã¡ã¤ã«ã 使ãã¾ãã<parameter>dir</parameter> ã®ä»£ããã« <parameter>filepath</parameter> ãæå®ããã¦ããå ´åã¯ã <function>Rar::extract</function> ã¯ã¨ã³ããªã®ãã¼ã¿ãæå®ãããã¡ã¤ã«ã« å±éãã¾ãã </para> <example> <title><function>Rar::extract</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entry = rar_entry_get($rar_file, 'Dir/file.txt') or die("ãã®ãããªã¨ã³ããªã¯è¦ã¤ããã¾ãã"); $entry->extract('/dir/to'); // /dir/to/Dir/file.txt ã使ãã $entry->extract(false, '/dir/to/new_name.txt'); // /dir/to/new_name.txt ã使ãã ?> ]]> </programlisting> </example> <para> &return.success; </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-entry-get.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-entry-get.xml +++ phpdoc-ja/reference/rar/functions/rar-entry-get.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="function.rar-entry-get"> <refnamediv> <refname>rar_entry_get</refname> <refpurpose>Rar ã¢ã¼ã«ã¤ãããã¨ã³ããªãªãã¸ã§ã¯ããåå¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>RarEntry</type><methodname>rar_entry_get</methodname> <methodparam><type>resource</type><parameter>rar_file</parameter></methodparam> <methodparam><type>string</type><parameter>entry_name</parameter></methodparam> </methodsynopsis> <para> Rar ã¢ã¼ã«ã¤ããããã¨ã³ããªãªãã¸ã§ã¯ããåå¾ãã¾ãã </para> <example> <title><function>Rar::</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãã®ãªã¼ãã³ã«å¤±æãã¾ãã"); $entry = rar_entry_get($rar_file, 'Dir/file.txt') or die("ãã®ãããªã¨ã³ããªã¯è¦ã¤ããã¾ãã"); print_r($entry); ?> ]]> </programlisting> </example> <para> <function>rar_get_entry</function> ã¯ãæåããå ´åã«ã¨ã³ããªãªãã¸ã§ã¯ãã ã¨ã©ã¼æã«ã¯ &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/functions/rar-close.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/functions/rar-close.xml +++ phpdoc-ja/reference/rar/functions/rar-close.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="function.rar-close"> <refnamediv> <refname>rar_close</refname> <refpurpose>Rar ã¢ã¼ã«ã¤ããã¯ãã¼ãºããå ¨ãªã½ã¼ã¹ãéæ¾ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <methodsynopsis> <type>bool</type><methodname>rar_close</methodname> <methodparam><type>resource</type><parameter>rar_file</parameter></methodparam> </methodsynopsis> <para> Rar ã¢ã¼ã«ã¤ããã¯ãã¼ãºããå²ãå½ã¦ãããå ¨ãªã½ã¼ã¹ãéæ¾ãã¾ãã </para> <para> <function>rar_close</function> ã¯ãã¨ã©ã¼æã« &false; ãè¿ãã¾ãã </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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/reference.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/reference.xml +++ phpdoc-ja/reference/rar/reference.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <reference id="ref.rar"> <title>Rar 颿°</title> <titleabbrev>Rar</titleabbrev> <partintro> <section id="rar.intro"> &reftitle.intro; <para> Rar ã¯ãEugene Roshal ã使ããå¼·åã§å¹ççãªã¢ã¼ã«ã¤ãã§ãã ãã®æ¡å¼µã¯ Rar ã¢ã¼ã«ã¤ãã®èªã¿è¾¼ã¿æ©è½ãæä¾ãã¾ãããæ¸ãè¾¼ã¿ã¯ ãµãã¼ããã¾ããããªããªã UnRar ã©ã¤ãã©ãªããã®æ©è½ãæãã¦ãããã ã¾ãå®éã®ã¨ããããï¼æ¸ãè¾¼ã¿ï¼ã¯ã©ã¤ã»ã³ã¹ã§ç¦ãããã¦ããããã§ãã </para> <para> Rar ããã³ UnRar ã«ã¤ãã¦ã®ããè©³ç´°ãªæ å ±ã¯ <ulink url="&url.rar;">&url.rar;</ulink> ã§è¦ã¤ãããã¾ãã </para> </section> <section id="rar.requirements"> &reftitle.required; &no.requirement; </section> &reference.rar.ini; <section id="rar.install"> &reftitle.install; <para> Rar ã¯ãç¾å¨ PECL <ulink url="&url.pecl.package;rar">&url.pecl.package;rar</ulink> ã§åå¾å¯è½ã§ãã </para> <para> ã¾ãã以ä¸ã®ã³ãã³ãã使ç¨ã㦠pear ã¤ã³ã¹ãã¼ã©ã§ Rar æ¡å¼µã¢ã¸ã¥ã¼ã«ã ã¤ã³ã¹ãã¼ã«ãããã¨ãã§ãã¾ãã<command>pear -v install rar</command> </para> <para> tar.gz ããã±ã¼ã¸ããã¦ã³ãã¼ãããRar ãæåã§ã¤ã³ã¹ãã¼ã«ãããã¨ã å¯è½ã§ãã <example> <title>Rar ã®ã¤ã³ã¹ãã¼ã«</title> <programlisting role="shell"> <![CDATA[ gunzip rar-xxx.tgz tar -xvf rar-xxx.tar cd rar-xxx phpize../configure && make && make install ]]> </programlisting> </example> </para> <para> Windows ã¦ã¼ã¶ã¯ãæ¡å¼µ DLL <filename>php_rar.dll</filename> ããããã ãã¦ã³ãã¼ããã¾ãã<ulink url="&url.pecl.get.win;">&url.pecl.get.win;</ulink> </para> </section> <section id="rar.resources"> &reftitle.resources; <para> Rar æ¡å¼µã¢ã¸ã¥ã¼ã«ã使ç¨ãããªã½ã¼ã¹ã¯ã²ã¨ã¤ãããªãã¡ <function>rar_open</function> ãè¿ããã¡ã¤ã«è¨è¿°åã§ãã </para> </section> <section id="rar.constants"> &reftitle.constants; <variablelist> <varlistentry> <term> <constant>RAR_HOST_MSDOS</constant> (<type>integer</type>) </term> <listitem> <simpara> </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>RAR_HOST_OS2</constant> (<type>integer</type>) </term> <listitem> <simpara> </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>RAR_HOST_WIN32</constant> (<type>integer</type>) </term> <listitem> <simpara> </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>RAR_HOST_UNIX</constant> (<type>integer</type>) </term> <listitem> <simpara> </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>RAR_HOST_BEOS</constant> (<type>integer</type>) </term> <listitem> <simpara> </simpara> </listitem> </varlistentry> </variablelist> </section> <section id="rar.examples"> &reftitle.examples; <para> <example> <title>Rar æ¡å¼µã¢ã¸ã¥ã¼ã«ã®æ¦è¦</title> <programlisting role="php"> <![CDATA[ <?php $rar_file = rar_open('example.rar') or die("Rar ã¢ã¼ã«ã¤ãããªã¼ãã³ã§ãã¾ããã"); $entries = rar_list($rar_file); foreach ($entries as $entry) { echo 'ãã¡ã¤ã«å: ' . $entry->getName() . "\n"; echo 'å§ç¸®æã®ãã¡ã¤ã«ãµã¤ãº: ' . $entry->getPackedSize() . "\n"; echo 'å±éå¾ã®ãã¡ã¤ã«ãµã¤ãº: ' . $entry->getUnpackedSize() . "\n"; $entry->extract('/dir/extract/to/'); } rar_close($rar_file); ?> ]]> </programlisting> </example> </para> <para> ãã®ä¾ã¯ Rar ã¢ã¼ã«ã¤ããã¡ã¤ã«ããªã¼ãã³ãã æå®ãããã£ã¬ã¯ããªã«åã ã®ãã¡ã¤ã«ãå±éãã¾ãã </para> </section> </partintro> &reference.rar.functions; </reference> <!-- 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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/ini.xml?r=1.1&p=1 Index: phpdoc-ja/reference/rar/ini.xml +++ phpdoc-ja/reference/rar/ini.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <section id="rar.configuration"> &reftitle.runtime; &no.config; </section> <!-- 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 indent-tabs-mode:nil 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/co.php/phpdoc-ja/reference/rar/.cvsignore?r=1.1&p=1 Index: phpdoc-ja/reference/rar/.cvsignore +++ phpdoc-ja/reference/rar/.cvsignore functions.xml