Filesystem functions sync + new translated files

From: Date: Tue, 26 Oct 2004 19:51:42 +0000
Subject: Filesystem functions sync + new translated files
Groups: php.doc.ru 
Request: Send a blank email to doc-ru+get-490@lists.php.net to get a copy of this message
Here's the patch that syncs filesystem functions docs. And there's few new translated files lying in new.zip.

Index: bookinfo.xml =================================================================== RCS file: /repository/phpdoc-ru/bookinfo.xml,v retrieving revision 1.27 diff -u -r1.27 bookinfo.xml --- bookinfo.xml 4 Oct 2004 05:01:33 -0000 1.27 +++ bookinfo.xml 26 Oct 2004 19:38:34 -0000 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="windows-1251"?> -<!-- EN-Revision: 1.37 Maintainer: tronic Status: ready --> +<!-- EN-Revision: 1.43 Maintainer: tronic Status: ready --> <!-- $Revision: 1.27 $ --> <bookinfo id="bookinfo"> @@ -62,8 +62,8 @@ <simpara>  ñëó÷àå, åñëè âû çàèíòåðåñîâàíû â ðàñïðîñòðàíåíèè èëè ïóáëèêàöèè ýòîãî äîêóìåíòà öåëèêîì èëè ÷àñòè÷íî, ìîäèôèöèðîâàííûì èëè íåìîäèôèöèðîâàííûì, - è ó âàñ åñòü âîïðîñû, ïîæàëóéñòà, ñâÿæèòåñü ñ íîñèòåëÿìè àâòîðñêîãî ïðàâà - ïî àäðåñó + è ó âàñ åñòü âîïðîñû, ïîæàëóéñòà, ñâÿæèòåñü ñ îáëàäàòåëÿìè àâòîðñêîãî + ïðàâà ïî àäðåñó <ulink url="mailto:&email.php.doc.license;">&email.php.doc.license;</ulink>. Îáðàòèòå âíèìàíèå, ÷òî ýòîò àäðåñ ÿâëÿåòñÿ ïóáëè÷íûì àðõèâèðóåìûì ñïèñêîì ðàññûëêè. Index: language-snippets.ent =================================================================== RCS file: /repository/phpdoc-ru/language-snippets.ent,v retrieving revision 1.22 diff -u -r1.22 language-snippets.ent --- language-snippets.ent 4 Oct 2004 05:01:33 -0000 1.22 +++ language-snippets.ent 26 Oct 2004 19:38:37 -0000 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="windows-1251" ?> -<!-- EN-Revision: 1.88 Maintainer: tronic Status: ready --> +<!-- EN-Revision: 1.124 Maintainer: tronic Status: ready --> <!-- $Revision: 1.22 $ --> <!-- Keep 'em sorted --> Index: reference/filesystem/functions/file-get-contents.xml =================================================================== RCS file: /repository/phpdoc-ru/reference/filesystem/functions/file-get-contents.xml,v retrieving revision 1.2 diff -u -r1.2 file-get-contents.xml --- reference/filesystem/functions/file-get-contents.xml 4 Oct 2004 05:01:34 -0000 1.2 +++ reference/filesystem/functions/file-get-contents.xml 26 Oct 2004 19:39:39 -0000 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="windows-1251"?> -<!-- EN-Revision: 1.18 Maintainer: tronic Status: ready --> +<!-- EN-Revision: 1.19 Maintainer: tronic Status: ready --> <!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.130 --> <refentry id="function.file-get-contents"> @@ -14,10 +14,12 @@ <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter></methodparam> <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>offset</parameter></methodparam> </methodsynopsis> <para> - Äàííàÿ ôóíêöèÿ èäåíòè÷íà ôóíêöèè <function>file</function> ñ òîé òîëüêî ðàçíèöåé, - ÷òî ñîäåðæèìîå ôàéëà âîçâðàùàåòñÿ â ñòðîêå. + Äàííàÿ ôóíêöèÿ èäåíòè÷íà ôóíêöèè <function>file</function> ñ òîé òîëüêî + ðàçíèöåé, ÷òî ñîäåðæèìîå ôàéëà âîçâðàùàåòñÿ â ñòðîêå, íà÷èíàÿ ñ + óêàçàííîãî ñìåùåíèÿ <parameter>offset</parameter>.  ñëó÷àå íåóäà÷è, <function>file_get_contents</function> âåðí¸ò &false;. </para> <para> @@ -26,6 +28,11 @@ ïðîèçâîäèòåëüíîñòè ôóíêöèÿ èñïîëüçóåò àëãîðèòì 'memory mapping' (åñëè ïîääåðæèâàåòñÿ îïåðàöèîííîé ñèñòåìîé). </para> + <note> + <simpara> + Ïàðàìåòð <parameter>offset</parameter> áûë äîáàâëåí â âåðñèè PHP 5.1.0. + </simpara> + </note> <example> <title>Èñïîëüçîâàíèå <function>file_get_contents</function> ñ URI</title> <para> Index: reference/filesystem/functions/file-put-contents.xml =================================================================== RCS file: /repository/phpdoc-ru/reference/filesystem/functions/file-put-contents.xml,v retrieving revision 1.2 diff -u -r1.2 file-put-contents.xml --- reference/filesystem/functions/file-put-contents.xml 4 Oct 2004 05:01:34 -0000 1.2 +++ reference/filesystem/functions/file-put-contents.xml 26 Oct 2004 19:39:39 -0000 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="windows-1251"?> -<!-- EN-Revision: 1.3 Maintainer: tronic Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: tronic Status: ready --> <!-- $Revision: 1.2 $ --> <refentry id="function.file-put-contents"> <refnamediv> @@ -11,7 +11,7 @@ <methodsynopsis> <type>int</type><methodname>file_put_contents</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam><type>string</type><parameter>data</parameter></methodparam> + <methodparam><type>mixed</type><parameter>data</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam> </methodsynopsis> @@ -25,6 +25,11 @@ <constant>FILE_USE_INCLUDE_PATH</constant> è/èëè <constant>FILE_APPEND</constant>. Èñïîëüçóéòå <constant>FILE_USE_INCLUDE_PATH</constant> ñ îñòîðîæíîñòüþ. </simpara> + <para> + Òàêæå âû ìîæåòå ïåðåäàòü (îäíîìåðíûé) ìàññèâ â êà÷åñòâå ïàðàìåòðà + <parameter>data</parameter>. Ýòî áóäåò ýêâèâàëåíòíî âûçîâó + <literal>file_put_contents($filename, join('', $array))</literal>. + </para> &note.bin-safe; &tip.fopen-wrapper; <simpara> Attachment: [application/x-zip-compressed] new.zip
« previous php.doc.ru (#490) next »