[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] [doc-en] master: Regenerate ext/mysqli class and method synopses from stubs (#1271)
From: Máté_Kocsis_via_GitHub <noreply () php ! net>
Date: 2021-12-28 21:36:10
Message-ID: oY9UOLaddX2eCVJVBAKnejoVKrCnH08BcArO9RTfMM () main ! php ! net
[Download RAW message or body]
Author: Máté Kocsis (kocsismate)
Committer: GitHub (web-flow)
Pusher: kocsismate
Date: 2021-12-28T22:36:41+01:00
Commit: https://github.com/php/doc-en/commit/b06b3f19af93c65570a69e1fca4d7cad0e7d43dd
Raw diff: https://github.com/php/doc-en/commit/b06b3f19af93c65570a69e1fca4d7cad0e7d43dd.diff
Regenerate ext/mysqli class and method synopses from stubs (#1271)
Changed paths:
A reference/mysqli/mysqli_result/construct.xml
A reference/mysqli/mysqli_warning/construct.xml
M reference/mysqli/mysqli.xml
M reference/mysqli/mysqli/construct.xml
M reference/mysqli/mysqli/init.xml
M reference/mysqli/mysqli/real-connect.xml
M reference/mysqli/mysqli_driver.xml
M reference/mysqli/mysqli_result.xml
M reference/mysqli/mysqli_result/getiterator.xml
M reference/mysqli/mysqli_stmt.xml
M reference/mysqli/mysqli_stmt/bind-param.xml
M reference/mysqli/mysqli_stmt/bind-result.xml
M reference/mysqli/mysqli_warning.xml
M reference/mysqli/versions.xml
Diff:
diff --git a/reference/mysqli/mysqli.xml b/reference/mysqli/mysqli.xml
index b483497849..a9d2541a74 100644
--- a/reference/mysqli/mysqli.xml
+++ b/reference/mysqli/mysqli.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.mysqli" \
xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" \
xmlns:xi="http://www.w3.org/2001/XInclude"> +<phpdoc:classref xml:id="class.mysqli" \
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>The mysqli class</title>
<titleabbrev>mysqli</titleabbrev>
@@ -20,22 +20,26 @@
<!-- {{{ Synopsis -->
<classsynopsis>
- <ooclass><classname>mysqli</classname></ooclass>
-
-<!-- {{{ Class synopsis -->
+ <ooclass>
+ <classname>mysqli</classname>
+ </ooclass>
+
<classsynopsisinfo>
<ooclass>
<classname>mysqli</classname>
</ooclass>
</classsynopsisinfo>
-<!-- }}} -->
-
+
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('class.mysqli')/db:refentry/db:refsect1[@role='description']/descendant::db:fieldsynopsis[1])" \
/>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
- <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('class.mysqli')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[1])" \
/>
- <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('class.mysqli')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='oop'])" \
/> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('class.mysqli')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
+ <xi:fallback/>
+ </xi:include>
+ <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('class.mysqli')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='oop'])">
+ <xi:fallback/>
+ </xi:include>
</classsynopsis>
<!-- }}} -->
@@ -46,7 +50,6 @@
&reference.mysqli.entities.mysqli;
</phpdoc:classref>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -67,4 +70,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-
diff --git a/reference/mysqli/mysqli/construct.xml \
b/reference/mysqli/mysqli/construct.xml index 6a47f46ed7..cda434fb39 100644
--- a/reference/mysqli/mysqli/construct.xml
+++ b/reference/mysqli/mysqli/construct.xml
@@ -30,7 +30,7 @@
<methodparam choice="opt"><type>string</type><parameter>socket</parameter><initializer>ini_get("mysqli.default_socket")</initializer></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
- <methodsynopsis>
+ <methodsynopsis role="procedural">
<type class="union"><type>mysqli</type><type>false</type></type><methodname>mysqli_connect</methodname>
<methodparam choice="opt"><type>string</type><parameter>hostname</parameter><initializer>ini_get("mysqli.default_host")</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter>username</parameter><initializer>ini_get("mysqli.default_user")</initializer></methodparam>
@@ -256,8 +256,7 @@ if (mysqli_errno($mysqli)) {
<para>
&style.oop; only: If the connection fails, an object is still returned. To check \
whether the connection failed, use either the
- <function>mysqli_connect_error</function> function or the <link
- linkend="mysqli.connect-error">mysqli->connect_error</link> property as in
+ <function>mysqli_connect_error</function> function or the <link \
linkend="mysqli.connect-error">mysqli->connect_error</link> property as in the \
preceding examples. </para>
</note>
@@ -275,8 +274,7 @@ if (mysqli_errno($mysqli)) {
</note>
<note>
<para>
- Error "Can't create TCP/IP socket (10106)" usually means that the <link
- linkend="ini.variables-order">variables_order</link> configure directive
+ Error "Can't create TCP/IP socket (10106)" usually means that the <link \
linkend="ini.variables-order">variables_order</link> configure directive doesn't \
contain character <literal>E</literal>. On Windows, if the
environment is not copied the <literal>SYSTEMROOT</literal> environment
variable won't be available and PHP will have problems loading Winsock.
@@ -298,7 +296,6 @@ if (mysqli_errno($mysqli)) {
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/mysqli/mysqli/init.xml b/reference/mysqli/mysqli/init.xml
index 4d9107c35a..056f1daaa9 100644
--- a/reference/mysqli/mysqli/init.xml
+++ b/reference/mysqli/mysqli/init.xml
@@ -10,8 +10,8 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
- <methodsynopsis role="oop">
- <modifier>public</modifier> <type \
class="union"><type>null</type><type>false</type></type><methodname>mysqli::init</methodname>
+ <methodsynopsis>
+ <modifier>public</modifier> <type \
class="union"><type>bool</type><type>null</type></type><methodname>mysqli::init</methodname>
<void/>
</methodsynopsis>
<para>&style.procedural;</para>
@@ -40,7 +40,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns an object.
+ <methodname>mysqli::init</methodname> returns &null; on success, \
&return.falseforfailure;. + <function>mysqli_init</function> returns an object on \
success, &return.falseforfailure;. </para>
</refsect1>
@@ -89,7 +90,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/mysqli/mysqli/real-connect.xml \
b/reference/mysqli/mysqli/real-connect.xml index 48b45add67..a55a343b8c 100644
--- a/reference/mysqli/mysqli/real-connect.xml
+++ b/reference/mysqli/mysqli/real-connect.xml
@@ -21,7 +21,7 @@
<methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
- <methodsynopsis>
+ <methodsynopsis role="procedural">
<type>bool</type><methodname>mysqli_real_connect</methodname>
<methodparam><type>mysqli</type><parameter>link</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>host</parameter></methodparam>
@@ -320,7 +320,6 @@ Success... MySQL host info: localhost via TCP/IP
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/mysqli/mysqli_driver.xml b/reference/mysqli/mysqli_driver.xml
index 93b4206a8b..1f0166a5f3 100644
--- a/reference/mysqli/mysqli_driver.xml
+++ b/reference/mysqli/mysqli_driver.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" \
xml:id="class.mysqli-driver" xmlns="http://docbook.org/ns/docbook" \
xmlns:xlink="http://www.w3.org/1999/xlink" \
xmlns:xi="http://www.w3.org/2001/XInclude"> +<phpdoc:classref \
xml:id="class.mysqli-driver" 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>The mysqli_driver class</title>
<titleabbrev>mysqli_driver</titleabbrev>
@@ -22,16 +22,17 @@
<!-- {{{ Synopsis -->
<classsynopsis>
- <ooclass><classname>mysqli_driver</classname></ooclass>
-
-<!-- {{{ Class synopsis -->
+ <ooclass>
+ <classname>mysqli_driver</classname>
+ </ooclass>
+
<classsynopsisinfo>
<ooclass>
+ <modifier>final</modifier>
<classname>mysqli_driver</classname>
</ooclass>
</classsynopsisinfo>
-<!-- }}} -->
-
+
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
<modifier>public</modifier>
@@ -42,13 +43,13 @@
<fieldsynopsis>
<modifier>public</modifier>
<modifier>readonly</modifier>
- <type>string</type>
+ <type>int</type>
<varname linkend="mysqli-driver.props.client-version">client_version</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<modifier>readonly</modifier>
- <type>string</type>
+ <type>int</type>
<varname linkend="mysqli-driver.props.driver-version">driver_version</varname>
</fieldsynopsis>
<fieldsynopsis>
@@ -61,6 +62,7 @@
<modifier>public</modifier>
<type>bool</type>
<varname linkend="mysqli-driver.props.reconnect">reconnect</varname>
+ <initializer>false</initializer>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
@@ -135,7 +137,6 @@
&reference.mysqli.entities.mysqli-driver;
</phpdoc:classref>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -156,4 +157,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-
diff --git a/reference/mysqli/mysqli_result.xml b/reference/mysqli/mysqli_result.xml
index ba8e154867..60ed4c8f91 100644
--- a/reference/mysqli/mysqli_result.xml
+++ b/reference/mysqli/mysqli_result.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" \
xml:id="class.mysqli-result" xmlns="http://docbook.org/ns/docbook" \
xmlns:xlink="http://www.w3.org/1999/xlink" \
xmlns:xi="http://www.w3.org/2001/XInclude"> +<phpdoc:classref \
xml:id="class.mysqli-result" 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>The mysqli_result class</title>
<titleabbrev>mysqli_result</titleabbrev>
@@ -20,9 +20,10 @@
<!-- {{{ Synopsis -->
<classsynopsis>
- <ooclass><classname>mysqli_result</classname></ooclass>
-
-<!-- {{{ Class synopsis -->
+ <ooclass>
+ <classname>mysqli_result</classname>
+ </ooclass>
+
<classsynopsisinfo>
<ooclass>
<classname>mysqli_result</classname>
@@ -31,15 +32,18 @@
<oointerface>
<interfacename>IteratorAggregate</interfacename>
</oointerface>
-
</classsynopsisinfo>
-<!-- }}} -->
-
+
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('class.mysqli-result')/db:refentry/db:refsect1[@role='description']/descendant::db:fieldsynopsis[1])" \
/>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
- <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('class.mysqli-result')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='oop'])" \
/> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('class.mysqli-result')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
+ <xi:fallback/>
+ </xi:include>
+ <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('class.mysqli-result')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='oop'])">
+ <xi:fallback/>
+ </xi:include>
</classsynopsis>
<!-- }}} -->
@@ -73,7 +77,6 @@
&reference.mysqli.entities.mysqli-result;
</phpdoc:classref>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -94,4 +97,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-
diff --git a/reference/mysqli/mysqli_result/construct.xml \
b/reference/mysqli/mysqli_result/construct.xml new file mode 100644
index 0000000000..98b40cf9e7
--- /dev/null
+++ b/reference/mysqli/mysqli_result/construct.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+<refentry xml:id="mysqli-result.construct" xmlns="http://docbook.org/ns/docbook" \
xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv>
+ <refname>mysqli_result::__construct</refname>
+ <refpurpose>Constructs a <classname>mysqli_result</classname> object</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <constructorsynopsis>
+ <modifier>public</modifier> <methodname>mysqli_result::__construct</methodname>
+ <methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>result_mode</parameter><initializer><constant>MYSQLI_STORE_RESULT</constant></initializer></methodparam>
+ </constructorsynopsis>
+ <para>
+
+ </para>
+
+ &warn.undocumented.func;
+
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <variablelist>
+ &mysqli.link.description;
+ <varlistentry>
+ <term><parameter>result_mode</parameter></term>
+ <listitem>
+ <para>
+
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </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
+-->
diff --git a/reference/mysqli/mysqli_result/getiterator.xml \
b/reference/mysqli/mysqli_result/getiterator.xml index 6cdb00fd8e..ce3e57431f 100644
--- a/reference/mysqli/mysqli_result/getiterator.xml
+++ b/reference/mysqli/mysqli_result/getiterator.xml
@@ -9,7 +9,7 @@
&reftitle.description;
<methodsynopsis role="oop">
<modifier>public</modifier> \
<type>Iterator</type><methodname>mysqli_result::getIterator</methodname>
- <void />
+ <void/>
</methodsynopsis>
<para>
diff --git a/reference/mysqli/mysqli_stmt.xml b/reference/mysqli/mysqli_stmt.xml
index 9d893dfc3b..ce7be49669 100644
--- a/reference/mysqli/mysqli_stmt.xml
+++ b/reference/mysqli/mysqli_stmt.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.mysqli-stmt" \
xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" \
xmlns:xi="http://www.w3.org/2001/XInclude"> +<phpdoc:classref \
xml:id="class.mysqli-stmt" 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>The mysqli_stmt class</title>
<titleabbrev>mysqli_stmt</titleabbrev>
@@ -20,22 +20,26 @@
<!-- {{{ Synopsis -->
<classsynopsis>
- <ooclass><classname>mysqli_stmt</classname></ooclass>
-
-<!-- {{{ Class synopsis -->
+ <ooclass>
+ <classname>mysqli_stmt</classname>
+ </ooclass>
+
<classsynopsisinfo>
<ooclass>
<classname>mysqli_stmt</classname>
</ooclass>
</classsynopsisinfo>
-<!-- }}} -->
-
+
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('class.mysqli-stmt')/db:refentry/db:refsect1[@role='description']/descendant::db:fieldsynopsis[1])" \
/>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
- <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('class.mysqli-stmt')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[1])" \
/>
- <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('class.mysqli-stmt')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='oop'])" \
/> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('class.mysqli-stmt')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
+ <xi:fallback/>
+ </xi:include>
+ <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('class.mysqli-stmt')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
+ <xi:fallback/>
+ </xi:include>
</classsynopsis>
<!-- }}} -->
@@ -46,7 +50,6 @@
&reference.mysqli.entities.mysqli-stmt;
</phpdoc:classref>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -67,4 +70,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-
diff --git a/reference/mysqli/mysqli_stmt/bind-param.xml \
b/reference/mysqli/mysqli_stmt/bind-param.xml index 433de60321..1fe866bc45 100644
--- a/reference/mysqli/mysqli_stmt/bind-param.xml
+++ b/reference/mysqli/mysqli_stmt/bind-param.xml
@@ -17,9 +17,9 @@
<methodparam rep="repeat"><type>mixed</type><parameter \
role="reference">vars</parameter></methodparam> </methodsynopsis>
<para>&style.procedural;</para>
- <methodsynopsis>
+ <methodsynopsis role="procedural">
<type>bool</type><methodname>mysqli_stmt_bind_param</methodname>
- <methodparam><type>mysqli_stmt</type><parameter>stmt</parameter></methodparam>
+ <methodparam><type>mysqli_stmt</type><parameter>statement</parameter></methodparam>
<methodparam><type>string</type><parameter>types</parameter></methodparam>
<methodparam><type>mixed</type><parameter \
role="reference">var</parameter></methodparam> <methodparam \
rep="repeat"><type>mixed</type><parameter \
role="reference">vars</parameter></methodparam> @@ -219,7 +219,6 @@ printf("%d rows \
found.\n", $stmt->num_rows()); </refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/mysqli/mysqli_stmt/bind-result.xml \
b/reference/mysqli/mysqli_stmt/bind-result.xml index bde4d1150c..8f650d7a27 100644
--- a/reference/mysqli/mysqli_stmt/bind-result.xml
+++ b/reference/mysqli/mysqli_stmt/bind-result.xml
@@ -16,9 +16,9 @@
<methodparam rep="repeat"><type>mixed</type><parameter \
role="reference">vars</parameter></methodparam> </methodsynopsis>
<para>&style.procedural;</para>
- <methodsynopsis>
+ <methodsynopsis role="procedural">
<type>bool</type><methodname>mysqli_stmt_bind_result</methodname>
- <methodparam><type>mysqli_stmt</type><parameter>stmt</parameter></methodparam>
+ <methodparam><type>mysqli_stmt</type><parameter>statement</parameter></methodparam>
<methodparam><type>mixed</type><parameter \
role="reference">var</parameter></methodparam> <methodparam \
rep="repeat"><type>mixed</type><parameter \
role="reference">vars</parameter></methodparam> </methodsynopsis>
@@ -164,7 +164,6 @@ AND Andorra
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/mysqli/mysqli_warning.xml \
b/reference/mysqli/mysqli_warning.xml index 20daca13fc..f9b68438f5 100644
--- a/reference/mysqli/mysqli_warning.xml
+++ b/reference/mysqli/mysqli_warning.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" \
xml:id="class.mysqli-warning" xmlns="http://docbook.org/ns/docbook" \
xmlns:xlink="http://www.w3.org/1999/xlink" \
xmlns:xi="http://www.w3.org/2001/XInclude"> +<phpdoc:classref \
xml:id="class.mysqli-warning" 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>The mysqli_warning class</title>
<titleabbrev>mysqli_warning</titleabbrev>
@@ -20,33 +20,41 @@
<!-- {{{ Synopsis -->
<classsynopsis>
- <ooclass><classname>mysqli_warning</classname></ooclass>
+ <ooclass>
+ <classname>mysqli_warning</classname>
+ </ooclass>
-<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<modifier>final</modifier>
<classname>mysqli_warning</classname>
</ooclass>
</classsynopsisinfo>
-<!-- }}} -->
+
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
<modifier>public</modifier>
+ <type>string</type>
<varname linkend="mysqli-warning.props.message">message</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
+ <type>string</type>
<varname linkend="mysqli-warning.props.sqlstate">sqlstate</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
+ <type>int</type>
<varname linkend="mysqli-warning.props.errno">errno</varname>
</fieldsynopsis>
-
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
- <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('class.mysqli-warning')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" \
/> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('class.mysqli-warning')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
+ <xi:fallback/>
+ </xi:include>
+ <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('class.mysqli-warning')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
+ <xi:fallback/>
+ </xi:include>
</classsynopsis>
<!-- }}} -->
@@ -85,7 +93,6 @@
&reference.mysqli.entities.mysqli-warning;
</phpdoc:classref>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -106,4 +113,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-
diff --git a/reference/mysqli/mysqli_warning/construct.xml \
b/reference/mysqli/mysqli_warning/construct.xml new file mode 100644
index 0000000000..30e73ceee4
--- /dev/null
+++ b/reference/mysqli/mysqli_warning/construct.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<refentry xml:id="mysqli-warning.construct" xmlns="http://docbook.org/ns/docbook" \
xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv>
+ <refname>mysqli_warning::__construct</refname>
+ <refpurpose>Private constructor to disallow direct instantiation</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <constructorsynopsis>
+ <modifier>private</modifier> <methodname>mysqli_warning::__construct</methodname>
+ <void/>
+ </constructorsynopsis>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ &no.function.parameters;
+ </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
+-->
diff --git a/reference/mysqli/versions.xml b/reference/mysqli/versions.xml
index 3a683df596..4b42c5fa87 100644
--- a/reference/mysqli/versions.xml
+++ b/reference/mysqli/versions.xml
@@ -140,7 +140,7 @@
<function name="mysqli::get_connection_stats" from="PHP 5 >= 5.3.0, PHP 7, PHP \
8"/> <function name="mysqli::get_server_info" from="PHP 5, PHP 7, PHP 8"/>
<function name="mysqli::get_warnings" from="PHP 5 >= 5.1.0, PHP 7, PHP 8"/>
- <function name="mysqli::init" from="PHP 5, PHP 7, PHP 8"/>
+ <function name="mysqli::init" from="PHP 5, PHP 7, PHP 8" deprecated="PHP 8.1.0"/>
<function name="mysqli::kill" from="PHP 5, PHP 7, PHP 8"/>
<function name="mysqli::more_results" from="PHP 5, PHP 7, PHP 8"/>
<function name="mysqli::multi_query" from="PHP 5, PHP 7, PHP 8"/>
@@ -191,6 +191,7 @@
<function name="mysqli_stmt::store_result" from="PHP 5, PHP 7, PHP 8"/>
<function name="mysqli_result" from="PHP 5, PHP 7, PHP 8"/>
+ <function name="mysqli_result::__construct" from="PHP 5, PHP 7, PHP 8"/>
<function name="mysqli_result::close" from="PHP 5, PHP 7, PHP 8"/>
<function name="mysqli_result::data_seek" from="PHP 5, PHP 7, PHP 8"/>
<function name="mysqli_result::fetch_all" from="PHP 5 >= 5.3.0, PHP 7, PHP 8"/>
@@ -212,6 +213,7 @@
<function name="mysqli_driver::embedded_server_start" from="PHP 5 >= 5.1.0, PHP \
7 < 7.4.0"/>
<function name="mysqli_warning" from="PHP 5, PHP 7, PHP 8"/>
+ <function name="mysqli_warning::__construct" from="PHP 5, PHP 7, PHP 8"/>
<function name="mysqli_warning::next" from="PHP 5, PHP 7, PHP 8"/>
<function name="mysqli_sql_exception" from="PHP 5, PHP 7, PHP 8"/>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic