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: 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; &note.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; &note.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; &note.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; &note.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; &note.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; &note.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; &note.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; &note.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; &note.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; &note.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 -->
« previous php.pear.doc (#3902) next »