Commit graph

47 commits

Author SHA1 Message Date
Sergey Panteleev
8a2141dcc0
Deprecated functions and constants
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-981.
2021-10-04 16:53:40 +02:00
Máté Kocsis
2097828a3d
Document that PDO::FETCH_DEFAULT is only available as of PHP 8.0.7
Closes GH-597.
2021-06-01 14:54:46 +02:00
Máté Kocsis
c9c158137b
Generate ext/pdo methodsynopses based on stubs (#494) 2021-05-06 14:50:35 +02:00
Sergey Panteleev
a0ae28d3bc
Removed references to PHP 5, PHP 7.0 (#545) 2021-04-24 20:01:17 +03:00
Sergey Panteleev
aab33d6443
Removed references to PHP 5, PHP 7.0 (#544) 2021-04-23 11:35:26 +03:00
Christoph Michael Becker
86e6094e86 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker
d8567f0b1a Fix #79661: PDO::ATTR_PERSISTENT also accepts a string key
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349999 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-02 08:42:00 +00:00
Kalle Sommer Nielsen
cd3e37ce25 Documented all new PDO functionality in 7.2, and did some minor cleanups
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343508 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-29 18:42:13 +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
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
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
Jakub Vrana
81de01788d Document fetch constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327081 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-12 17:45:56 +00:00
Jakub Vrana
4de5cce5d8 Linkable reference constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323624 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 13:22:09 +00:00
Justin Martin
bca32204ee Changed the description of PDO::FETCH_KEY_VALUE to match actual behaviour (requiring the result set to have exactly two columns). Closes bug #55053.
-- 
Provided by anonymous #11351 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320468 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-05 22:31:50 +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
Richard Quadling
fc9e379fd8 Standardise on single style of quotes for XML tag.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315005 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-16 11:38:58 +00:00
Daniel Egeberg
2fd3f0c96d Converted remaining files to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297078 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 16:25:51 +00:00
Daniel Egeberg
92ac19c964 Reverted r297058
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297077 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 16:13:03 +00:00
Richard Quadling
41744b84ad Converted to UTF-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297058 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 09:53:08 +00:00
Torben Wilson
af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Nilgün Belma Bugüner
751d46fd60 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283830 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 08:31:40 +00:00
Yannick Torres
02e589878d fix markup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279812 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-03 22:22:31 +00:00
Hannes Magnusson
903324eb1c PDO::FETCH_CLASS calls the magic __set method if the property doesn't
exist


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278056 c90b9560-bf6c-de11-be94-00142212c4b1
2009-03-31 07:44:43 +00:00
Kalle Sommer Nielsen
447833324f Fixes #47737 (PDO constants page needs note re FETCH_KEY_PAIR)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@277795 c90b9560-bf6c-de11-be94-00142212c4b1
2009-03-26 01:18:45 +00:00
Jakub Vrana
46a8a2b7ef Describe PDO::FETCH_CLASSTYPE
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268480 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-07 11:04:29 +00:00
Hannes Magnusson
5915dfb9db MFB: Upgrade to the new-reference-structure
- (Created missing setup sections in setup.xml, if any)
 - Moved the intro to book.xml
 - Changed the intro ID from <extname>.intro to intro.<extname>
 - Moved the constants entity to book.xml
 - Change constants.xml to be appendix
 - Moved the pdo.connections section to its own chapter (connections.xml)
 - Moved the pdo.error-handling section to its own chapter (errorhandling.xml)
 - Moved the pdo.lobs section to its own chapter (lobs.xml)
 - Moved the pdo.prepared-statements section to its own chapter (prepared-statements.xml)
 - Moved the pdo.transactions section to its own chapter (transactions.xml)
 - Moved the configure and ini entities to setup.xml
NOTE: book.xml defines a <part> containing the PDO Drivers listing (references)
NOTE: The orginal pdo.drivers ID was renamed to pdo.drivers2 (will probably be deleted..)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249021 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-26 14:41:04 +00:00
Maciek Sokolewicz
89cef57869 explained PDO::FETCH_SERIALIZE use
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241728 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-22 17:24:24 +00:00
Hannes Magnusson
c030e2adf7 Upgrade to DocBook5:
- All id attributes are now xml:id
 - Add docbook namespace to all root elements
 - Replace <ulink /> with <link xlink:href />
 - Minor markup fixes here and there


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238160 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-20 22:25:43 +00:00
Hannes Magnusson
13a7469acc PDO::FETCH_KEY_PAIR is available as of 5.2.3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@236118 c90b9560-bf6c-de11-be94-00142212c4b1
2007-05-22 15:07:38 +00:00
Hannes Magnusson
0b5c87aae8 Fix PDO constants (don't have PDO_ prefix anymore)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@220352 c90b9560-bf6c-de11-be94-00142212c4b1
2006-09-22 12:08:50 +00:00
Hannes Magnusson
9b6cc3729e Fix bug#38922 (PDO::ATTR_DEFAULT_FETCH_MODE && PDO::FETCH_PROPS_LATE became available in 5.2)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@220351 c90b9560-bf6c-de11-be94-00142212c4b1
2006-09-22 11:59:01 +00:00
Sara Golemon
f3df60a998 Document new class constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@212390 c90b9560-bf6c-de11-be94-00142212c4b1
2006-05-03 23:00:29 +00:00
Jakub Vrana
e26ec45724 New constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@211929 c90b9560-bf6c-de11-be94-00142212c4b1
2006-04-24 07:41:57 +00:00
Wez Furlong
ea4c364c85 PDO::FETCH_CLASSTYPE is an internal constant flag
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@201221 c90b9560-bf6c-de11-be94-00142212c4b1
2005-11-24 21:46:08 +00:00
Jakub Vrana
779ebcf90f Class constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@196426 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-20 08:22:29 +00:00
Wez Furlong
111b55fe48 flesh out some more
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@196294 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-18 14:03:30 +00:00
Wez Furlong
4a179a5132 more info on pdo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@196154 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-15 20:57:51 +00:00
Wez Furlong
792f6f09a8 The extension is no longer experimental; what we have is not going to change between now and the first stable release.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@195770 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-11 07:22:22 +00:00
Wez Furlong
ffc3345912 misc tweaks
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190460 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-11 04:38:55 +00:00
Dan Scott
1f7db4393f Document column name-munging constants.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@189970 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-05 20:09:17 +00:00
Dan Scott
667fa1cc3f Add new constants.
Explain how INOUT and OUT parameters work in bindParam.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@180769 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-25 14:47:45 +00:00
Dan Scott
0c1bedcdde Document new parameters in PDOStatement::fetch that allow for scrollable
cursors, and add an example of how to use scrollable cursors (finally!).
Add examples for the transaction functions.
Correct a typo in the constants.
Adopt more reference template goodness throughout.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@178958 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-05 18:52:58 +00:00
Dan Scott
47febed813 Continue the conversion to the new reference template.
Add another couple of constants, and update the PDOStatement
error functions to reflect the new reality.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@178485 c90b9560-bf6c-de11-be94-00142212c4b1
2005-01-29 04:28:40 +00:00
Dan Scott
e05f5d938a Correct constants.xml typo.
Migrate construct to new template.
Correct rowCount example.
Add setFetchMode documentation.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@178285 c90b9560-bf6c-de11-be94-00142212c4b1
2005-01-26 05:35:40 +00:00
Dan Scott
65a76681a9 Document constants, bindColumn, and lastInsertID.
Correct minor errors in prepare and fetch.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@178071 c90b9560-bf6c-de11-be94-00142212c4b1
2005-01-24 03:11:02 +00:00
Dan Scott
f1919f2714 Switched to new xml_proto.php file structure
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@172464 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-10 22:21:24 +00:00