Commit graph

85 commits

Author SHA1 Message Date
Kamil Tekiela
473b5ab2c1
Fix mysqli return values (#1055) 2021-11-16 11:19:01 +00:00
Kamil Tekiela
dfa86bcd6d
Use type entities 2021-11-13 12:58:16 +00:00
hakre
d5161a40ab
Add note when return value is string (#1062)
Note taken from reference/mysqli/mysqli_result/num-rows.xml.

Extracting !ENTITY mysqli.integer.overflow.as.string.note
2021-11-13 12:49:53 +00:00
Kamil Tekiela
9097ea48f6
Fix type of ->num_rows 2021-11-04 08:44:34 +00:00
Kamil Tekiela
7ad83bb05b
next_result() and fetch_all() are now available when linking against libmysqlclient (#1054) 2021-10-29 23:18:36 +01:00
Sergey Panteleev
9b50279c67
[PHP 8.1] Update mysqli_stmt::execute description (#987)
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2021-10-02 19:50:22 +03:00
Kamil Tekiela
ab5887fb61
Small fixes in pdo execute (#989)
* Use temporary table instead

* Uppercase

* Better description
2021-10-01 17:43:42 +01:00
Kamil Tekiela
de9c65c91f
Remove E_STRICT and other PHP 5 related information (#730) 2021-08-17 17:56:25 +01:00
Kamil Tekiela
48f0bac7fd
Updating mysqli: bind_result (#770) 2021-08-06 13:59:30 +01:00
Kamil Tekiela
cbf72e3145
Updating mysqli: get_result (#771) 2021-08-05 22:14:51 +01:00
Sergey Panteleev
4a9a553afc
Fix issues in mysqli directory (#700) 2021-06-18 14:15:33 +03:00
Sergey Panteleev
d68e83b719
Fix some issues in mysqli directory
Part of #658
2021-06-11 10:53:12 +03:00
Kamil Tekiela
614d77598a
Updating mysqli: connect_error & connect_errno
* Remove unhelpful notes
* It's not only mysqli_connect. It's any connection attempt
* It's not only mysqli_connect. Reduced clutter
* Added explanatory comments in the code and used error_log

Closes GH-620.
2021-05-22 23:05:08 +02:00
Kamil Tekiela
2d5c6bed30
Updating mysqli: mysqli_stmt_affected_rows (#553)
* Remove redundant sentence
* Synchronize it with MySQL doc
* Fix incorrect information
* No need for 2 paragraphs
* Add literal
* Improved examples
* Replaced see also
* maximal -> maximum
2021-04-27 22:55:25 +02:00
Kamil Tekiela
e994a8d5be
Updating mysqli: mysqli_stmt_num_rows (#534)
* Better title
* Rewrite the description
* Rewrite return value section
* Simplify the example
* Move up mysqli_stmt_store_result
* Removed ungrammatical "or not"

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-04-20 10:32:36 +02:00
Kamil Tekiela
058748359b
Updating mysqli: mysqli_stmt_store_result (#535)
* Split up the sentence and make it easier to read
* Simplify the example
2021-04-19 12:05:47 +02:00
Kamil Tekiela
5c3589b9b8
Updating mysqli: bind_param (#512)
* Add mysqli_stmt_prepare to the descr.
* Simplify examples
* Fix example title
* Added new example with ...
2021-04-08 12:55:16 +02:00
Máté Kocsis
7e5d0d1bb6 Generate mysqli methodsynopses based on stubs
Cf. <https://github.com/php/doc-en/pull/301>.
2021-03-18 23:21:37 +01:00
Dharman
0a4dd74391 Updating mysqli prepared statements docs
Co-authored-by: George Peter Banyard <7906688+Girgias@users.noreply.github.com>

Closes GH-338.
2021-03-08 18:56:40 +01:00
Anna Filina
b65a894b95 Other queries can also produce a result set
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-324.
2021-02-15 15:53:07 +01:00
Philip Olson
40667918dc Added table ids as needed by the docs at mysql.com 2021-01-27 11:47:40 -08:00
Kamil Tekiela
ce753ccd3d Doc Bug #72393 mysqli_stmt_field_count undocumented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352160 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-21 23:07:01 +00:00
Christoph Michael Becker
b9ba4fca83 Updating mysqli: Remove pre-deprecation notice
Closes GH-247.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352044 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 22:15:36 +00:00
Christoph Michael Becker
e41806c30b Revert revision(s) 351724 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Christoph Michael Becker
4754397753 Revert revision 351727 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Jakub Vrana
c80da7c04a Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +00:00
Christoph Michael Becker
50a0ec797b Use proper variadics instead of pseudo variadics
Apparently, these have been overlooked so far.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351234 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-04 18:07:20 +00:00
Christoph Michael Becker
802b577a4b MySQLi: various updates [9] - mysqli_stmt class synopsis incomplete
A number of methods weren't showing in the [Class Synopsos](https://www.php.net/manual/en/class.mysqli-stmt.php#mysqli-stmt.synopsis).

Looking at the docs, I suspect this was caused by the ` (method):` after the `&style.oop;` annotation and/or the missing `role="oop"` for the `methodsynopsis` element.

Includes minor indentation fixes.

Patch contributed by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350066 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 15:00:42 +00:00
Christoph Michael Becker
ac2f69b3d0 MySQLi: various updates [8] - method modifiers (mysqli_stmt)
Add modifiers to the class methods for the `mysqli_stmt` class to make the [Class Synopsos](https://www.php.net/manual/en/class.mysqli-stmt.php#mysqli-stmt.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@350065 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 14:59:49 +00:00
Nikita Popov
b95cf5c38a Fixed an incorrect return value
Patch by mmcev106.

Closes php/doc-en#25.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349035 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-27 08:51:02 +00:00
Christoph Michael Becker
22ffdb57c2 Fix OOP signature
Patch provided by krzysiek.333.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347685 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-30 09:43:20 +00:00
Jakub Vrana
fb9198e04b Document mysqli_stmt::num_rows
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343942 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 16:49:23 +00:00
Christoph Michael Becker
37287d6b0c Apparently, a word has been swallowed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339612 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-10 11:05:01 +00:00
Thomas Punt
a1c186ceb6 Resolve doc bug #71382
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338523 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-18 21:37:41 +00:00
Adam Harvey
372dfed158 Add documentation for mysqli_stmt::__construct().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336012 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-27 20:20:06 +00:00
Adam Harvey
4a8c660dca Fix version and mysqlnd dependencies for mysqli_stmt_{more,next}_result.
Fixes doc bug #68554 (mysqli_stmt::next_result unavailable before php 5.4).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335248 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-05 19:19:02 +00:00
Peter Cowburn
3c24a088a0 Typofix (missing word)
--
Patch by anonymous contributor

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333771 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-13 08:14:01 +00:00
Peter Cowburn
325fc3992a grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333163 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:52:50 +00:00
Philip Olson
2fe88bc6dd PHP Bug #62798 - MYSQLI_STMT_ATTR_UPDATE_MAX_LENGTH update and see also
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332890 c90b9560-bf6c-de11-be94-00142212c4b1
2014-02-25 23:29:02 +00:00
Joe Watkins
4d0440105f #61128 add get_result to see also in a few places
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331998 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-26 09:29:43 +00:00
Philip Olson
cd09fab47b Renamed libmysql to libmysqlclient to coincide with the mysql.com manual (sorry, translators)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329924 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-26 03:57:46 +00:00
Philip Olson
04ed2d718d Fixed typos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327386 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-30 21:12:29 +00:00
Adam Harvey
6fd194c95e Fix doc bug #61598 (Wrong return type at description).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324695 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-02 06:36:17 +00:00
TAKAGI Masahiro
aafd44f929 Add svn:keywords and svn:eol-style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324374 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-20 06:01:52 +00:00
Yannick Torres
31411d7f3c Fix svn keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324232 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-14 09:58:33 +00:00
Philip Olson
93ce2d7183 Added new (5.4) mysqli functions: ->error_list()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323728 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-01 20:02:57 +00:00
Philip Olson
699e26f299 Added missing docs for mysql_stmt ->next_result() and ->more_results()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323716 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-01 16:21:30 +00:00
Jakub Vrana
c9ee929e0f Display class in detail but not in overview
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322008 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-10 10:37:32 +00:00
Jakub Vrana
455d960b4a Mark properties with $
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322007 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-10 08:58:41 +00:00