Commit graph

70 commits

Author SHA1 Message Date
Kamil Tekiela
52779f983f
Incorrect information in the return values section of fetch_fields (#1043) 2021-10-25 08:08:47 +01:00
Kamil Tekiela
4e8c90ca8a
PHP 8.1: Document mysqli_result::fetch_column (#776) 2021-10-19 09:31:48 +01:00
Kamil Tekiela
67c340d029
Updating mysqli: data_seek
* Simplified examples
* Add mysqli_stmt_get_result
* Fix example tags
* Added a secondary example
* Fix code comments

Closes GH-887.
2021-09-14 15:25:19 +02:00
Kamil Tekiela
b1fc217c5f
Updating mysqli: mysqli_num_rows
* Changed article
* More accurate description
* More accurate return value
* Improved example
* See also
* Add a note

Closes GH-891.
2021-09-03 16:04:51 +02:00
Kamil Tekiela
a3051835f7
Updating mysqli: mysqli_num_fields
* Aligned wording
* Explicitely list columns to make it obvious where the number comes from

Closes GH-892.
2021-09-03 15:59:33 +02: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
7d6b8ade61
Updating mysqli: fetch_all (#513)
* Provided better description
* Added mysqli_stmt_get_result to the result param
* Remove misleading note
* Provided a simple example
2021-04-08 12:07:58 +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
ca5c477437 Improve mysqli_fetch_* functions docs
* Aligned examples. OO and procedural examples where using different
  variable names. An example of iterator was using different style and
  data
* Improved descriptions. Some words were confusing and even wrong.
* Aligned notes. All notes are in the same place and follow similar grammar
* Removed manual error checking from examples
* Removed unnecessary LIMIT 50,5
* Added .similar to the example results

Co-authored-by: Anna Filina <afilina@gmail.com>

Closes GH-207
2021-02-22 17:57:29 +01:00
Philip Olson
40667918dc Added table ids as needed by the docs at mysql.com 2021-01-27 11:47:40 -08:00
Dharman
a714378ed8 Remove PHP 5 info from mysqli, PDO_MySQL and mysqlnd
Co-authored-by: Anna Filina <afilina@gmail.com>

Closes GH-253.
2021-01-10 12:47:52 +01:00
Christoph Michael Becker
4473119c07 Revert revision 352076 from phpdoc/en/trunk/reference/mysqli:
MySQL's utf8 has *at* *most* 3 byte per codepoint

........

As pointed out by dharman, the new info is wrong.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352139 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-19 16:46:03 +00:00
Christoph Michael Becker
d2dd88a60c MySQL's utf8 has *at* *most* 3 byte per codepoint
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352076 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-14 19:14:32 +00:00
Christoph Michael Becker
053609a5c9 Updating mysqli: free result
Closes GH-240.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352045 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 22:26:28 +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
7f940ab1e9 MySQLi: various updates [12] - mysqli_result class synopsis incomplete
A number of methods weren't showing in the [Class Synopsos](https://www.php.net/manual/en/class.mysqli-result.php#mysqli-result.synopsis).

I suspect this was caused by the missing `role="oop"` for the `methodsynopsis` element.

Patch contributed by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350069 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 15:03:12 +00:00
Christoph Michael Becker
c1434c95fc 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
2020-06-20 15:02:28 +00:00
Jakub Vrana
82cb7475e2 Add missing <refname>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343941 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 16:45:13 +00:00
Philip Olson
809b8ab4fd Fixed PHP Bug #68573 by expanding the examples to use multiple character sets, and mentioning what 'length' means.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337742 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-03 23:32:22 +00:00
Peter Cowburn
4de8a4cb9a typo (patch by cmb)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336925 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-11 22:24:51 +00:00
Pieter Hordijk
fa5071f76e Fixed description of decimals property per https://bugs.php.net/bug.php?id=69126
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336007 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-27 12:41:16 +00:00
Alexander Moskaliov
0d0936323e Fix syntax error in example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335586 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-03 16:11:59 +00:00
Maciej Sobaczewski
e41aab5eca Remove changelogs for PHP 4 - 3rd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334621 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 17:46:13 +00:00
Peter Cowburn
2af241e1c1 add initializer for mysqli_result::fetch_object() (Patch by Steve Clay)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334261 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-12 21:04:08 +00:00
Peter Cowburn
fd05093add Use object in OO example
--
Patch by anonymous #45313

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333769 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-13 08:12:00 +00:00
Peter Cowburn
d4f40a45d1 use OO API for OO example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333187 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:54:36 +00:00
Sherif Ramadan
c2d6fe7424 Fix bug #65877 - wrong constant used (PHP_INT_MAX not MAXINT).
Patch by Dean Sas <dean@deansas.org>


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331790 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-12 22:53:30 +00:00
Philip Olson
9edc7d4114 Fixed typos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327381 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-30 18:40:28 +00:00
Justin Martin
4a97438b7b Fixed example to use free instead of close. Closes bug #61652.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324948 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-07 19:18:51 +00:00
Jakub Vrana
0d604bbc9d Remove <classsynopsis> from methods and fields definitions
PhD uses this context for decisions about links and similar.
It also simplifies the XML

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322205 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-13 14:20:43 +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
Jakub Vrana
334dc21776 Link properties from class definitions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322006 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-10 08:53:16 +00:00
Jakub Vrana
d316f465df Hide properties from method lists
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322005 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-10 08:41:49 +00:00
Jakub Vrana
06b9ee7046 MySQLi uses lowercase class names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321998 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-10 07:20:18 +00:00
Philip Olson
b476146e50 Made examples moderately consistent, and <example>'s should have <title>'s.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321495 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-29 05:36:04 +00:00
Philip Olson
a0b4a16f5c Documented 5.4+ MySQLi_Result iterator support
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320713 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-09 03:47:42 +00:00
Richard Quadling
a56106f691 Standardized on double quotes for attributes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317502 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-30 14:21:51 +00:00
Mike Ford
fa6e196973 Improve English: "in case" does not mean "if" (part 1).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313913 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-29 10:46:17 +00:00
Philip Olson
b36f23d0db Added consistency here, so changed class->method titles to class::method
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313115 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-10 15:44:39 +00:00
Jakub Vrana
065db8a473 New keys in return
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312785 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-01 22:35:24 +00:00
David Tajchreber
9f8cbacff2 Fixed bug #53498 corrected error in mysqli_result example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306220 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-11 05:08:10 +00:00
Anthony Bedford
ce8acb6d00 Note added as per bug #50636
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304111 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-05 16:26:18 +00:00
Anthony Bedford
b481e9d418 Fixed doc bug #51163. Removed references to def field, as no meaningful value is returned for it.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302439 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-18 12:12:29 +00:00
Daniel Convissor
ac54a421f7 Bring examples in line with our updated oop/procedural style docbook layout.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299161 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-08 23:37:27 +00:00
Daniel Convissor
cd7e8901b3 Clean up description sections for updated oop/procedural combination format.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299158 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-08 21:20:24 +00:00