cvs: peardoc /ja/package/filesystem file-searchreplace.xml /ja/package/filesystem/file-searchreplace dosearch.xml file-searchreplace.xml
getnumoccurences.xml intro.xml setdirectories.xml setfiles.xml setfind.xml setignorelines.xml setincludesubdir.xml setreplace.xml
setsearchfunction.xml
| From: | Tadashi Jokagi | Date: | Wed, 05 May 2004 13:32:21 +0000 |
| Subject: | cvs: peardoc /ja/package/filesystem file-searchreplace.xml /ja/package/filesystem/file-searchreplace dosearch.xml file-searchreplace.xml getnumoccurences.xml intro.xml setdirectories.xml setfiles.xml setfind.xml setignorelines.xml setincludesubdir.xml setreplace.xml setsearchfunction.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-3902@lists.php.net to get a copy of this message | ||
elf Wed May 5 09:32:21 2004 EDT
Added files:
/peardoc/ja/package/filesystem file-searchreplace.xml
/peardoc/ja/package/filesystem/file-searchreplace dosearch.xml
file-searchreplace.xml
getnumoccurences.xml
intro.xml
setdirectories.xml
setfiles.xml
setfind.xml
setignorelines.xml
setincludesubdir.xml
setreplace.xml
setsearchfunction.xml
Log:
o added japanese manual.(thx shoma)
http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace.xml +++ peardoc/ja/package/filesystem/file-searchreplace.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: shoma Status: ready --> <sect1 id="package.filesystem.file-searchreplace"> <title>File_SearchReplace</title> <para> ãã¡ã¤ã«ç¾¤ä¸ã®ããã¹ããç½®æããAPIãæä¾ãã¾ãã </para> &package.filesystem.file-searchreplace.intro; &package.filesystem.file-searchreplace.file-searchreplace; &package.filesystem.file-searchreplace.getnumoccurences; &package.filesystem.file-searchreplace.dosearch; &package.filesystem.file-searchreplace.setdirectories; &package.filesystem.file-searchreplace.setfiles; &package.filesystem.file-searchreplace.setfind; &package.filesystem.file-searchreplace.setincludesubdir; &package.filesystem.file-searchreplace.setreplace; &package.filesystem.file-searchreplace.setsearchfunction; </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/dosearch.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/dosearch.xml +++ peardoc/ja/package/filesystem/file-searchreplace/dosearch.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.dosearch"> <refnamediv> <refname>File_SearchReplace::doSearch()</refname> <refpurpose>æ¤ç´¢ã¨ç½®æãå®è¡ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>File_SearchReplace::doSearch</function></funcdef> <paramdef> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.dosearch.desc"> &title.desc; <para> ãã¿ã¼ã³ãæ¤ç´¢ããããã¿ã¤ããã°ç½®æãã¾ãã </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.dosearch.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/file-searchreplace.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/file-searchreplace.xml +++ peardoc/ja/package/filesystem/file-searchreplace/file-searchreplace.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.file-searchreplace"> <refnamediv> <refname>File_SearchReplace::File_SearchReplace()</refname> <refpurpose>ã³ã³ã¹ãã©ã¯ã¿</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>File_SearchReplace::File_SearchReplace</function></funcdef> <paramdef> string <parameter>$find</parameter> </paramdef> <paramdef> string <parameter>$replace</parameter> </paramdef> <paramdef> string <parameter>$files</parameter> </paramdef> <paramdef> mixed <parameter><optional>$directories = ''</optional></parameter> </paramdef> <paramdef> boolean <parameter><optional>$include_subdir = &true;</optional></parameter> </paramdef> <paramdef> array <parameter><optional>$ignore_lines = array()</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.file-searchreplace.desc"> &title.desc; <para> ã³ã³ã¹ãã©ã¯ã¿ </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.file-searchreplace.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $find</parameter> - æ¤ç´¢å¯¾è±¡ã®æå/æ£è¦è¡¨ç¾ </para> </listitem> <listitem> <para> <parameter>string $replace</parameter> - $findãç½®æããæå/æ£è¦è¡¨ç¾ </para> </listitem> <listitem> <para> <parameter>array $files</parameter> - 対象ã¨ãªããã¡ã¤ã« </para> </listitem> <listitem> <para> <parameter>array $directories</parameter> - 対象ã¨ãªããã£ã¬ã¯ã㪠</para> </listitem> <listitem> <para> <parameter>boolean $include_subdir</parameter> - ãµããã£ã¬ã¯ããªã横æãã¦èµ°æ»ãããã©ãã </para> </listitem> <listitem> <para> <parameter>array $ignore_lines</parameter> - è¡ãç¡è¦ããããã®æååããã¤é åããã®è¦ç´ ã¯"normal"ã®æ¤ç´¢ã§ã®ã¿åä½ãã¾ãã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.file-searchreplace.note"> &title.note; ¬e.canstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/getnumoccurences.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/getnumoccurences.xml +++ peardoc/ja/package/filesystem/file-searchreplace/getnumoccurences.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.getnumoccurences"> <refnamediv> <refname>File_SearchReplace::getNumOccurences()</refname> <refpurpose>ç½®æããæ°ãè¿ã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>integer <function>File_SearchReplace::getNumOccurences</function></funcdef> <paramdef> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.getnumoccurences.desc"> &title.desc; <para> <link linkend="package.filesystem.file-searchreplace.dosearch"> <function>File_SearchReplace::doSearch</function></link>ãå¼ã³åºããå¾ã«ã ç½®æããæååã®æ°ãè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.getnumoccurences.return"> &title.returns; <para> <parameter>integer</parameter> - æ¤ç´¢ã«ãããããæ° </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.getnumoccurences.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/intro.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/intro.xml +++ peardoc/ja/package/filesystem/file-searchreplace/intro.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.intro"> <refnamediv> <refname>å°å ¥</refname> <refpurpose>è¤æ°ã®ãã¡ã¤ã«ããæ¤ç´¢ãã¦ç½®æãã</refpurpose> </refnamediv> <refsect1 id="package.filesystem.file-searchreplace.intro.use"> <title>å©ç¨</title> <para> <classname>SearchReplace</classname>ãå©ç¨ãã¦ã好ããªã ãã®ãã¡ã¤ã«ããããã¹ãç½®æãã§ãã¾ãã </para> <example> <title>å ¸åçãªå©ç¨</title> <programlisting role="php"> <![CDATA[ <?php include 'File/SearchReplace.php' ; $files = array( "test1.txt", "test2.txt", "test3.txt" ) ; $ignoreline = array( "#", ":") ; $snr = File_SearchReplace( "Yes", "No", $files, "/mail/", false, $ignoreline) ; $snr -> doSearch() ; ?> ]]> </programlisting> </example> <para> ãã®ä¾ã§ã¯<parameter>"/mail/"</parameter>ãã£ã¬ã¯ããªã«ãã$filesããã ãã¹ã¦ã®<parameter>"Yes"</parameter>ã<parameter>"No"</parameter>ã«ç½®æãã¦ãã¾ãã ãããã¡ã¤ã«ã®è¡ã<parameter>$ignoreline</parameter>ã®æååã§ã¯ãã¾ã£ã¦ãããªãã ããããã¦ãç¡è¦ããã¾ãã </para> <para> æ°ããæ¤ç´¢ãã¯ã©ã¹ã¤ã³ã¹ã¿ã³ã¹ãä½ãç´ããªãã¦ããããã¨ãã§ãã¾ãã </para> <example> <title>æ°ããæ¤ç´¢ããã</title> <programlisting role="php"> <![CDATA[ ... // string to search $snr -> setFind( "Er") ; // string to find $snr -> setReplace( "Sie") ; // look in this files $snr -> setFiles( $files) ; // look in this directories $snr -> setDirectories( array( "/neue_briefe/")) ; // look in the subdirectories too $snr -> setIncludeSubdir( true) ; // ignore lines in the files starting with this chars $snr -> setIgnoreLines( array( "::", "#")) ; // restart search'n'replace $snr -> doSearch() ; ]]> </programlisting> </example> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.intro.searchtype"> <title>Types of search functions</title> <para> <classname>File_SearchReplace</classname>ã¯ããããã®ç¨®é¡ã®æ¤ç´¢é¢æ°ããµãã¼ããã¦ãã¾ãã ãã®ç¨®é¡ã®éãã¯<parameter>$find</parameter>-ãã©ã¡ã¼ã¿ã®æ¸å¼ã«å½±é¿ãã¾ãã <simplelist> <member> <parameter>normal</parameter> - ããã©ã«ãã§ã次ã®ãã©ã¡ã¼ã¿ããµãã¼ãããå¯ä¸ã®ç¨®é¡ã§ãã <parameter>$IgnoreLines</parameter>-ãã©ã¡ã¼ã¿ </member> <member> <parameter>quick</parameter> - <function>str_replace</function> ã使ç¨ãã¾ãã </member> <member> <parameter>preg</parameter> - <function>preg_replace</function> ã使ç¨ãã¾ãã </member> <member> <parameter>ereg</parameter> - <function>ereg_replace</function> ã使ç¨ãã¾ãã </member> </simplelist> ã¿ã¤ãã®è¨å®ã¯ã<link linkend="package.filesystem.file-searchreplace.dosearch"><function>doSearch</function></link> ãå¼ã³åºãåã«ã<link linkend="package.filesystem.file-searchreplace.setsearchfunction"> <function>setSearchFunction</function></link>ã§è¨å®ãã¾ãã </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/setdirectories.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/setdirectories.xml +++ peardoc/ja/package/filesystem/file-searchreplace/setdirectories.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.setdirectories"> <refnamediv> <refname>File_SearchReplace::setDirectories()</refname> <refpurpose>ãã¡ã¤ã«ã®å ´æãè¨å®ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>File_SearchReplace::setDirectories</function></funcdef> <paramdef> array <parameter>$directories</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.setdirectories.desc"> &title.desc; <para> æ¤ç´¢ã®å¯¾è±¡ã¨ãªããã¡ã¤ã«ããããã£ã¬ã¯ããªãè¨å®ãã¾ãã </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setdirectories.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $directories</parameter> - å®è¡ãããã£ã¬ã¯ã㪠</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setdirectories.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setdirectories.see"> &title.see; <para> <link linkend="package.filesystem.file-searchreplace.file-searchreplace"> <function>File_SearachReplace constructor</function></link> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/setfiles.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/setfiles.xml +++ peardoc/ja/package/filesystem/file-searchreplace/setfiles.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.setfiles"> <refnamediv> <refname>File_SearchReplace::setFiles()</refname> <refpurpose>æ¤ç´¢ã®å¯¾è±¡ã¨ãªããã¡ã¤ã«ãè¨å®ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>File_SearchReplace::setFiles</function></funcdef> <paramdef> array <parameter>$files</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.setfiles.desc"> &title.desc; <para> æ¤ç´¢ã®å¯¾è±¡ã¨ãªããã¡ã¤ã«ãè¨å®ãã¾ãã </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setfiles.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $files</parameter> - æ¤ç´¢å¯¾è±¡ã®ãã¡ã¤ã« </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setfiles.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setfiles.see"> &title.see; <para> <link linkend="package.filesystem.file-searchreplace.file-searchreplace"> <function>File_SearachReplace constructor</function></link> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/setfind.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/setfind.xml +++ peardoc/ja/package/filesystem/file-searchreplace/setfind.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.setfind"> <refnamediv> <refname>File_SearchReplace::setFind()</refname> <refpurpose>set pattern to find</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>File_SearchReplace::setFind</function></funcdef> <paramdef> string <parameter>$find</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.setfind.desc"> &title.desc; <para> Set the pattern for the string to find. </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setfind.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $find</parameter> - the string/regex to find </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setfind.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setfind.see"> &title.see; <para> <link linkend="package.filesystem.file-searchreplace.file-searchreplace"> <function>File_SearachReplace constructor</function></link> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/setignorelines.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/setignorelines.xml +++ peardoc/ja/package/filesystem/file-searchreplace/setignorelines.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.setignorelines"> <refnamediv> <refname>File_SearchReplace::setIgnoreLines()</refname> <refpurpose>ç¡è¦ããé¨åããã¼ã¯ã¢ãããè¨å®ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>File_SearchReplace::setIgnoreLines</function></funcdef> <paramdef> array <parameter>$ignore_lines</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.setignorelines.desc"> &title.desc; <para> æ¤ç´¢å¯¾è±¡ããé¤ãè¡ããã¼ã¯ã¢ããããæååãè¨å®ãã¾ãã </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setignorelines.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $ignore_lines</parameter> - é åã«ããæååã§ã¯ãã¾ãè¡ãç¡è¦ãã¾ãããã®æ©è½ã¯"normal"ã®æ¤ç´¢ã§ãããåä½ãã¾ããã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setignorelines.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setignorelines.see"> &title.see; <para> <link linkend="package.filesystem.file-searchreplace.file-searchreplace"> <function>File_SearachReplace constructor</function></link> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/setincludesubdir.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/setincludesubdir.xml +++ peardoc/ja/package/filesystem/file-searchreplace/setincludesubdir.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.setincludesubdir"> <refnamediv> <refname>File_SearchReplace::setIncludeSubdir()</refname> <refpurpose>ãµããã£ã¬ã¯ããªã®æ¤ç´¢ãå¯è½ã«ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>File_SearchReplace::setIncludeSubdir</function></funcdef> <paramdef> integer <parameter>$include_subdir</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.setincludesubdir.desc"> &title.desc; <para> ãµããã£ã¬ã¯ããªã«ãããã¡ã¤ã«ãæ¤ç´¢å¯è½ãã©ããã確èªãã¾ãã </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setincludesubdir.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>boolean $inlude_subdir</parameter> - ãµããã£ã¬ã¯ããªã®æ¨ªæçæ¤ç´¢ãã©ããã§ãã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setincludesubdir.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setincludesubdir.see"> &title.see; <para> <link linkend="package.filesystem.file-searchreplace.file-searchreplace"> <function>File_SearachReplace constructor</function></link> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/setreplace.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/setreplace.xml +++ peardoc/ja/package/filesystem/file-searchreplace/setreplace.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.setreplace"> <refnamediv> <refname>File_SearchReplace::setReplace()</refname> <refpurpose>ç½®æããæååãè¨å®ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>File_SearchReplace::setReplace</function></funcdef> <paramdef> string <parameter>$replace</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.setreplace.desc"> &title.desc; <para> ç½®æããæååãè¨å®ãã¾ãã </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setreplace.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $replace</parameter> - è¦ã¤ãã£ãæå/æ£è¦è¡¨ç¾ãç½®æããæå/æ£è¦è¡¨ç¾ </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setreplace.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setreplace.see"> &title.see; <para> <link linkend="package.filesystem.file-searchreplace.file-searchreplace"> <function>File_SearachReplace constructor</function></link> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/setsearchfunction.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/setsearchfunction.xml +++ peardoc/ja/package/filesystem/file-searchreplace/setsearchfunction.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.setsearchfunction"> <refnamediv> <refname>File_SearchReplace::setSearchFunction()</refname> <refpurpose>å©ç¨ããæ¤ç´¢ç¨ã®é¢æ°ãè¨å®ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>File_SearchReplace::setSearchFunction</function></funcdef> <paramdef> array <parameter>$search_function</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.setsearchfunction.desc"> &title.desc; <para> ã©ã®æ¤ç´¢ç¨ã®é¢æ°ã使ç¨ããããæ±ºå®ãã¾ãã </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setsearchfunction.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>$search_function</parameter> - å©ç¨ãããã¨ããæ¤ç´¢ç¨ã®é¢æ° ããå¯è½ãªå¤: <parameter>"normal"</parameter>, <parameter>"quick"</parameter>, <parameter>"preg"</parameter>, <parameter>"ereg"</parameter> </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setsearchfunction.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setsearchfunction.see"> &title.see; <para> <link linkend="package.filesystem.file-searchreplace.file-searchreplace"> <function>File_SearachReplace constructor</function></link> ,<link linkend="package.filesystem.file-searchreplace.intro.searchtype">"Types of search functions"</link> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace.xml +++ peardoc/ja/package/filesystem/file-searchreplace.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: shoma Status: ready --> <sect1 id="package.filesystem.file-searchreplace"> <title>File_SearchReplace</title> <para> ãã¡ã¤ã«ç¾¤ä¸ã®ããã¹ããç½®æããAPIãæä¾ãã¾ãã </para> &package.filesystem.file-searchreplace.intro; &package.filesystem.file-searchreplace.file-searchreplace; &package.filesystem.file-searchreplace.getnumoccurences; &package.filesystem.file-searchreplace.dosearch; &package.filesystem.file-searchreplace.setdirectories; &package.filesystem.file-searchreplace.setfiles; &package.filesystem.file-searchreplace.setfind; &package.filesystem.file-searchreplace.setincludesubdir; &package.filesystem.file-searchreplace.setreplace; &package.filesystem.file-searchreplace.setsearchfunction; </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/dosearch.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/dosearch.xml +++ peardoc/ja/package/filesystem/file-searchreplace/dosearch.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.dosearch"> <refnamediv> <refname>File_SearchReplace::doSearch()</refname> <refpurpose>æ¤ç´¢ã¨ç½®æãå®è¡ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>File_SearchReplace::doSearch</function></funcdef> <paramdef> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.dosearch.desc"> &title.desc; <para> ãã¿ã¼ã³ãæ¤ç´¢ããããã¿ã¤ããã°ç½®æãã¾ãã </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.dosearch.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/file-searchreplace.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/file-searchreplace.xml +++ peardoc/ja/package/filesystem/file-searchreplace/file-searchreplace.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.file-searchreplace"> <refnamediv> <refname>File_SearchReplace::File_SearchReplace()</refname> <refpurpose>ã³ã³ã¹ãã©ã¯ã¿</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>File_SearchReplace::File_SearchReplace</function></funcdef> <paramdef> string <parameter>$find</parameter> </paramdef> <paramdef> string <parameter>$replace</parameter> </paramdef> <paramdef> string <parameter>$files</parameter> </paramdef> <paramdef> mixed <parameter><optional>$directories = ''</optional></parameter> </paramdef> <paramdef> boolean <parameter><optional>$include_subdir = &true;</optional></parameter> </paramdef> <paramdef> array <parameter><optional>$ignore_lines = array()</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.file-searchreplace.desc"> &title.desc; <para> ã³ã³ã¹ãã©ã¯ã¿ </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.file-searchreplace.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $find</parameter> - æ¤ç´¢å¯¾è±¡ã®æå/æ£è¦è¡¨ç¾ </para> </listitem> <listitem> <para> <parameter>string $replace</parameter> - $findãç½®æããæå/æ£è¦è¡¨ç¾ </para> </listitem> <listitem> <para> <parameter>array $files</parameter> - 対象ã¨ãªããã¡ã¤ã« </para> </listitem> <listitem> <para> <parameter>array $directories</parameter> - 対象ã¨ãªããã£ã¬ã¯ã㪠</para> </listitem> <listitem> <para> <parameter>boolean $include_subdir</parameter> - ãµããã£ã¬ã¯ããªã横æãã¦èµ°æ»ãããã©ãã </para> </listitem> <listitem> <para> <parameter>array $ignore_lines</parameter> - è¡ãç¡è¦ããããã®æååããã¤é åããã®è¦ç´ ã¯"normal"ã®æ¤ç´¢ã§ã®ã¿åä½ãã¾ãã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.file-searchreplace.note"> &title.note; ¬e.canstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/getnumoccurences.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/getnumoccurences.xml +++ peardoc/ja/package/filesystem/file-searchreplace/getnumoccurences.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.getnumoccurences"> <refnamediv> <refname>File_SearchReplace::getNumOccurences()</refname> <refpurpose>ç½®æããæ°ãè¿ã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>integer <function>File_SearchReplace::getNumOccurences</function></funcdef> <paramdef> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.getnumoccurences.desc"> &title.desc; <para> <link linkend="package.filesystem.file-searchreplace.dosearch"> <function>File_SearchReplace::doSearch</function></link>ãå¼ã³åºããå¾ã«ã ç½®æããæååã®æ°ãè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.getnumoccurences.return"> &title.returns; <para> <parameter>integer</parameter> - æ¤ç´¢ã«ãããããæ° </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.getnumoccurences.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/intro.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/intro.xml +++ peardoc/ja/package/filesystem/file-searchreplace/intro.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.intro"> <refnamediv> <refname>å°å ¥</refname> <refpurpose>è¤æ°ã®ãã¡ã¤ã«ããæ¤ç´¢ãã¦ç½®æãã</refpurpose> </refnamediv> <refsect1 id="package.filesystem.file-searchreplace.intro.use"> <title>å©ç¨</title> <para> <classname>SearchReplace</classname>ãå©ç¨ãã¦ã好ããªã ãã®ãã¡ã¤ã«ããããã¹ãç½®æãã§ãã¾ãã </para> <example> <title>å ¸åçãªå©ç¨</title> <programlisting role="php"> <![CDATA[ <?php include 'File/SearchReplace.php' ; $files = array( "test1.txt", "test2.txt", "test3.txt" ) ; $ignoreline = array( "#", ":") ; $snr = File_SearchReplace( "Yes", "No", $files, "/mail/", false, $ignoreline) ; $snr -> doSearch() ; ?> ]]> </programlisting> </example> <para> ãã®ä¾ã§ã¯<parameter>"/mail/"</parameter>ãã£ã¬ã¯ããªã«ãã$filesããã ãã¹ã¦ã®<parameter>"Yes"</parameter>ã<parameter>"No"</parameter>ã«ç½®æãã¦ãã¾ãã ãããã¡ã¤ã«ã®è¡ã<parameter>$ignoreline</parameter>ã®æååã§ã¯ãã¾ã£ã¦ãããªãã ããããã¦ãç¡è¦ããã¾ãã </para> <para> æ°ããæ¤ç´¢ãã¯ã©ã¹ã¤ã³ã¹ã¿ã³ã¹ãä½ãç´ããªãã¦ããããã¨ãã§ãã¾ãã </para> <example> <title>æ°ããæ¤ç´¢ããã</title> <programlisting role="php"> <![CDATA[ ... // string to search $snr -> setFind( "Er") ; // string to find $snr -> setReplace( "Sie") ; // look in this files $snr -> setFiles( $files) ; // look in this directories $snr -> setDirectories( array( "/neue_briefe/")) ; // look in the subdirectories too $snr -> setIncludeSubdir( true) ; // ignore lines in the files starting with this chars $snr -> setIgnoreLines( array( "::", "#")) ; // restart search'n'replace $snr -> doSearch() ; ]]> </programlisting> </example> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.intro.searchtype"> <title>Types of search functions</title> <para> <classname>File_SearchReplace</classname>ã¯ããããã®ç¨®é¡ã®æ¤ç´¢é¢æ°ããµãã¼ããã¦ãã¾ãã ãã®ç¨®é¡ã®éãã¯<parameter>$find</parameter>-ãã©ã¡ã¼ã¿ã®æ¸å¼ã«å½±é¿ãã¾ãã <simplelist> <member> <parameter>normal</parameter> - ããã©ã«ãã§ã次ã®ãã©ã¡ã¼ã¿ããµãã¼ãããå¯ä¸ã®ç¨®é¡ã§ãã <parameter>$IgnoreLines</parameter>-ãã©ã¡ã¼ã¿ </member> <member> <parameter>quick</parameter> - <function>str_replace</function> ã使ç¨ãã¾ãã </member> <member> <parameter>preg</parameter> - <function>preg_replace</function> ã使ç¨ãã¾ãã </member> <member> <parameter>ereg</parameter> - <function>ereg_replace</function> ã使ç¨ãã¾ãã </member> </simplelist> ã¿ã¤ãã®è¨å®ã¯ã<link linkend="package.filesystem.file-searchreplace.dosearch"><function>doSearch</function></link> ãå¼ã³åºãåã«ã<link linkend="package.filesystem.file-searchreplace.setsearchfunction"> <function>setSearchFunction</function></link>ã§è¨å®ãã¾ãã </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/setdirectories.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/setdirectories.xml +++ peardoc/ja/package/filesystem/file-searchreplace/setdirectories.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.setdirectories"> <refnamediv> <refname>File_SearchReplace::setDirectories()</refname> <refpurpose>ãã¡ã¤ã«ã®å ´æãè¨å®ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>File_SearchReplace::setDirectories</function></funcdef> <paramdef> array <parameter>$directories</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.setdirectories.desc"> &title.desc; <para> æ¤ç´¢ã®å¯¾è±¡ã¨ãªããã¡ã¤ã«ããããã£ã¬ã¯ããªãè¨å®ãã¾ãã </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setdirectories.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $directories</parameter> - å®è¡ãããã£ã¬ã¯ã㪠</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setdirectories.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setdirectories.see"> &title.see; <para> <link linkend="package.filesystem.file-searchreplace.file-searchreplace"> <function>File_SearachReplace constructor</function></link> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/setfiles.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/setfiles.xml +++ peardoc/ja/package/filesystem/file-searchreplace/setfiles.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.setfiles"> <refnamediv> <refname>File_SearchReplace::setFiles()</refname> <refpurpose>æ¤ç´¢ã®å¯¾è±¡ã¨ãªããã¡ã¤ã«ãè¨å®ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>File_SearchReplace::setFiles</function></funcdef> <paramdef> array <parameter>$files</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.setfiles.desc"> &title.desc; <para> æ¤ç´¢ã®å¯¾è±¡ã¨ãªããã¡ã¤ã«ãè¨å®ãã¾ãã </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setfiles.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $files</parameter> - æ¤ç´¢å¯¾è±¡ã®ãã¡ã¤ã« </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setfiles.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setfiles.see"> &title.see; <para> <link linkend="package.filesystem.file-searchreplace.file-searchreplace"> <function>File_SearachReplace constructor</function></link> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/setfind.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/setfind.xml +++ peardoc/ja/package/filesystem/file-searchreplace/setfind.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.setfind"> <refnamediv> <refname>File_SearchReplace::setFind()</refname> <refpurpose>set pattern to find</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>File_SearchReplace::setFind</function></funcdef> <paramdef> string <parameter>$find</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.setfind.desc"> &title.desc; <para> Set the pattern for the string to find. </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setfind.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $find</parameter> - the string/regex to find </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setfind.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setfind.see"> &title.see; <para> <link linkend="package.filesystem.file-searchreplace.file-searchreplace"> <function>File_SearachReplace constructor</function></link> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/setignorelines.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/setignorelines.xml +++ peardoc/ja/package/filesystem/file-searchreplace/setignorelines.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.setignorelines"> <refnamediv> <refname>File_SearchReplace::setIgnoreLines()</refname> <refpurpose>ç¡è¦ããé¨åããã¼ã¯ã¢ãããè¨å®ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>File_SearchReplace::setIgnoreLines</function></funcdef> <paramdef> array <parameter>$ignore_lines</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.setignorelines.desc"> &title.desc; <para> æ¤ç´¢å¯¾è±¡ããé¤ãè¡ããã¼ã¯ã¢ããããæååãè¨å®ãã¾ãã </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setignorelines.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $ignore_lines</parameter> - é åã«ããæååã§ã¯ãã¾ãè¡ãç¡è¦ãã¾ãããã®æ©è½ã¯"normal"ã®æ¤ç´¢ã§ãããåä½ãã¾ããã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setignorelines.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setignorelines.see"> &title.see; <para> <link linkend="package.filesystem.file-searchreplace.file-searchreplace"> <function>File_SearachReplace constructor</function></link> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/setincludesubdir.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/setincludesubdir.xml +++ peardoc/ja/package/filesystem/file-searchreplace/setincludesubdir.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.setincludesubdir"> <refnamediv> <refname>File_SearchReplace::setIncludeSubdir()</refname> <refpurpose>ãµããã£ã¬ã¯ããªã®æ¤ç´¢ãå¯è½ã«ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>File_SearchReplace::setIncludeSubdir</function></funcdef> <paramdef> integer <parameter>$include_subdir</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.setincludesubdir.desc"> &title.desc; <para> ãµããã£ã¬ã¯ããªã«ãããã¡ã¤ã«ãæ¤ç´¢å¯è½ãã©ããã確èªãã¾ãã </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setincludesubdir.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>boolean $inlude_subdir</parameter> - ãµããã£ã¬ã¯ããªã®æ¨ªæçæ¤ç´¢ãã©ããã§ãã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setincludesubdir.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setincludesubdir.see"> &title.see; <para> <link linkend="package.filesystem.file-searchreplace.file-searchreplace"> <function>File_SearachReplace constructor</function></link> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/setreplace.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/setreplace.xml +++ peardoc/ja/package/filesystem/file-searchreplace/setreplace.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.setreplace"> <refnamediv> <refname>File_SearchReplace::setReplace()</refname> <refpurpose>ç½®æããæååãè¨å®ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>File_SearchReplace::setReplace</function></funcdef> <paramdef> string <parameter>$replace</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.setreplace.desc"> &title.desc; <para> ç½®æããæååãè¨å®ãã¾ãã </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setreplace.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $replace</parameter> - è¦ã¤ãã£ãæå/æ£è¦è¡¨ç¾ãç½®æããæå/æ£è¦è¡¨ç¾ </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setreplace.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setreplace.see"> &title.see; <para> <link linkend="package.filesystem.file-searchreplace.file-searchreplace"> <function>File_SearachReplace constructor</function></link> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/filesystem/file-searchreplace/setsearchfunction.xml?r=1.1&p=1 Index: peardoc/ja/package/filesystem/file-searchreplace/setsearchfunction.xml +++ peardoc/ja/package/filesystem/file-searchreplace/setsearchfunction.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1.1.1 Maintainer: shoma Status: ready --> <refentry id="package.filesystem.file-searchreplace.setsearchfunction"> <refnamediv> <refname>File_SearchReplace::setSearchFunction()</refname> <refpurpose>å©ç¨ããæ¤ç´¢ç¨ã®é¢æ°ãè¨å®ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/SearchReplace.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>File_SearchReplace::setSearchFunction</function></funcdef> <paramdef> array <parameter>$search_function</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filesystem.file-searchreplace.setsearchfunction.desc"> &title.desc; <para> ã©ã®æ¤ç´¢ç¨ã®é¢æ°ã使ç¨ããããæ±ºå®ãã¾ãã </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setsearchfunction.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>$search_function</parameter> - å©ç¨ãããã¨ããæ¤ç´¢ç¨ã®é¢æ° ããå¯è½ãªå¤: <parameter>"normal"</parameter>, <parameter>"quick"</parameter>, <parameter>"preg"</parameter>, <parameter>"ereg"</parameter> </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setsearchfunction.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.filesystem.file-searchreplace.setsearchfunction.see"> &title.see; <para> <link linkend="package.filesystem.file-searchreplace.file-searchreplace"> <function>File_SearachReplace constructor</function></link> ,<link linkend="package.filesystem.file-searchreplace.intro.searchtype">"Types of search functions"</link> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->