cvs: peardoc /en/package/filesystem/file-searchreplace file-searchreplace.xml
| From: | anatoly techtonik | Date: | Tue, 06 Dec 2005 20:44:08 +0000 |
| Subject: | cvs: peardoc /en/package/filesystem/file-searchreplace file-searchreplace.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-7276@lists.php.net to get a copy of this message | ||
techtonik Tue Dec 6 15:44:08 2005 EDT
Modified files:
/peardoc/en/package/filesystem/file-searchreplace
file-searchreplace.xml
Log:
+ update documentation to reflect find and replace parameters can be arrays
http://cvs.php.net/diff.php/peardoc/en/package/filesystem/file-searchreplace/file-searchreplace.xml?r1=1.1.1.1&r2=1.2&ty=u
Index: peardoc/en/package/filesystem/file-searchreplace/file-searchreplace.xml
diff -u peardoc/en/package/filesystem/file-searchreplace/file-searchreplace.xml:1.1.1.1
peardoc/en/package/filesystem/file-searchreplace/file-searchreplace.xml:1.2
--- peardoc/en/package/filesystem/file-searchreplace/file-searchreplace.xml:1.1.1.1 Mon Sep 30
23:23:31 2002
+++ peardoc/en/package/filesystem/file-searchreplace/file-searchreplace.xml Tue Dec 6 15:44:06 2005
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.1.1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="package.filesystem.file-searchreplace.file-searchreplace">
<refnamediv>
<refname>File_SearchReplace::File_SearchReplace()</refname>
@@ -13,10 +13,10 @@
<funcdef>void
<function>File_SearchReplace::File_SearchReplace</function></funcdef>
<paramdef>
- string <parameter>$find</parameter>
+ mixed <parameter>$find</parameter>
</paramdef>
<paramdef>
- string <parameter>$replace</parameter>
+ mixed <parameter>$replace</parameter>
</paramdef>
<paramdef>
string <parameter>$files</parameter>
@@ -46,13 +46,14 @@
<itemizedlist>
<listitem>
<para>
- <parameter>string $find</parameter> - the string/regex to find
+ <parameter>mixed $find</parameter> - the string/regex or array
+ of strings/regexes to find
</para>
</listitem>
<listitem>
<para>
- <parameter>string $replace</parameter> - the string/regex to
- replace $find
+ <parameter>mixed $replace</parameter> - the string/regex or
+ array of strings/regexes to replace $find
</para>
</listitem>
<listitem>