Skip to content

Commit

Permalink
sync reference/pdo* with en revision
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardolara committed Dec 4, 2024
1 parent 1c80692 commit 4b4f2da
Show file tree
Hide file tree
Showing 24 changed files with 257 additions and 1,281 deletions.
7 changes: 4 additions & 3 deletions reference/pdo/pdo/construct.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: d76a7fe17dd2488e47d664a8ab38e161b13ac843 Maintainer: leonardolara Status: ready -->
<!-- EN-Revision: 7dd805d34addc6e98afaa0b3851c8656afbec9b6 Maintainer: leonardolara Status: ready -->
<refentry xml:id="pdo.construct" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>PDO::__construct</refname>
Expand Down Expand Up @@ -114,8 +114,9 @@
<refsect1 role="errors">
&reftitle.errors;
<para>
<methodname>PDO::__construct</methodname> lança uma exceção <classname>PDOException</classname> se a tentativa
de conexão ao banco de dados requisitado falhar, independente de qual <constant>PDO::ATTR_ERRMODE</constant> estiver definido.
Uma <classname>PDOException</classname> é lançada se a tentativa
de conexão ao banco de dados requisitado falhar,
independente de qual <constant>PDO::ATTR_ERRMODE</constant> estiver definido.
</para>
</refsect1>

Expand Down
5 changes: 3 additions & 2 deletions reference/pdo_dblib/reference.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: aa4ea6fd0a6f00adaceea6e2dc030c2508ce47ac Maintainer: leonardolara Status: ready -->
<!-- EN-Revision: 379d23588def29a360fca16d5daec6c659e13509 Maintainer: leonardolara Status: ready -->

<reference xml:id="ref.pdo-dblib" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<?phpdoc extension-membership="bundledexternal" ?>
<title>Funções do Microsoft SQL Server e Sybase (PDO_DBLIB)</title>
<titleabbrev>MS SQL Server (PDO)</titleabbrev>
<partintro>

<section xml:id="pdo-dblib.intro">
<section xml:id="ref.pdo-dblib.intro">
&reftitle.intro;
<para>
PDO_DBLIB é um driver que implementa a <link linkend="intro.pdo">interface
Expand Down Expand Up @@ -120,6 +120,7 @@ dblib:host=localhost;dbname=testdb
</refentry>

</reference>
&reference.pdo-dblib.pdo-dblib;
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
11 changes: 5 additions & 6 deletions reference/pdo_firebird/constants.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: aab33d644359aba597e810e2fc0c0caa0d347c9c Maintainer: leonardolara Status: ready -->
<section xml:id="pdo-firebird.constants" xmlns="http://docbook.org/ns/docbook">
<!-- EN-Revision: b9cf1a2e7307131913ac3c16c2fb67ed9ad38527 Maintainer: leonardolara Status: ready -->
<section xml:id="ref.pdo-firebird.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&pdo.driver-constants;
<variablelist>
Expand All @@ -11,7 +11,7 @@
</term>
<listitem>
<para>
Define o formato de data.
&Alias; <constant>Pdo\Firebird::ATTR_DATE_FORMAT</constant>.
</para>
</listitem>
</varlistentry>
Expand All @@ -22,7 +22,7 @@
</term>
<listitem>
<para>
Define o formato de horário.
&Alias; <constant>Pdo\Firebird::ATTR_TIME_FORMAT</constant>.
</para>
</listitem>
</varlistentry>
Expand All @@ -33,13 +33,12 @@
</term>
<listitem>
<para>
Define o formato de timestamp.
&Alias; <constant>Pdo\Firebird::ATTR_TIMESTAMP_FORMAT</constant>.
</para>
</listitem>
</varlistentry>
</variablelist>
</section>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
5 changes: 3 additions & 2 deletions reference/pdo_firebird/reference.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: aa4ea6fd0a6f00adaceea6e2dc030c2508ce47ac Maintainer: leonardolara Status: ready -->
<!-- EN-Revision: b9cf1a2e7307131913ac3c16c2fb67ed9ad38527 Maintainer: leonardolara Status: ready -->

<reference xml:id="ref.pdo-firebird" xmlns="http://docbook.org/ns/docbook">
<?phpdoc extension-membership="bundledexternal" ?>
<title>Funções de Firebird (PDO_FIREBIRD)</title>
<titleabbrev>Firebird (PDO)</titleabbrev>
<partintro>

<section xml:id="pdo-firebird.intro">
<section xml:id="ref.pdo-firebird.intro">
&reftitle.intro;
<para>
PDO_FIREBIRD é um driver que implementa a interface aos Objetos de Dados PHP (PDO)
Expand Down Expand Up @@ -128,6 +128,7 @@ firebird:dbname=localhost:/var/lib/firebird/2.5/data/teste.fdb;charset=utf-8;dia
</refentry>

</reference>
&reference.pdo-firebird.pdo-firebird;
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
15 changes: 9 additions & 6 deletions reference/pdo_mysql/configure.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 9ed2d17d581d2c72282dee0b9be3b5a49dabf108 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
<!-- EN-Revision: 70ef72d94f4d5c7d7ec7492e97563d2463d56d14 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
<section xml:id="ref.pdo-mysql.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.install;
<para>
Expand Down Expand Up @@ -48,11 +48,14 @@ $ ./configure --with-pdo-mysql --with-mysql-sock=/var/mysql/mysql.sock
</screen>
</para>
<para>
O suporte a SSL pode ser habilitado usando as <link linkend="pdo-mysql.constants">constantes PDO_MySQL</link> apropriadas,
que é o equivalente a chamar a <link xlink:href="&url.mysql.docs.ssl.set;">função mysql_ssl_set() da API C do MySQL</link>.
Além disso, o SSL não pode ser habilitado com <classname>PDO::setAttribute</classname> porque a conexão
já existirá. Consulte também a documentação do MySQL sobre <link xlink:href="&url.mysql.docs.ssl.using;">conexão ao
MySQL com SSL</link>.
O suporte a <acronym>SSL</acronym> é habilitado usando as constantes
<constant>Pdo\Mysql::ATTR_SSL_<replaceable>*</replaceable></constant> apropriadas,
que é o equivalente a chamar a
<link xlink:href="&url.mysql.docs.ssl.set;">função mysql_ssl_set() da API C do MySQL</link>.
Além disso, o SSL não pode ser habilitado com <methodname>PDO::setAttribute</methodname>
porque a conexão já existirá.
Consulte também a documentação do MySQL sobre
<link xlink:href="&url.mysql.docs.ssl.using;">conexão ao MySQL com SSL</link>.
</para>

</section>
Expand Down
Loading

0 comments on commit 4b4f2da

Please sign in to comment.