[DOC-CVS] [doc-en] master: Clean up mysqli functions

[email protected] (Kamil Tekiela)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Kamil Tekiela (kamil-tekiela)
Date: 2026-08-24T13:32:41+01:00

Commit: https://github.com/php/doc-en/commit/17a96b3fa50329bcd71739da7291019edae3c6af
Raw diff: https://github.com/php/doc-en/commit/17a96b3fa50329bcd71739da7291019edae3c6af.diff

Clean up mysqli functions

Changed paths:
  A  reference/mysqli/mysqli/escape-string.xml
  A  reference/mysqli/mysqli/set-opt.xml
  D  reference/mysqli/functions/mysqli-connect.xml
  D  reference/mysqli/functions/mysqli-escape-string.xml
  D  reference/mysqli/functions/mysqli-report.xml
  D  reference/mysqli/functions/mysqli-set-opt.xml
  M  reference/mysqli/reference.xml


Diff:

diff --git a/reference/mysqli/functions/mysqli-connect.xml b/reference/mysqli/functions/mysqli-connect.xml
deleted file mode 100644
index 5fb43b23b206..000000000000
--- a/reference/mysqli/functions/mysqli-connect.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<refentry xml:id="function.mysqli-connect" xmlns="http://docbook.org/ns/docbook">
- <refnamediv>
-  <refname>mysqli_connect</refname>
-  <refpurpose>&Alias; <methodname>mysqli::__construct</methodname></refpurpose>
- </refnamediv>
-
- <refsect1 role="description">
-  &reftitle.description;
-  <para>
-   &info.function.alias; <methodname>mysqli::__construct</methodname>
-  </para>
-  <note>
-   <para>
-    If mysqli exception mode is not enabled and a connection fails, 
-    then <function>mysqli_connect</function> returns &false; instead of an object. 
-    The <function>mysqli_connect_error</function> function can be used to fetch the connection error.
-   </para>
-  </note>
- </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/functions/mysqli-report.xml b/reference/mysqli/functions/mysqli-report.xml
deleted file mode 100644
index 27abdbca9296..000000000000
--- a/reference/mysqli/functions/mysqli-report.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<refentry xml:id="function.mysqli-report" xmlns="http://docbook.org/ns/docbook">
- <refnamediv>
-  <refname>mysqli_report</refname>
-  <refpurpose>&Alias; <link linkend="mysqli-driver.report-mode">mysqli_driver->report_mode</link></refpurpose>
- </refnamediv>
-
- <refsect1 role="description">
-  &reftitle.description;
-  <para>
-    &info.function.alias; <link linkend="mysqli-driver.report-mode">mysqli_driver->report_mode</link>
-  </para>
- </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
--->
diff --git a/reference/mysqli/functions/mysqli-escape-string.xml b/reference/mysqli/mysqli/escape-string.xml
similarity index 90%
rename from reference/mysqli/functions/mysqli-escape-string.xml
rename to reference/mysqli/mysqli/escape-string.xml
index 3d42b10e0c4b..e55907476acd 100644
--- a/reference/mysqli/functions/mysqli-escape-string.xml
+++ b/reference/mysqli/mysqli/escape-string.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<refentry xml:id="function.mysqli-escape-string" xmlns="http://docbook.org/ns/docbook">
+<refentry xml:id="mysqli.escape-string" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>mysqli::escape_string</refname>
   <refname>mysqli_escape_string</refname>
diff --git a/reference/mysqli/functions/mysqli-set-opt.xml b/reference/mysqli/mysqli/set-opt.xml
similarity index 91%
rename from reference/mysqli/functions/mysqli-set-opt.xml
rename to reference/mysqli/mysqli/set-opt.xml
index 1e0d0ed2646e..7ed052efdf94 100644
--- a/reference/mysqli/functions/mysqli-set-opt.xml
+++ b/reference/mysqli/mysqli/set-opt.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<refentry xml:id="function.mysqli-set-opt" xmlns="http://docbook.org/ns/docbook">
+<refentry xml:id="mysqli.set-opt" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>mysqli::set_opt</refname>
   <refname>mysqli_set_opt</refname>
diff --git a/reference/mysqli/reference.xml b/reference/mysqli/reference.xml
index 8f3c11a2016f..bf40276259e2 100644
--- a/reference/mysqli/reference.xml
+++ b/reference/mysqli/reference.xml
@@ -2,7 +2,7 @@
 <!-- $Revision$ -->
 
 <reference xml:id="ref.mysqli">
- <title>Aliases and deprecated Mysqli &Functions;</title>
+ <title>MySQLi &Functions;</title>
 
  &reference.mysqli.entities.functions;
 </reference>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.