MySQLi: various updates [11] - method modifiers (mysqli_result)

Add modifiers to the class methods for the `mysqli_result` class to make the [Class Synopsos](https://www.php.net/manual/en/class.mysqli-result.php#mysqli-result.synopsis) more consistent.

Based on the [stub](https://github.com/php/php-src/blob/master/ext/mysqli/mysqli.stub.php) all methods in the class are `public`, so I've annotated them as such.

Patch contributed by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350068 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2020-06-20 15:02:28 +00:00
parent cc7a508844
commit c1434c95fc
11 changed files with 11 additions and 11 deletions

View file

@ -11,7 +11,7 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<type>bool</type><methodname>mysqli_result::data_seek</methodname>
<modifier>public</modifier> <type>bool</type><methodname>mysqli_result::data_seek</methodname>
<methodparam><type>int</type><parameter>offset</parameter></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>

View file

@ -11,7 +11,7 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<type>mixed</type><methodname>mysqli_result::fetch_all</methodname>
<modifier>public</modifier> <type>mixed</type><methodname>mysqli_result::fetch_all</methodname>
<methodparam choice="opt"><type>int</type><parameter>resulttype</parameter><initializer>MYSQLI_NUM</initializer></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>

View file

@ -11,7 +11,7 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<type>mixed</type><methodname>mysqli_result::fetch_array</methodname>
<modifier>public</modifier> <type>mixed</type><methodname>mysqli_result::fetch_array</methodname>
<methodparam choice="opt"><type>int</type><parameter>resulttype</parameter><initializer>MYSQLI_BOTH</initializer></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>

View file

@ -11,7 +11,7 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<type>array</type><methodname>mysqli_result::fetch_assoc</methodname>
<modifier>public</modifier> <type>array</type><methodname>mysqli_result::fetch_assoc</methodname>
<void />
</methodsynopsis>
<para>&style.procedural;</para>

View file

@ -11,7 +11,7 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<type>object</type><methodname>mysqli_result::fetch_field_direct</methodname>
<modifier>public</modifier> <type>object</type><methodname>mysqli_result::fetch_field_direct</methodname>
<methodparam><type>int</type><parameter>fieldnr</parameter></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>

View file

@ -11,7 +11,7 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<type>object</type><methodname>mysqli_result::fetch_field</methodname>
<modifier>public</modifier> <type>object</type><methodname>mysqli_result::fetch_field</methodname>
<void/>
</methodsynopsis>
<para>&style.procedural;</para>

View file

@ -11,7 +11,7 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<type>array</type><methodname>mysqli_result::fetch_fields</methodname>
<modifier>public</modifier> <type>array</type><methodname>mysqli_result::fetch_fields</methodname>
<void/>
</methodsynopsis>
<para>&style.procedural;</para>

View file

@ -11,7 +11,7 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<type>object</type><methodname>mysqli_result::fetch_object</methodname>
<modifier>public</modifier> <type>object</type><methodname>mysqli_result::fetch_object</methodname>
<methodparam choice="opt"><type>string</type><parameter>class_name</parameter><initializer>"stdClass"</initializer></methodparam>
<methodparam choice="opt"><type>array</type><parameter>params</parameter></methodparam>
</methodsynopsis>

View file

@ -11,7 +11,7 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<type>mixed</type><methodname>mysqli_result::fetch_row</methodname>
<modifier>public</modifier> <type>mixed</type><methodname>mysqli_result::fetch_row</methodname>
<void />
</methodsynopsis>
<para>&style.procedural;</para>

View file

@ -11,7 +11,7 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<type>bool</type><methodname>mysqli_result::field_seek</methodname>
<modifier>public</modifier> <type>bool</type><methodname>mysqli_result::field_seek</methodname>
<methodparam><type>int</type><parameter>fieldnr</parameter></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>

View file

@ -13,7 +13,7 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<type>void</type><methodname>mysqli_result::free</methodname>
<modifier>public</modifier> <type>void</type><methodname>mysqli_result::free</methodname>
<void />
</methodsynopsis>
<methodsynopsis>