Skip to content

Commit 12c40e8

Browse files
kocsismateclaudepache
authored andcommitted
Update ext/sqlite3 role attributes (php#1985)
1 parent 2b6bf92 commit 12c40e8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+61
-95
lines changed

reference/sqlite3/sqlite3.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
</classsynopsisinfo>
3232

3333
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
34-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.sqlite3')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
34+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.sqlite3')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='SQLite3'])">
3535
<xi:fallback/>
3636
</xi:include>
37-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.sqlite3')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
37+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.sqlite3')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='SQLite3'])">
3838
<xi:fallback/>
3939
</xi:include>
4040
</classsynopsis>

reference/sqlite3/sqlite3/backup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="SQLite3">
1212
<modifier>public</modifier> <type>bool</type><methodname>SQLite3::backup</methodname>
1313
<methodparam><type>SQLite3</type><parameter>destination</parameter></methodparam>
1414
<methodparam choice="opt"><type>string</type><parameter>sourceDatabase</parameter><initializer>"main"</initializer></methodparam>

reference/sqlite3/sqlite3/busyTimeout.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="SQLite3">
1212
<modifier>public</modifier> <type>bool</type><methodname>SQLite3::busyTimeout</methodname>
1313
<methodparam><type>int</type><parameter>milliseconds</parameter></methodparam>
1414
</methodsynopsis>

reference/sqlite3/sqlite3/changes.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
43
<refentry xml:id="sqlite3.changes" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
54
<refnamediv>
65
<refname>SQLite3::changes</refname>
@@ -12,9 +11,9 @@
1211

1312
<refsect1 role="description">
1413
&reftitle.description;
15-
<methodsynopsis>
14+
<methodsynopsis role="SQLite3">
1615
<modifier>public</modifier> <type>int</type><methodname>SQLite3::changes</methodname>
17-
<void />
16+
<void/>
1817
</methodsynopsis>
1918
<para>
2019
Returns the number of database rows that were changed (or inserted or
@@ -58,7 +57,6 @@ if ($query) {
5857
</refsect1>
5958

6059
</refentry>
61-
6260
<!-- Keep this comment at the end of the file
6361
Local variables:
6462
mode: sgml

reference/sqlite3/sqlite3/close.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
43
<refentry xml:id="sqlite3.close" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
54
<refnamediv>
65
<refname>SQLite3::close</refname>
@@ -9,9 +8,9 @@
98

109
<refsect1 role="description">
1110
&reftitle.description;
12-
<methodsynopsis>
11+
<methodsynopsis role="SQLite3">
1312
<modifier>public</modifier> <type>bool</type><methodname>SQLite3::close</methodname>
14-
<void />
13+
<void/>
1514
</methodsynopsis>
1615
<para>
1716
Closes the database connection.
@@ -48,7 +47,6 @@ $db->close();
4847
</refsect1>
4948

5049
</refentry>
51-
5250
<!-- Keep this comment at the end of the file
5351
Local variables:
5452
mode: sgml

reference/sqlite3/sqlite3/construct.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<refsect1 role="description">
1212
&reftitle.description;
13-
<constructorsynopsis>
13+
<constructorsynopsis role="SQLite3">
1414
<modifier>public</modifier> <methodname>SQLite3::__construct</methodname>
1515
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
1616
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE</initializer></methodparam>

reference/sqlite3/sqlite3/createaggregate.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="SQLite3">
1212
<modifier>public</modifier> <type>bool</type><methodname>SQLite3::createAggregate</methodname>
1313
<methodparam><type>string</type><parameter>name</parameter></methodparam>
1414
<methodparam><type>callable</type><parameter>stepCallback</parameter></methodparam>

reference/sqlite3/sqlite3/createcollation.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
43
<refentry xml:id="sqlite3.createcollation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
54
<refnamediv>
65
<refname>SQLite3::createCollation</refname>
@@ -9,7 +8,7 @@
98

109
<refsect1 role="description">
1110
&reftitle.description;
12-
<methodsynopsis>
11+
<methodsynopsis role="SQLite3">
1312
<modifier>public</modifier> <type>bool</type><methodname>SQLite3::createCollation</methodname>
1413
<methodparam><type>string</type><parameter>name</parameter></methodparam>
1514
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
@@ -128,7 +127,6 @@ a10
128127
</refsect1>
129128

130129
</refentry>
131-
132130
<!-- Keep this comment at the end of the file
133131
Local variables:
134132
mode: sgml
@@ -148,4 +146,4 @@ End:
148146
vim600: syn=xml fen fdm=syntax fdl=2 si
149147
vim: et tw=78 syn=sgml
150148
vi: ts=1 sw=1
151-
-->
149+
-->

reference/sqlite3/sqlite3/createfunction.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="SQLite3">
1212
<modifier>public</modifier> <type>bool</type><methodname>SQLite3::createFunction</methodname>
1313
<methodparam><type>string</type><parameter>name</parameter></methodparam>
1414
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>

reference/sqlite3/sqlite3/enableExceptions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<refsect1 role="description">
1212
&reftitle.description;
13-
<methodsynopsis>
13+
<methodsynopsis role="SQLite3">
1414
<modifier>public</modifier> <type>bool</type><methodname>SQLite3::enableExceptions</methodname>
1515
<methodparam choice="opt"><type>bool</type><parameter>enable</parameter><initializer>&false;</initializer></methodparam>
1616
</methodsynopsis>

reference/sqlite3/sqlite3/escapestring.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="SQLite3">
1212
<modifier>public</modifier> <modifier>static</modifier> <type>string</type><methodname>SQLite3::escapeString</methodname>
1313
<methodparam><type>string</type><parameter>string</parameter></methodparam>
1414
</methodsynopsis>

reference/sqlite3/sqlite3/exec.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
43
<refentry xml:id="sqlite3.exec" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
54
<refnamediv>
65
<refname>SQLite3::exec</refname>
@@ -9,7 +8,7 @@
98

109
<refsect1 role="description">
1110
&reftitle.description;
12-
<methodsynopsis>
11+
<methodsynopsis role="SQLite3">
1312
<modifier>public</modifier> <type>bool</type><methodname>SQLite3::exec</methodname>
1413
<methodparam><type>string</type><parameter>query</parameter></methodparam>
1514
</methodsynopsis>
@@ -68,7 +67,6 @@ $db->exec('CREATE TABLE bar (bar TEXT)');
6867
</refsect1>
6968

7069
</refentry>
71-
7270
<!-- Keep this comment at the end of the file
7371
Local variables:
7472
mode: sgml

reference/sqlite3/sqlite3/lasterrorcode.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
43
<refentry xml:id="sqlite3.lasterrorcode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
54
<refnamediv>
65
<refname>SQLite3::lastErrorCode</refname>
@@ -11,9 +10,9 @@
1110

1211
<refsect1 role="description">
1312
&reftitle.description;
14-
<methodsynopsis>
13+
<methodsynopsis role="SQLite3">
1514
<modifier>public</modifier> <type>int</type><methodname>SQLite3::lastErrorCode</methodname>
16-
<void />
15+
<void/>
1716
</methodsynopsis>
1817
<para>
1918
Returns the numeric result code of the most recent failed SQLite request.
@@ -34,7 +33,6 @@
3433
</refsect1>
3534

3635
</refentry>
37-
3836
<!-- Keep this comment at the end of the file
3937
Local variables:
4038
mode: sgml

reference/sqlite3/sqlite3/lasterrormsg.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
43
<refentry xml:id="sqlite3.lasterrormsg" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
54
<refnamediv>
65
<refname>SQLite3::lastErrorMsg</refname>
@@ -11,9 +10,9 @@
1110

1211
<refsect1 role="description">
1312
&reftitle.description;
14-
<methodsynopsis>
13+
<methodsynopsis role="SQLite3">
1514
<modifier>public</modifier> <type>string</type><methodname>SQLite3::lastErrorMsg</methodname>
16-
<void />
15+
<void/>
1716
</methodsynopsis>
1817
<para>
1918
Returns English text describing the most recent failed SQLite request.
@@ -33,7 +32,6 @@
3332
</refsect1>
3433

3534
</refentry>
36-
3735
<!-- Keep this comment at the end of the file
3836
Local variables:
3937
mode: sgml

reference/sqlite3/sqlite3/lastinsertrowid.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
43
<refentry xml:id="sqlite3.lastinsertrowid" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
54
<refnamediv>
65
<refname>SQLite3::lastInsertRowID</refname>
@@ -9,9 +8,9 @@
98

109
<refsect1 role="description">
1110
&reftitle.description;
12-
<methodsynopsis>
11+
<methodsynopsis role="SQLite3">
1312
<modifier>public</modifier> <type>int</type><methodname>SQLite3::lastInsertRowID</methodname>
14-
<void />
13+
<void/>
1514
</methodsynopsis>
1615
<para>
1716
Returns the row ID of the most recent INSERT into the database.
@@ -33,7 +32,6 @@
3332
</refsect1>
3433

3534
</refentry>
36-
3735
<!-- Keep this comment at the end of the file
3836
Local variables:
3937
mode: sgml

reference/sqlite3/sqlite3/loadextension.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="SQLite3">
1212
<modifier>public</modifier> <type>bool</type><methodname>SQLite3::loadExtension</methodname>
1313
<methodparam><type>string</type><parameter>name</parameter></methodparam>
1414
</methodsynopsis>

reference/sqlite3/sqlite3/open.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="SQLite3">
1212
<modifier>public</modifier> <type>void</type><methodname>SQLite3::open</methodname>
1313
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
1414
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE</initializer></methodparam>

reference/sqlite3/sqlite3/openblob.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="SQLite3">
1212
<modifier>public</modifier> <type class="union"><type>resource</type><type>false</type></type><methodname>SQLite3::openBlob</methodname>
1313
<methodparam><type>string</type><parameter>table</parameter></methodparam>
1414
<methodparam><type>string</type><parameter>column</parameter></methodparam>

reference/sqlite3/sqlite3/prepare.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
43
<refentry xml:id="sqlite3.prepare" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
54
<refnamediv>
65
<refname>SQLite3::prepare</refname>
@@ -9,7 +8,7 @@
98

109
<refsect1 role="description">
1110
&reftitle.description;
12-
<methodsynopsis>
11+
<methodsynopsis role="SQLite3">
1312
<modifier>public</modifier> <type class="union"><type>SQLite3Stmt</type><type>false</type></type><methodname>SQLite3::prepare</methodname>
1413
<methodparam><type>string</type><parameter>query</parameter></methodparam>
1514
</methodsynopsis>
@@ -78,7 +77,6 @@ var_dump($result->fetchArray());
7877
</refsect1>
7978

8079
</refentry>
81-
8280
<!-- Keep this comment at the end of the file
8381
Local variables:
8482
mode: sgml

reference/sqlite3/sqlite3/query.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="SQLite3">
1212
<modifier>public</modifier> <type class="union"><type>SQLite3Result</type><type>false</type></type><methodname>SQLite3::query</methodname>
1313
<methodparam><type>string</type><parameter>query</parameter></methodparam>
1414
</methodsynopsis>

reference/sqlite3/sqlite3/querysingle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="SQLite3">
1212
<modifier>public</modifier> <type>mixed</type><methodname>SQLite3::querySingle</methodname>
1313
<methodparam><type>string</type><parameter>query</parameter></methodparam>
1414
<methodparam choice="opt"><type>bool</type><parameter>entireRow</parameter><initializer>&false;</initializer></methodparam>

reference/sqlite3/sqlite3/setauthorizer.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="SQLite3">
1212
<modifier>public</modifier> <type>bool</type><methodname>SQLite3::setAuthorizer</methodname>
1313
<methodparam><type class="union"><type>callable</type><type>null</type></type><parameter>callback</parameter></methodparam>
1414
</methodsynopsis>

reference/sqlite3/sqlite3/version.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
43
<refentry xml:id="sqlite3.version" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
54
<refnamediv>
65
<refname>SQLite3::version</refname>
@@ -11,9 +10,9 @@
1110

1211
<refsect1 role="description">
1312
&reftitle.description;
14-
<methodsynopsis>
13+
<methodsynopsis role="SQLite3">
1514
<modifier>public</modifier> <modifier>static</modifier> <type>array</type><methodname>SQLite3::version</methodname>
16-
<void />
15+
<void/>
1716
</methodsynopsis>
1817
<para>
1918
Returns the SQLite3 library version as a string constant and as a number.
@@ -60,7 +59,6 @@ Array
6059
</refsect1>
6160

6261
</refentry>
63-
6462
<!-- Keep this comment at the end of the file
6563
Local variables:
6664
mode: sgml

reference/sqlite3/sqlite3result.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
</classsynopsisinfo>
3232

3333
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
34-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.sqlite3result')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
34+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.sqlite3result')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='SQLite3Result'])">
3535
<xi:fallback/>
3636
</xi:include>
37-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.sqlite3result')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
37+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.sqlite3result')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='SQLite3Result'])">
3838
<xi:fallback/>
3939
</xi:include>
4040
</classsynopsis>

reference/sqlite3/sqlite3result/columnname.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="SQLite3Result">
1212
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>SQLite3Result::columnName</methodname>
1313
<methodparam><type>int</type><parameter>column</parameter></methodparam>
1414
</methodsynopsis>

0 commit comments

Comments
 (0)