Skip to content

Update ext/mysqli role attributes #1971

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

Merged
merged 1 commit into from
Dec 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@
</fieldsynopsis>

<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[not(@role='procedural')])">
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mysqli')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='mysqli'])">
<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:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mysqli')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='mysqli'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/autocommit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type>bool</type><methodname>mysqli::autocommit</methodname>
<methodparam><type>bool</type><parameter>enable</parameter></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>bool</type><methodname>mysqli_autocommit</methodname>
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
<methodparam><type>bool</type><parameter>enable</parameter></methodparam>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/begin-transaction.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type>bool</type><methodname>mysqli::begin_transaction</methodname>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>name</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>&style.procedural;:</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>bool</type><methodname>mysqli_begin_transaction</methodname>
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/change-user.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type>bool</type><methodname>mysqli::change_user</methodname>
<methodparam><type>string</type><parameter>username</parameter></methodparam>
<methodparam><type>string</type><parameter>password</parameter></methodparam>
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>database</parameter></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>bool</type><methodname>mysqli_change_user</methodname>
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
<methodparam><type>string</type><parameter>username</parameter></methodparam>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/character-set-name.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type>string</type><methodname>mysqli::character_set_name</methodname>
<void/>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>string</type><methodname>mysqli_character_set_name</methodname>
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/close.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type>bool</type><methodname>mysqli::close</methodname>
<void/>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>bool</type><methodname>mysqli_close</methodname>
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/commit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type>bool</type><methodname>mysqli::commit</methodname>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>name</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>bool</type><methodname>mysqli_commit</methodname>
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
Expand Down
6 changes: 3 additions & 3 deletions reference/mysqli/mysqli/construct.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<constructorsynopsis>
<constructorsynopsis role="mysqli">
<modifier>public</modifier> <methodname>mysqli::__construct</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>
Expand All @@ -20,7 +20,7 @@
<methodparam choice="opt"><type>int</type><parameter>port</parameter><initializer>ini_get("mysqli.default_port")</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter>socket</parameter><initializer>ini_get("mysqli.default_socket")</initializer></methodparam>
</constructorsynopsis>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type>void</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>
Expand All @@ -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 role="procedural">
<methodsynopsis>
<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>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/debug.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type>bool</type><methodname>mysqli::debug</methodname>
<methodparam><type>string</type><parameter>options</parameter></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>bool</type><methodname>mysqli_debug</methodname>
<methodparam><type>string</type><parameter>options</parameter></methodparam>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/dump-debug-info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type>bool</type><methodname>mysqli::dump_debug_info</methodname>
<void/>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>bool</type><methodname>mysqli_dump_debug_info</methodname>
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/execute-query.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type class="union"><type>mysqli_result</type><type>bool</type></type><methodname>mysqli::execute_query</methodname>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
<methodparam choice="opt"><type class="union"><type>array</type><type>null</type></type><parameter>params</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type class="union"><type>mysqli_result</type><type>bool</type></type><methodname>mysqli_execute_query</methodname>
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/get-charset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type class="union"><type>object</type><type>null</type></type><methodname>mysqli::get_charset</methodname>
<void/>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type class="union"><type>object</type><type>null</type></type><methodname>mysqli_get_charset</methodname>
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/get-client-info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
&reftitle.description;
<para>&style.oop;</para>
<fieldsynopsis><type>string</type><varname linkend="mysqli.get-client-info">mysqli-&gt;client_info</varname></fieldsynopsis>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type>string</type><methodname>mysqli::get_client_info</methodname>
<void/>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>string</type><methodname>mysqli_get_client_info</methodname>
<methodparam choice="opt"><type class="union"><type>mysqli</type><type>null</type></type><parameter>mysql</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/get-connection-stats.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type>array</type><methodname>mysqli::get_connection_stats</methodname>
<void/>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>array</type><methodname>mysqli_get_connection_stats</methodname>
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/get-server-info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
&reftitle.description;
<para>&style.oop;</para>
<fieldsynopsis><type>string</type><varname linkend="mysqli.get-server-info">mysqli-&gt;server_info</varname></fieldsynopsis>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type>string</type><methodname>mysqli::get_server_info</methodname>
<void/>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>string</type><methodname>mysqli_get_server_info</methodname>
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/get-warnings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type class="union"><type>mysqli_warning</type><type>false</type></type><methodname>mysqli::get_warnings</methodname>
<void/>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type class="union"><type>mysqli_warning</type><type>false</type></type><methodname>mysqli_get_warnings</methodname>
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
</methodsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/mysqli/mysqli/init.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis>
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type class="union"><type>bool</type><type>null</type></type><methodname>mysqli::init</methodname>
<void/>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/kill.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type>bool</type><methodname>mysqli::kill</methodname>
<methodparam><type>int</type><parameter>process_id</parameter></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>bool</type><methodname>mysqli_kill</methodname>
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
<methodparam><type>int</type><parameter>process_id</parameter></methodparam>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/more-results.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type>bool</type><methodname>mysqli::more_results</methodname>
<void/>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>bool</type><methodname>mysqli_more_results</methodname>
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/multi-query.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type>bool</type><methodname>mysqli::multi_query</methodname>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>bool</type><methodname>mysqli_multi_query</methodname>
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/next-result.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type>bool</type><methodname>mysqli::next_result</methodname>
<void/>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>bool</type><methodname>mysqli_next_result</methodname>
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/options.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type>bool</type><methodname>mysqli::options</methodname>
<methodparam><type>int</type><parameter>option</parameter></methodparam>
<methodparam><type class="union"><type>string</type><type>int</type></type><parameter>value</parameter></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>bool</type><methodname>mysqli_options</methodname>
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
<methodparam><type>int</type><parameter>option</parameter></methodparam>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/ping.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type>bool</type><methodname>mysqli::ping</methodname>
<void/>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>bool</type><methodname>mysqli_ping</methodname>
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/poll.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>mysqli::poll</methodname>
<methodparam><type class="union"><type>array</type><type>null</type></type><parameter role="reference">read</parameter></methodparam>
<methodparam><type class="union"><type>array</type><type>null</type></type><parameter role="reference">error</parameter></methodparam>
Expand All @@ -19,7 +19,7 @@
<methodparam choice="opt"><type>int</type><parameter>microseconds</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type class="union"><type>int</type><type>false</type></type><methodname>mysqli_poll</methodname>
<methodparam><type class="union"><type>array</type><type>null</type></type><parameter role="reference">read</parameter></methodparam>
<methodparam><type class="union"><type>array</type><type>null</type></type><parameter role="reference">error</parameter></methodparam>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/mysqli/prepare.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="mysqli">
<modifier>public</modifier> <type class="union"><type>mysqli_stmt</type><type>false</type></type><methodname>mysqli::prepare</methodname>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type class="union"><type>mysqli_stmt</type><type>false</type></type><methodname>mysqli_prepare</methodname>
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
Expand Down
Loading