mirror of
https://github.com/php/doc-pt_br.git
synced 2026-03-23 22:52:12 +01:00
Update translation.
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
</sect2>
|
||||
<!-- Move this to OOP constants page? -->
|
||||
<sect2 xml:id="language.oop5.interfaces.constants">
|
||||
<title><literal>Constantes</literal></title>
|
||||
<title>Constantes</title>
|
||||
<para>
|
||||
É possível ter constantes em interfaces. Constantes de interfaces funcionam exatamente
|
||||
como <link linkend="language.oop5.constants">constantes de classes</link>, com exceção de
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 2ef03df114cbcb863b26c8d967e808e8ca3e4606 Maintainer: none Status: ready -->
|
||||
<!-- EN-Revision: 45fb9e53a3f83376b0663b3d5b9053d359ccef86 Maintainer: ae Status: ready -->
|
||||
|
||||
<refentry xml:id="zmq.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
@@ -10,7 +10,7 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>private</modifier><methodname>ZMQ::__construct</methodname>
|
||||
<modifier>private</modifier> <methodname>ZMQ::__construct</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 2ef03df114cbcb863b26c8d967e808e8ca3e4606 Maintainer: none Status: ready -->
|
||||
<!-- EN-Revision: d530899344cd881b6d09ff188e24252651c2f394 Maintainer: ae Status: ready -->
|
||||
|
||||
<refentry xml:id="zmqcontext.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
@@ -10,9 +10,9 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<methodname>ZMQContext::__construct</methodname>
|
||||
<methodparam choice="opt"><type>integer</type><parameter>io_threads</parameter><initializer>1</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>boolean</type><parameter>is_persistent</parameter><initializer>true</initializer></methodparam>
|
||||
<modifier>public</modifier> <methodname>ZMQContext::__construct</methodname>
|
||||
<methodparam choice="opt"><type>int</type><parameter>io_threads</parameter><initializer>1</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>is_persistent</parameter><initializer>&true;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Constrói um novo contexto ZMQ. O contexto é usado para inicializar os sockets. Um contexto persistente é necessário
|
||||
@@ -45,6 +45,13 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Lança um <classname>ZMQContextException</classname> caso a inicialização do contexto falhe.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -77,13 +84,6 @@ $mensagem = $socket->recv();
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Lança uma exceção ZMQContextException caso a inicialização do contexto falhe.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 2ef03df114cbcb863b26c8d967e808e8ca3e4606 Maintainer: none Status: ready -->
|
||||
<!-- EN-Revision: d530899344cd881b6d09ff188e24252651c2f394 Maintainer: ae Status: ready -->
|
||||
|
||||
<refentry xml:id="zmqcontext.getsocket" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
@@ -11,9 +11,9 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <type>ZMQSocket</type><methodname>ZMQContext::getSocket</methodname>
|
||||
<methodparam><type>integer</type><parameter>type</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>persistent_id</parameter><initializer>null</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>callback</type><parameter>on_new_socket</parameter><initializer>null</initializer></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>persistent_id</parameter><initializer>&null;</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>callable</type><parameter>on_new_socket</parameter><initializer>&null;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Um atalho para criar sockets a partir de um contexto. Se o contexto não for persistente, o parâmetro <parameter>persistent_id</parameter>
|
||||
@@ -55,6 +55,20 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Retorna um objeto <classname>ZMQSocket</classname>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Lança um <classname>ZMQSocketException</classname> em caro de erro.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -88,14 +102,6 @@ echo "Mensagem recebida: {$mensagem}\n";
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Retorna um objeto ZMQSocket caso haja sucesso. Lança um aexceção ZMQSocketException caso haja erro.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 2ef03df114cbcb863b26c8d967e808e8ca3e4606 Maintainer: none Status: ready -->
|
||||
<!-- EN-Revision: 331fbfeac522d4ad00de1e043cc11610d66b88f9 Maintainer: ae Status: ready -->
|
||||
|
||||
<refentry xml:id="zmqcontext.ispersistent" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
@@ -10,7 +10,7 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <type>boolean</type><methodname>ZMQContext::isPersistent</methodname>
|
||||
<modifier>public</modifier> <type>bool</type><methodname>ZMQContext::isPersistent</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 2ef03df114cbcb863b26c8d967e808e8ca3e4606 Maintainer: none Status: ready -->
|
||||
<!-- EN-Revision: be295015d068095fc92880baef4e47038646adbd Maintainer: ae Status: ready -->
|
||||
|
||||
<refentry xml:id="zmqcontext.setopt" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
@@ -11,7 +11,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <type>ZMQContext</type><methodname>ZMQContext::setOpt</methodname>
|
||||
<methodparam><type>integer</type><parameter>key</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>key</parameter></methodparam>
|
||||
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 2ef03df114cbcb863b26c8d967e808e8ca3e4606 Maintainer: none Status: ready -->
|
||||
<!-- EN-Revision: 45fb9e53a3f83376b0663b3d5b9053d359ccef86 Maintainer: ae Status: ready -->
|
||||
|
||||
<refentry xml:id="zmqdevice.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
@@ -10,7 +10,7 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<methodname>ZMQDevice::__construct</methodname>
|
||||
<modifier>public</modifier> <methodname>ZMQDevice::__construct</methodname>
|
||||
<methodparam><type>ZMQSocket</type><parameter>frontend</parameter></methodparam>
|
||||
<methodparam><type>ZMQSocket</type><parameter>backend</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>ZMQSocket</type><parameter>listener</parameter></methodparam>
|
||||
|
||||
Reference in New Issue
Block a user