Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename PDO driver titleabrevs #4349

Merged
merged 4 commits into from
Jan 3, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Rename PDO driver titleabrevs
  • Loading branch information
André L F S Bacci committed Dec 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 9d0ff3eb490ddfbdf617fc4b025163c7963ec71a
12 changes: 6 additions & 6 deletions reference/pdo_cubrid/reference.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<reference xml:id="ref.pdo-cubrid" xmlns="http://docbook.org/ns/docbook"><?phpdoc extension-membership="pecl" ?>
<title>CUBRID Functions (PDO_CUBRID)</title>
alfsb marked this conversation as resolved.
Show resolved Hide resolved
<titleabbrev>CUBRID (PDO)</titleabbrev>
<titleabbrev>CUBRID PDO Driver</titleabbrev>
<partintro>

<section xml:id="pdo-cubrid.intro">&reftitle.intro;
@@ -64,7 +64,7 @@

<section>
<title>Multiple SQL Statements</title>

<simpara>
PDO_CUBRID supports Multiple SQL statements.
Multiple SQL statements are separated by semicolons (<literal>;</literal>).
@@ -168,9 +168,9 @@ fpassthru($result[0]);
$conn_str ="cubrid:dbname=demodb;host=localhost;port=33000";
$cubrid_pdo = new PDO($conn_str, 'dba', '');

$cubrid_pdo->exec("DROP TABLE if exists test_tbl");
$cubrid_pdo->exec("DROP TABLE if exists test_tbl");
$cubrid_pdo->exec("CREATE TABLE test_tbl (col_1 SET(VARCHAR))");

$sql_stmt_insert = "INSERT INTO test_tbl VALUES (?);";
$stmt = $cubrid_pdo->prepare($sql_stmt_insert);
$data = array("abc","def","ghi");
@@ -190,9 +190,9 @@ var_Dump($ret);
$conn_str ="cubrid:dbname=demodb;host=localhost;port=33000";
$cubrid_pdo = new PDO($conn_str, 'dba', '');

$cubrid_pdo->exec("DROP TABLE if exists test_tbl");
$cubrid_pdo->exec("DROP TABLE if exists test_tbl");
$cubrid_pdo->exec("CREATE TABLE test_tbl (col_1 SET(int))");

$sql_stmt_insert = "INSERT INTO test_tbl VALUES (?);";
$stmt = $cubrid_pdo->prepare($sql_stmt_insert);
$data = array(1,2,3,4);
2 changes: 1 addition & 1 deletion reference/pdo_dblib/reference.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<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>Microsoft SQL Server and Sybase Functions (PDO_DBLIB)</title>
kamil-tekiela marked this conversation as resolved.
Show resolved Hide resolved
<titleabbrev>MS SQL Server (PDO)</titleabbrev>
<titleabbrev>MS SQL Server PDO Driver)</titleabbrev>
alfsb marked this conversation as resolved.
Show resolved Hide resolved
<partintro>

<section xml:id="ref.pdo-dblib.intro">
2 changes: 1 addition & 1 deletion reference/pdo_firebird/reference.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<reference xml:id="ref.pdo-firebird" xmlns="http://docbook.org/ns/docbook">
<?phpdoc extension-membership="bundledexternal" ?>
<title>Firebird Functions (PDO_FIREBIRD)</title>
<titleabbrev>Firebird (PDO)</titleabbrev>
<titleabbrev>Firebird PDO Driver</titleabbrev>
<partintro>

<section xml:id="ref.pdo-firebird.intro">
24 changes: 12 additions & 12 deletions reference/pdo_ibm/reference.xml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
<reference xml:id="ref.pdo-ibm" xmlns="http://docbook.org/ns/docbook">
<?phpdoc extension-membership="pecl" ?>
<title>IBM Functions (PDO_IBM)</title>
<titleabbrev>IBM (PDO)</titleabbrev>
<titleabbrev>IBM PDO Driver</titleabbrev>
<partintro>

<section xml:id="pdo-ibm.intro">
@@ -29,8 +29,8 @@
<refsect1 role="description">
&reftitle.description;
<para>
The PDO_IBM Data Source Name (DSN) is based on the IBM CLI DSN. The major
components of the PDO_IBM DSN are:
The PDO_IBM Data Source Name (DSN) is based on the IBM CLI DSN. The major
components of the PDO_IBM DSN are:
<variablelist>
<varlistentry>
<term>DSN prefix</term>
@@ -48,20 +48,20 @@
<itemizedlist>
<listitem>
<para>
a) Data source setup using <filename>db2cli.ini</filename>
a) Data source setup using <filename>db2cli.ini</filename>
or <filename>odbc.ini</filename>
</para>
</listitem>
<listitem>
<para>
b) Catalogued database name i.e. database alias in the DB2 client
b) Catalogued database name i.e. database alias in the DB2 client
catalog
</para>
</listitem>
<listitem>
<para>
c) Complete connection string in the following format:
<code>DRIVER={IBM DB2 ODBC DRIVER};DATABASE=<parameter>database</parameter>;HOSTNAME=<parameter>hostname</parameter>;PORT=<parameter>port</parameter>;PROTOCOL=TCPIP;UID=<parameter>username</parameter>;PWD=<parameter>password</parameter>;</code>
c) Complete connection string in the following format:
<code>DRIVER={IBM DB2 ODBC DRIVER};DATABASE=<parameter>database</parameter>;HOSTNAME=<parameter>hostname</parameter>;PORT=<parameter>port</parameter>;PROTOCOL=TCPIP;UID=<parameter>username</parameter>;PWD=<parameter>password</parameter>;</code>
where the parameters represent the following values:
<variablelist>
<varlistentry>
@@ -122,7 +122,7 @@
<example>
<title>PDO_IBM DSN example using <filename>db2cli.ini</filename></title>
<para>
The following example shows a PDO_IBM DSN for connecting to an DB2
The following example shows a PDO_IBM DSN for connecting to an DB2
database cataloged as DB2_9 in <filename>db2cli.ini</filename>:
<programlisting><![CDATA[
$db = new PDO("ibm:DSN=DB2_9", "", "");
@@ -138,17 +138,17 @@ Servicename=56789
<example>
<title>PDO_IBM DSN example using a connection string</title>
<para>
The following example shows a PDO_IBM DSN for connecting to an DB2
database named <userinput>testdb</userinput> using the DB2 CLI
connection string syntax.
The following example shows a PDO_IBM DSN for connecting to an DB2
database named <userinput>testdb</userinput> using the DB2 CLI
connection string syntax.
<programlisting><![CDATA[
$db = new PDO("ibm:DRIVER={IBM DB2 ODBC DRIVER};DATABASE=testdb;" .
"HOSTNAME=11.22.33.444;PORT=56789;PROTOCOL=TCPIP;", "testuser", "tespass");
]]>
</programlisting>
</para>
</example>

</para>
</refsect1>
</refentry>
4 changes: 2 additions & 2 deletions reference/pdo_informix/reference.xml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
<reference xml:id="ref.pdo-informix" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<?phpdoc extension-membership="pecl" ?>
<title>Informix Functions (PDO_INFORMIX)</title>
<titleabbrev>Informix (PDO)</titleabbrev>
<titleabbrev>Informix PDO Driver</titleabbrev>
<partintro>

<section xml:id="pdo-informix.intro">
@@ -108,7 +108,7 @@ $db = new PDO("informix:host=host.domain.com; service=9800;
</programlisting>
</para>
</example>

</para>
</refsect1>
</refentry>
2 changes: 1 addition & 1 deletion reference/pdo_mysql/reference.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<reference xml:id="ref.pdo-mysql" xmlns="http://docbook.org/ns/docbook">
<?phpdoc extension-membership="bundledexternal" ?>
<title>MySQL Functions (PDO_MYSQL)</title>
<titleabbrev>MySQL (PDO)</titleabbrev>
<titleabbrev>MySQL PDO Driver</titleabbrev>
<partintro>

<section xml:id="ref.pdo-mysql.intro">
4 changes: 2 additions & 2 deletions reference/pdo_oci/reference.xml
Original file line number Diff line number Diff line change
@@ -4,9 +4,9 @@
<reference xml:id="ref.pdo-oci" xmlns="http://docbook.org/ns/docbook">
<?phpdoc extension-membership="pecl" ?>
<title>Oracle Functions (PDO_OCI)</title>
<titleabbrev>Oracle (PDO)</titleabbrev>
<titleabbrev>Oracle PDO Driver</titleabbrev>
<partintro>

&reference.pdo-oci.configure;
&reference.pdo-oci.constants;

2 changes: 1 addition & 1 deletion reference/pdo_odbc/reference.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<reference xml:id="ref.pdo-odbc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<?phpdoc extension-membership="bundledexternal" ?>
<title>ODBC and DB2 Functions (PDO_ODBC)</title>
<titleabbrev>ODBC and DB2 (PDO)</titleabbrev>
<titleabbrev>ODBC and DB2 PDO Driver</titleabbrev>
<partintro>

<section xml:id="ref.pdo-odbc.intro">
2 changes: 1 addition & 1 deletion reference/pdo_pgsql/reference.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<reference xml:id="ref.pdo-pgsql" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<?phpdoc extension-membership="bundledexternal" ?>
<title>PostgreSQL Functions (PDO_PGSQL)</title>
<titleabbrev>PostgreSQL (PDO)</titleabbrev>
<titleabbrev>PostgreSQL PDO Driver</titleabbrev>
<partintro>

<section xml:id="ref.pdo-pgsql.intro">
2 changes: 1 addition & 1 deletion reference/pdo_sqlite/reference.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<reference xml:id="ref.pdo-sqlite" xmlns="http://docbook.org/ns/docbook">
<?phpdoc extension-membership="bundledexternal" ?>
<title>SQLite Functions (PDO_SQLITE)</title>
<titleabbrev>SQLite (PDO)</titleabbrev>
<titleabbrev>SQLite PDO Driver</titleabbrev>
<partintro>

<section xml:id="ref.pdo-sqlite.intro">
28 changes: 14 additions & 14 deletions reference/pdo_sqlsrv/reference.xml
Original file line number Diff line number Diff line change
@@ -2,15 +2,15 @@
<reference xml:id="ref.pdo-sqlsrv" xmlns="http://docbook.org/ns/docbook">
<?phpdoc extension-membership="pecl" ?>
<title>Microsoft SQL Server Functions (PDO_SQLSRV)</title>
<titleabbrev>MS SQL Server (PDO)</titleabbrev>
<titleabbrev>MS SQL Server PDO Driver</titleabbrev>
<partintro>

<section xml:id="pdo-sqlsrv.intro">
&reftitle.intro;
<para>
PDO_SQLSRV is a driver that implements the <link linkend="intro.pdo">PHP
Data Objects (PDO) interface</link>
to enable access from PHP to MS SQL Server (starting with SQL Server 2005)
to enable access from PHP to MS SQL Server (starting with SQL Server 2005)
and SQL Azure databases.
</para>
</section>
@@ -49,7 +49,7 @@
<term><literal>ConnectionPooling</literal></term>
<listitem>
<para>
Specifies whether the connection is assigned from a connection pool
Specifies whether the connection is assigned from a connection pool
(1 or &true;) or not (0 or &false;).
</para>
</listitem>
@@ -66,7 +66,7 @@
<term><literal>Encrypt</literal></term>
<listitem>
<para>
Specifies whether the communication with SQL Server is encrypted
Specifies whether the communication with SQL Server is encrypted
(1 or &true;) or unencrypted (0 or &false;).
</para>
</listitem>
@@ -75,7 +75,7 @@
<term><literal>Failover_Partner</literal></term>
<listitem>
<para>
Specifies the server and instance of the database's mirror (if enabled
Specifies the server and instance of the database's mirror (if enabled
and configured) to use when the primary server is unavailable.
</para>
</listitem>
@@ -100,7 +100,7 @@
<term><literal>QuotedId</literal></term>
<listitem>
<para>
Specifies whether to use SQL-92 rules for quoted identifiers (1 or &true;)
Specifies whether to use SQL-92 rules for quoted identifiers (1 or &true;)
or to use legacy Transact-SQL rules (0 or &false;).
</para>
</listitem>
@@ -125,7 +125,7 @@
<term><literal>TraceOn</literal></term>
<listitem>
<para>
Specifies whether ODBC tracing is enabled (1 or &true;) or disabled
Specifies whether ODBC tracing is enabled (1 or &true;) or disabled
(0 or &false;) for the connection being established.
</para>
</listitem>
@@ -134,9 +134,9 @@
<term><literal>TransactionIsolation</literal></term>
<listitem>
<para>
Specifies the transaction isolation level. The accepted values for this
option are PDO::SQLSRV_TXN_READ_UNCOMMITTED, PDO::SQLSRV_TXN_READ_COMMITTED,
PDO::SQLSRV_TXN_REPEATABLE_READ, PDO::SQLSRV_TXN_SNAPSHOT, and
Specifies the transaction isolation level. The accepted values for this
option are PDO::SQLSRV_TXN_READ_UNCOMMITTED, PDO::SQLSRV_TXN_READ_COMMITTED,
PDO::SQLSRV_TXN_REPEATABLE_READ, PDO::SQLSRV_TXN_SNAPSHOT, and
PDO::SQLSRV_TXN_SERIALIZABLE.
</para>
</listitem>
@@ -145,7 +145,7 @@
<term><literal>TrustServerCertificate</literal></term>
<listitem>
<para>
Specifies whether the client should trust (1 or &true;) or reject
Specifies whether the client should trust (1 or &true;) or reject
(0 or &false;) a self-signed server certificate.
</para>
</listitem>
@@ -176,7 +176,7 @@ $c = new PDO("sqlsrv:Server=localhost;Database=testdb", "UserName", "Password");
</programlisting>
</para>
<para>
The following example shows how to connect to a MS SQL Server database on
The following example shows how to connect to a MS SQL Server database on
a specified port:
<programlisting>
<![CDATA[
@@ -185,8 +185,8 @@ $c = new PDO("sqlsrv:Server=localhost,1521;Database=testdb", "UserName", "Passwo
</programlisting>
</para>
<para>
The following example shows how to connecto to a SQL Azure database with
server ID 12345abcde. Note that when you connect to SQL Azure with PDO,
The following example shows how to connecto to a SQL Azure database with
server ID 12345abcde. Note that when you connect to SQL Azure with PDO,
your username will be UserName@12345abcde (UserName@ServerId).
<programlisting>
<![CDATA[
Loading