Commit graph

329 commits

Author SHA1 Message Date
Peter Cowburn
ee2f9aa6b6 tweak getcolumnmeta drivers info
Changes:
* Removed Firebird from list.
* Added changelog entry for PDO_DBLIB.
* Added links to drivers.
* Reformatted as itemizedlist.
* Sorted drivers in alphabetical order :)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342326 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-14 14:19:49 +00:00
Pieter Hordijk
fd6131c650 Removes experimental note as per #74370
-- 
Provided by anonymous 82010 (jay@room11.org)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342316 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-13 08:22:57 +00:00
Christoph Michael Becker
73ccd04e7d Document $flags parameter (as of PHP 7.1.4)
See https://github.com/php/php-src/pull/2412.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342155 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-17 14:07:36 +00:00
Andrey Andreev
36e4bf067b Docs bug #66542: Fix inconsistencies in PDOStatement::fetchAll() examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342140 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-16 12:17:12 +00:00
Christoph Michael Becker
3d8e238c40 Fix return values section
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341234 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-30 12:06:07 +00:00
Christoph Michael Becker
80c312be68 Remove use of the word "you" per style guide
Original patch provided by Oscar Merida.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340381 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-08 10:03:31 +00:00
Christoph Michael Becker
c271533e6d Emulated prepares are not implemented by all drivers
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340311 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-04 14:54:38 +00:00
Christoph Michael Becker
1c4dd2621d Fix example comment (provided by A3020 <a3020@fastmail.com>)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339618 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-10 11:57:22 +00:00
Pieter Hordijk
6f2a633c72 Moved introduction texts under the correct subtitle
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339564 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-05 08:57:56 +00:00
Christoph Michael Becker
714b2ac860 Fix #69730: PDO: incorrect description of how to close the connection to the database
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339536 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-01 09:07:57 +00:00
Christoph Michael Becker
a5c1a2e211 Fix #66613: PDOStatement::columnCount and empty result sets
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339522 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-29 12:53:26 +00:00
Christoph Michael Becker
e440c79af1 Fix #53394: Insufficient docs regarding PDOStatement::fetch(Object) and constructors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339520 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-29 11:03:39 +00:00
Peter Cowburn
54ffc060d1 Some PDO exceptions ignore ATTR_ERRMODE
--
Based on a patch provided by marcus@hannmail.co.uk

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339183 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-17 22:23:00 +00:00
Thomas Punt
d4958e51d6 Resolve doc bug #70119
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338832 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-27 15:52:45 +00:00
Adam Harvey
41d8e7ffe4 Update version information to include PHP 7.
This was mostly done programmatically, and is likely wrong for a small number
of functions. We may have to wait for bug reports, unless someone wants to
review this by hand. Basic efforts were made to avoid adding "PHP 7" to
functions that were removed in PHP 5.x (x > 0) and PHP 7, but there are
undoubtedly still issues.

In case we're still using Docbook for PHP 8, I've uploaded the script that I
wrote to do this to GitHub at
https://github.com/LawnGnome/php-doc-version-migrator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338406 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-04 21:40:07 +00:00
Jean-Sebastien Hedde
a1772e86ca Fatal errors were created in the example due to PDO::beginTransaction() vs. PDOStatement::beginTransaction().
-- 
Provided by anonymous 64041 (jan.slabon@setasign.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338389 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-31 12:57:40 +00:00
Christoph Michael Becker
ab5e72bad9 call PDO::commit(), not PDOStatement::commit()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337552 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-19 12:40:37 +00:00
Christoph Michael Becker
7ed327e143 clarified $statement parameter description of PDO::prepare (fixes #70120)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337261 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-29 00:17:45 +00:00
Christoph Michael Becker
d1295c9240 corrected wrong parameter name (fixes #70143)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337242 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-27 12:42:05 +00:00
Peter Cowburn
b71889694a column names case
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336911 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-09 21:00:15 +00:00
Maciej Sobaczewski
7eb76b1f1f Close bug #69775 (fetchColumn() example is misleading)
Patch by cmb

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336896 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-09 07:07:33 +00:00
Peter Cowburn
2084295d69 Document pdo_pgsql copy from/to file/array methods. Patch by Alexander N (doc bug #63656)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336777 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-14 22:41:04 +00:00
Pieter Hordijk
53b3265387 Fixed E_ENGRISH / typos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336630 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-23 08:59:26 +00:00
Karoly Negyesi
85e54017bd better code example, version information
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336254 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-30 07:25:07 +00:00
Maciek Sokolewicz
1ad5905021 make example consistent (use echo instead of both print and echo in the same example)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336244 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-29 20:38:05 +00:00
Adam Harvey
5da461c02a Update PDOStatement::fetchColumn() docs for the boolean column issue.
Fixes doc bug #68783 (pgsql: PDO::fetchColumn() false returned for value false
and no rows returned).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335883 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-04 02:34:10 +00:00
Jean-Sebastien Hedde
41060e691d Anonymous contributions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335484 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-30 12:29:17 +00:00
Simion Onea
14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +00:00
Adam Harvey
f2c41f5da1 Update new functions in PHP 5.6.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334641 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 06:47:08 +00:00
Peter Cowburn
7f24a47407 Typofix
Patch by Don Wilson

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334004 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-28 19:18:58 +00:00
Bob Weinand
a4c1f077f7 Updated docs to match arginfo on PDO::__construct
arginfo calls the parameter options; docs called them driver_options.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333541 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-14 20:13:34 +00:00
Peter Cowburn
ef5dde1af7 Value is not dumped
Remko van Bezooijen

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333216 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:56:38 +00:00
Peter Cowburn
cb535d5ac0 PDO::prepare() improvements
Patch by Col. Shrapnel

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333202 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:55:41 +00:00
Adam Harvey
ff3a7948d5 Document PDO::FETCH_NAMED in the same place as the other fetch constants.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332113 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-13 21:47:00 +00:00
Joe Watkins
f8646b59e2 #46542 PDO __call behaviour <5.3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331999 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-26 09:37:54 +00:00
Popa Adrian Marius
385d9fd8bc cleanup reference of old ib6
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331422 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-17 14:16:18 +00:00
Philip Olson
799afa7e6f Clarified return value as suggested by PHP Bug #64631
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330637 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-25 00:36:23 +00:00
Sebastian Bergmann
656d1610af Add missing modifier information. Patch by Jeff Welch <whatthejeff@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330543 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-18 05:36:30 +00:00
Jakub Vrana
9e8b518051 Add versions for classes
Generated by http://pastebin.com/NByXgj7E and manually edited

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330432 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-31 21:02:33 +00:00
Jakub Vrana
d9e790b852 Link constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330431 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-31 20:29:47 +00:00
Jakub Vrana
1634a88641 Delete redundant <!-- Membership: -->
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-23 17:38:21 +00:00
Jakub Vrana
38e65393c5 Use InheritedProperties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330314 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-20 20:36:05 +00:00
Jakub Vrana
9ef99a43b5 Fix PDO_PGSQL link
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330293 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-19 17:44:06 +00:00
Jakub Vrana
55e7ee28d6 PDOStatement::debugDumpParams() returns null (bug #64839)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330278 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-17 23:56:01 +00:00
Karoly Negyesi
5626663456 mention https://bugs.php.net/bug.php?id=44409 in the docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329574 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-24 22:12:45 +00:00
Karoly Negyesi
4c8f96a13e Added a few words on FETCH_PROPS_LATE
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329573 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-24 22:03:35 +00:00
Justin Martin
a937c3c578 Changed return value to &return.success;, as returns 1 on success no longer would seem to apply.
Closes bug #63944.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329087 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-12 00:22:00 +00:00
Sherif Ramadan
cfcfe6e059 Updated PDO error handling chapter with new example and added note to reflect PDO::__construct behavior.
This fixes Bug #63845 in that a note is added to inform the user that PDO::__construct will always throw an exception if the connection fails.
A new example is also added to reflect that even when the PDO::ATTR_ERRMODE is set in the constructor, and the connection fails, a PDOException will still be thrown.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329077 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-11 11:09:57 +00:00
Yannick Torres
3a8dc25d68 Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328095 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-22 11:49:37 +00:00
Sherif Ramadan
34cef396fa Added class-level version information for PDO, PDOStatement, and PDOException.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327897 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-06 05:13:54 +00:00