mirror of
https://github.com/php/doc-ru.git
synced 2025-08-20 16:51:35 +00:00
Translation various files
git-svn-id: https://svn.php.net/repository/phpdoc/ru/trunk@344423 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
208
reference/ftp/functions/ftp-mlsd.xml
Normal file
208
reference/ftp/functions/ftp-mlsd.xml
Normal file
@ -0,0 +1,208 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 35f9c4a531a97d5e741d2b8b1f8bc95bbeef1d77 Maintainer: lex Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ftp-mlsd" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ftp_mlsd</refname>
|
||||
<refpurpose>Возвращает список файлов в заданной директории</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>ftp_mlsd</methodname>
|
||||
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>directory</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>ftp_stream</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Идентификатор соединения FTP.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>directory</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Директория, список файлов которой будет возвращен.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Возвращает массив массивов с информацией о файлов из указанной директории
|
||||
при успешном выполнении или &false; в случае ошибки.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Пример использования <function>ftp_mlsd</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
// установить основное соединение
|
||||
$conn_id = ftp_connect($ftp_server);
|
||||
|
||||
// авторизоваться на сервере, используя имя пользователя и пароль
|
||||
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
|
||||
|
||||
// получить содержимое текущей директории
|
||||
$contents = ftp_mlsd($conn_id, ".");
|
||||
|
||||
// вывод $contents
|
||||
var_dump($contents);
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
array(5) {
|
||||
[0]=>
|
||||
array(8) {
|
||||
["name"]=>
|
||||
string(1) "."
|
||||
["modify"]=>
|
||||
string(14) "20171212154511"
|
||||
["perm"]=>
|
||||
string(7) "flcdmpe"
|
||||
["type"]=>
|
||||
string(4) "cdir"
|
||||
["unique"]=>
|
||||
string(11) "811U5740002"
|
||||
["UNIX.group"]=>
|
||||
string(2) "33"
|
||||
["UNIX.mode"]=>
|
||||
string(4) "0755"
|
||||
["UNIX.owner"]=>
|
||||
string(2) "33"
|
||||
}
|
||||
[1]=>
|
||||
array(8) {
|
||||
["name"]=>
|
||||
string(2) ".."
|
||||
["modify"]=>
|
||||
string(14) "20171212154511"
|
||||
["perm"]=>
|
||||
string(7) "flcdmpe"
|
||||
["type"]=>
|
||||
string(4) "pdir"
|
||||
["unique"]=>
|
||||
string(11) "811U5740002"
|
||||
["UNIX.group"]=>
|
||||
string(2) "33"
|
||||
["UNIX.mode"]=>
|
||||
string(4) "0755"
|
||||
["UNIX.owner"]=>
|
||||
string(2) "33"
|
||||
}
|
||||
[2]=>
|
||||
array(8) {
|
||||
["name"]=>
|
||||
string(11) "public_html"
|
||||
["modify"]=>
|
||||
string(14) "20171211171525"
|
||||
["perm"]=>
|
||||
string(7) "flcdmpe"
|
||||
["type"]=>
|
||||
string(3) "dir"
|
||||
["unique"]=>
|
||||
string(11) "811U5740525"
|
||||
["UNIX.group"]=>
|
||||
string(2) "33"
|
||||
["UNIX.mode"]=>
|
||||
string(4) "0755"
|
||||
["UNIX.owner"]=>
|
||||
string(2) "33"
|
||||
}
|
||||
[3]=>
|
||||
array(8) {
|
||||
["name"]=>
|
||||
string(10) "public_ftp"
|
||||
["modify"]=>
|
||||
string(14) "20171211174536"
|
||||
["perm"]=>
|
||||
string(7) "flcdmpe"
|
||||
["type"]=>
|
||||
string(3) "dir"
|
||||
["unique"]=>
|
||||
string(11) "811U57405EE"
|
||||
["UNIX.group"]=>
|
||||
string(2) "33"
|
||||
["UNIX.mode"]=>
|
||||
string(4) "0755"
|
||||
["UNIX.owner"]=>
|
||||
string(2) "33"
|
||||
}
|
||||
[4]=>
|
||||
array(8) {
|
||||
["name"]=>
|
||||
string(3) "www"
|
||||
["modify"]=>
|
||||
string(14) "www"
|
||||
["perm"]=>
|
||||
string(7) "flcdmpe"
|
||||
["type"]=>
|
||||
string(3) "dir"
|
||||
["unique"]=>
|
||||
string(11) "811U5740780"
|
||||
["UNIX.group"]=>
|
||||
string(2) "33"
|
||||
["UNIX.mode"]=>
|
||||
string(4) "0755"
|
||||
["UNIX.owner"]=>
|
||||
string(2) "33"
|
||||
}
|
||||
}
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ftp_rawlist</function></member>
|
||||
<member><function>ftp_nlist</function></member>
|
||||
</simplelist>
|
||||
</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:"~/.phpdoc/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
|
||||
-->
|
78
reference/openssl/functions/openssl-pkcs7-read.xml
Normal file
78
reference/openssl/functions/openssl-pkcs7-read.xml
Normal file
@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 0 Maintainer: lex Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.openssl-pkcs7-read" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>openssl_pkcs7_read</refname>
|
||||
<refpurpose>Экспортировать файл PKCS7 в массив сертификатов PEM</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>openssl_pkcs7_read</methodname>
|
||||
<methodparam><type>string</type><parameter>infilename</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter role="reference">certs</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
&warn.undocumented.func;
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>infilename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>certs</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<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:"~/.phpdoc/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
|
||||
-->
|
59
reference/soap/soapclient/getcookies.xml
Normal file
59
reference/soap/soapclient/getcookies.xml
Normal file
@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 0 Maintainer: lex Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="soapclient.getcookies" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>SoapClient::__getCookies</refname>
|
||||
<refpurpose>Получить список cookies</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <type>array</type><methodname>SoapClient::__getCookies</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
&warn.undocumented.func;
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
|
||||
</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:"~/.phpdoc/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
|
||||
-->
|
124
reference/weakref/weakmap.xml
Normal file
124
reference/weakref/weakmap.xml
Normal file
@ -0,0 +1,124 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: b77ea449e7387667c8c8386ea4f736748abf2787 Maintainer: lex Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<phpdoc:classref xml:id="class.weakmap" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
|
||||
<title>Класс WeakMap</title>
|
||||
<titleabbrev>WeakMap</titleabbrev>
|
||||
|
||||
<partintro>
|
||||
|
||||
<!-- {{{ WeakMap intro -->
|
||||
<section xml:id="weakmap.intro">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
<section xml:id="weakmap.synopsis">
|
||||
&reftitle.classsynopsis;
|
||||
|
||||
<!-- {{{ Synopsis -->
|
||||
<classsynopsis>
|
||||
<ooclass><classname>WeakMap</classname></ooclass>
|
||||
|
||||
<!-- {{{ Class synopsis -->
|
||||
<classsynopsisinfo>
|
||||
<ooclass>
|
||||
<classname>WeakMap</classname>
|
||||
</ooclass>
|
||||
|
||||
<oointerface>
|
||||
<interfacename>Countable</interfacename>
|
||||
</oointerface>
|
||||
|
||||
<oointerface>
|
||||
<interfacename>ArrayAccess</interfacename>
|
||||
</oointerface>
|
||||
|
||||
<oointerface>
|
||||
<interfacename>Iterator</interfacename>
|
||||
</oointerface>
|
||||
|
||||
</classsynopsisinfo>
|
||||
<!-- }}} -->
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.weakmap')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
</classsynopsis>
|
||||
<!-- }}} -->
|
||||
|
||||
</section>
|
||||
<!-- {{{ weakmap examples -->
|
||||
<section xml:id="weakmap.examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Пример использования <classname>Weakmap</classname></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$wm = new WeakMap();
|
||||
|
||||
$o = new StdClass;
|
||||
|
||||
class A {
|
||||
public function __destruct() {
|
||||
echo "Завершение работы!\n";
|
||||
}
|
||||
}
|
||||
|
||||
$wm[$o] = new A;
|
||||
|
||||
var_dump(count($wm));
|
||||
echo "Удаление..\n";
|
||||
unset($o);
|
||||
echo "Готово\n";
|
||||
var_dump(count($wm));
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
int(1)
|
||||
Удаление..
|
||||
Завершение работы!
|
||||
Готово
|
||||
int(0)
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
</partintro>
|
||||
|
||||
&reference.weakref.entities.weakmap;
|
||||
|
||||
</phpdoc:classref>
|
||||
|
||||
<!-- 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:"~/.phpdoc/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
|
||||
-->
|
Reference in New Issue
Block a user