Commit graph

386 commits

Author SHA1 Message Date
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
Sherif Ramadan
1d410ffe5d Fixed wrong variable name used in the example code.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327812 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-27 02:02:20 +00:00
Sherif Ramadan
4ff7ef044b Added example for binding values in an array using arbitrary unnamed placeholders in a prepared statement.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327811 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-27 01:59:34 +00:00
Sherif Ramadan
d376395d1d Fixed markup missing note tag and added new note for php.ini changes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327625 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-12 22:00:53 +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
Adam Harvey
ef51bbad95 Fix doc bug #62503 (DDL statements in PDO queries are implicitly commited!).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326723 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-20 06:21:14 +00:00
Hannes Magnusson
858cacd62c mark bunch of extensions with "membership" PI (like the membership comment)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326064 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 17:34:56 +00:00
Philip Olson
41f14ef421 Added a concepts section about character sets, and linked to it in various places.
This is an improved fix for PHP Bug #54605


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326024 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-08 05:21:09 +00:00
Jakub Vrana
84b8fca68f Use <function> for language constructs (now supported by PhD)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325214 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-15 21:45:34 +00:00
Jakub Vrana
a9b26c34e4 Display language constructs without parentheses
Side effect of this change is that include, require and return are now properly linked. They weren't because they don't live inside <refentry> so PhD doesn't know about them.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324522 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-25 08:39:30 +00:00
Jakub Vrana
f052ac1bd7 Revert useless change in 326638
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323642 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-29 00:24:15 +00:00
Jakub Vrana
c0ade579d4 PHP_INI_* is in fact INI_
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323638 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 20:26:39 +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
Jakub Vrana
3112007d2d Use static modifier
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323240 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-15 21:48:29 +00:00
Jakub Vrana
45bc78be1c Use class::method
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322104 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-12 01:02:11 +00:00
Jakub Vrana
e12af8df19 Link pdo.dsn.*
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322086 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-11 18:29:41 +00:00
Jakub Vrana
b9c3ddd1d3 Use entities for INI headings
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322061 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-11 08:09:53 +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
Justin Martin
5b33ac427d Removed Postgre-only note. Clarified that it's available for drivers that support transactions. Closes bug #60213.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320330 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-03 23:25:33 +00:00
Justin Martin
cb1f84626d Clarified that a PDOException is thrown if no transaction is active. Closes bug #60283.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320328 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-03 23:08:55 +00:00
Richard Quadling
2dfaaa96a9 W/S, Tab removal
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317827 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-06 09:41:05 +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
Yannick Torres
88a88985b9 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316587 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-13 06:12:03 +00:00
Jakub Vrana
3220ceeae8 Default fetch mode
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316472 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-09 19:49:30 +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
Jakub Vrana
70fd93d874 Better link
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313923 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-29 13:27:04 +00:00
Jakub Vrana
ac04b2ea21 Extension purpose is not needed anymore
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313269 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-15 15:46:15 +00:00
Jakub Vrana
b6e3147815 Space after modifier
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313232 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-14 09:47:27 +00:00
Philip Olson
24e5acc69b Fixed build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313193 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-13 05:01:25 +00:00
Jonathan Guerin
1ce857a993 First commit First commit for the SQLSRV and PDO_SQLSRV extension documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313179 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-12 17:41:34 +00:00
Joey Smith
763c810f70 Include an example of how to set the PDO error mode
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313120 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-10 20:20:09 +00:00
Jakub Vrana
60760b181d Link exceptions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312851 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-03 08:17:50 +00:00
Anthony Ferrara
1b7a1f1918 Added documentation for PDO::ATTR_EMULATE_PREPARES on setAttribute page.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312722 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 19:23:21 +00:00
Peter Cowburn
0d94f00367 second missing colon (re #54359)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309604 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-23 15:26:04 +00:00
Daniel P. Brown
82d3853c2c Fixes bug #54359.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309602 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-23 15:21:55 +00:00
Adam Harvey
098b5194b9 Fix doc bug #54286 (There is a typo describing output for pdo rowcount).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309323 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-17 03:09:37 +00:00
Justin Martin
e81aff98be Minor but important grammar fix, closing bug #53582.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307445 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-13 19:16:38 +00:00
Adam Harvey
22c4c1212a Fix doc bug #53707 (Wrong function declaration of PDOStatement->execute).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307396 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-12 03:58:52 +00:00
Adam Harvey
dc2fb82a37 Fix doc bug #53636 (Wrong return type of PDO::inTransaction).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307079 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-04 13:16:09 +00:00
Richard Quadling
7f2c77fd73 SORT BY => ORDER BY
Fix #53428

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305858 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-30 17:15:38 +00:00
Adam Harvey
1b49cfad7d Updated example per doc bug #53269 (Fatal error in Example #6).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305216 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-09 03:28:36 +00:00
Justin Martin
55884886a1 Fixed examples to use &example.outputs.similar; instead of &example.outputs;.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305123 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-06 00:54:37 +00:00
Justin Martin
7d4bc3e51e Added to PDOStatement::fetchAll the PDO::FETCH_FUNC behaviour for fetch_argument parameter, plus examples for PDO::FETCH_CLASS and PDO::FETCH_FUNC.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305122 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-06 00:13:22 +00:00
Esen Sagynov
220c46381e PDO driver for CUBRID.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305103 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-05 14:03:17 +00:00
Peter Cowburn
a912865116 Typos and grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304887 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-25 19:38:17 +00:00
Kalle Sommer Nielsen
e12a44b369 Fixed bug #51809 (Missing information in PDOStatement->fetchAll docs)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304883 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-25 17:10:42 +00:00
Kalle Sommer Nielsen
2e76923470 Fixed bug #51559 (SQLSTATE[HY093]: Invalid parameter number (error in docs or calculation))
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304528 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 05:04:28 +00:00
Kalle Sommer Nielsen
cf3e141be3 Documented PDO::inTransaction() -- Fixes #52736 (PDO::inTransaction undocumented)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304527 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 03:12:37 +00:00
Richard Quadling
e1bd11cb81 use => used
Fix bug #53008

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304175 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-07 10:35:06 +00:00
Anthony Bedford
061530f084 Minor tweaks related to bug #52543
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304136 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-06 09:37:19 +00:00
Jakub Vrana
b3495f885b No PHP_INI_* mode - don't explain
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303741 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-24 05:14:37 +00:00
Richard Quadling
876087d2c3 Correct example to fetch all rows from rowset. Fix #52834
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303356 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-14 09:41:26 +00:00
Anthony Bedford
4a8c37aa44 Added note as per bug #52543
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303325 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-13 15:40:50 +00:00
Daniel Egeberg
e1199a0dd9 Clarified the error conditions of PDO::beginTransaction()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301561 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-26 07:40:34 +00:00
Daniel Egeberg
0640e024d4 Fixed PHP bug #51978
for file in `ack -i '\bA\s+SQL' -l`; do perl -i -pe 's/\b(a)(\s+SQL)/\1n\2/gi' $file; done


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300101 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-02 18:45:11 +00:00
Daniel Egeberg
2b587ab01f Normalized initializer NULL-values to use the &null; entity:
for file in `find -name '*.xml'`; do sed -i -e 's/<initializer>null<\/initializer>/<initializer>\&null;<\/initializer>/i' $file; done



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298918 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-03 17:10:04 +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
Daniel Egeberg
96c9d88bad Converted to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00
Joey Smith
a4b5b54233 Commit PDO::ATTR_TIMEOUT text from Wez
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@296304 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-16 21:29:38 +00:00
Kalle Sommer Nielsen
b1cfef673b Fix example (result rows is case sensitive)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293393 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-11 08:51:57 +00:00
Pierrick Charron
4724b47c25 Added new entities for Properties, Methods, InheritedMethods, Constants
# Those words were hardcoded in all class synopsis 


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@292734 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-29 09:42:00 +00:00
Jakub Vrana
612e5af5ec Prefer <initializer> before "default value"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291314 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 15:22:02 +00:00
Jakub Vrana
201dc3748c Prefer <initializer> before "defaults to"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291313 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 14:49:47 +00:00
Jakub Vrana
ee6cd3ec6b Must call closeCursor (bug #35844)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291205 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-23 14:30:33 +00:00
Jakub Vrana
9a4e3db0c3 Document queryString (bug #47912)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290978 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-19 11:15:07 +00:00
Jakub Vrana
5fb9a3d475 Safety note (bug #47943)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290976 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-19 10:56:57 +00:00
Jakub Vrana
58e742d435 Typo (bug #50181)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290782 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-15 14:58:28 +00:00
Jakub Vrana
a97737416c Treat with strings (bug #49614)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290713 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-13 22:13:17 +00:00
Jakub Vrana
94470c3cc2 Can return false (bug #49736)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290706 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-13 21:44:11 +00:00
Jakub Vrana
3ce9368539 Utilize &return.falseforfailure;
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290704 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-13 21:37:00 +00:00
Richard Quadling
f658721332 Use &return.falseforfailure; entity.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290410 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-09 10:26:08 +00:00
Richard Quadling
4f7498ac51 False is a valid return. Fix #50022
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290027 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-28 13:01:21 +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
Brandon Savage
542041e8fa Abstracted the prepared statement article to remove references to the second person and make references to the application or to developers.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288441 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-18 18:14:24 +00:00
Hannes Magnusson
0deffe685a typos (spotted by Niel)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286731 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-03 12:59:05 +00:00
Hannes Magnusson
039e08fc0b - Installing PDO from PECL is in no way the recommended way.
- Recommend statically building PDO
- Fixes PECL bug#16758



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286728 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-03 11:41:53 +00:00
Jakub Vrana
42fd17af6e Escape data inside queries
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286556 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-30 12:22:29 +00:00
Dave Barr
af7da72ab4 - Typos.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286545 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-30 10:20:55 +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
Jakub Vrana
06414393c2 errorInfo returns array
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280492 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-14 04:39:49 +00:00
Kalle Sommer Nielsen
5fbc3ba363 Fixed #48235 (Wrong datatype for PDOException::$errorInfo)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280387 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-12 15:36:01 +00:00
Jakub Vrana
2222d21c23 Constistent title
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280382 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-12 14:44:09 +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
Damien Seguy
a86a3630c9 added docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279555 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-29 15:33:25 +00:00
Damien Seguy
21744ea0b7 addin 4D
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279154 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-22 13:53:05 +00:00
Hannes Magnusson
914e351857 fail. was gonna remove it all
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278118 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-01 12:16:53 +00:00
Hannes Magnusson
697f9c415c fix fixme
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278116 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-01 12:12:00 +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
Kalle Sommer Nielsen
4898a1cf10 Added note from #47311, by matteo at beccati dot com
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@277592 c90b9560-bf6c-de11-be94-00142212c4b1
2009-03-22 18:34:03 +00:00
Philip Olson
3abebb615d Added and updated PHP/PECL version information
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@276608 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-28 23:51:42 +00:00
Damien Seguy
ced830f5dc minor spelling fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275911 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-16 09:57:57 +00:00
Jakub Vrana
6125c0100d Initializers - part 4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273634 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-16 12:08:51 +00:00
Hannes Magnusson
d738bc8bba Don't wrap programlistings in a <para>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@272987 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-07 17:59:12 +00:00
Daniel P. Brown
17382b3657 Addresses and fixes Bug #46690.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@270053 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-28 23:07:27 +00:00
Jakub Vrana
eae37b7815 PDOStatement::execute accepts an array
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@269959 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-27 21:09:24 +00:00
Herman J. Radtke III
0b7bab31dd Added note to PDO->errorInfo() return value section to explain changes related (bug #44154).
Updated PDO->errorCode() return value section to document the case where the handle has performed no operations and PDO->errorCode() is called (bug #44153).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@269535 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-22 20:14:45 +00:00
Jakub Vrana
d40ddd663b Emits exception (bug #43443)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268520 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-07 14:45:10 +00:00
Jakub Vrana
e124f4b998 pdo_drivers alias (bug #44155)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268495 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-07 11:59:00 +00:00
Jakub Vrana
74c20287ba Emulated prepared statements doesn't communicate with server (bug #44169)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268493 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-07 11:47:02 +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
Jakub Vrana
ded166f6d8 Document missing parameters (bug #45090)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268363 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-05 16:43:15 +00:00
Philip Olson
c79f3fc3aa Contains version information (when functions became available to PHP)
# Originally from the following location (although likely modified):
# phpdoc/phpbook/phpbook-xsl/version.xml


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268251 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-04 03:27:21 +00:00
Hannes Magnusson
9fcdb5c853 Implement phpdoc:classref
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265353 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 14:09:15 +00:00
Hannes Magnusson
ecd083439d Use phpdoc:exceptionref for exceptions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265351 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 14:05:42 +00:00
Gwynne Raskind
6f9d3713e9 The correct default for the type value is PDO::PARAM_STR, not the PHP native type (see ext/pdo/pdo_stmt.c:1682 and ext/pdo/pdo_stmt.c:1644 in PHP_5_3)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@263380 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-24 11:34:28 +00:00
Hannes Magnusson
45b941e917 Use the new phpdoc:exception element for exceptions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@263310 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-23 18:45:07 +00:00
Stanislav Yordanov
be9bbbab5e build fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@256667 c90b9560-bf6c-de11-be94-00142212c4b1
2008-04-02 16:56:10 +00:00
Felipe Pena
341eee03f5 Information about parameters
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@256648 c90b9560-bf6c-de11-be94-00142212c4b1
2008-04-02 11:44:39 +00:00
Felipe Pena
0f452e61e6 Fixed bug #44602 (PDOStatement-bindColumn does not document 2 default parameters)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@256645 c90b9560-bf6c-de11-be94-00142212c4b1
2008-04-02 11:02:23 +00:00
Richard Quadling
4030c7e82d IDs of --construct => construct. Consistent with all other constructors.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@253821 c90b9560-bf6c-de11-be94-00142212c4b1
2008-02-26 13:30:05 +00:00
Hannes Magnusson
1bf17b8714 - Move the PDO Drivers list into its own file
- Readd the driver list table from reference.xml


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249570 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-31 16:06:50 +00:00
Hannes Magnusson
833e9936ee - Upgrade PDO to the new-oo-style
- Change IDs from function.Cass-MethoName to class.methodname
  - Change <xref>s to PDO methods to use <function>s
  - Change methodsynopsis to the new style
  - Change the ctor to use <constructorsynopsis>
  - Remove ref.pdo (old ref.pdo linkends point to intro.pdo now)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249568 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-31 15:43:38 +00:00
Hannes Magnusson
32f579f335 Implement the new-oo-style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249563 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-31 14:34:04 +00:00
Hannes Magnusson
3eb838771f Lowercase, rename, and move as per the new-oo-style
- functions/PDOStatement-*.xml to pdostatement/*.xml
 - functions/PDO-*.xml to pdo/*.xml


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249562 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-31 14:29:36 +00:00
Felipe Pena
cecfe8e440 Changed fetchAll() to fetch() (#43709)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249385 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-30 00:16:47 +00:00
Hannes Magnusson
88d06bd275 sync with reference.xml r1.59
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249286 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-29 01:44:39 +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
Hannes Magnusson
0258a77f1e MFB: Rename "functions.xml" to entities.<dirname>.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@247901 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-10 17:06:11 +00:00
Richard Quadling
a1496cecfe WS - Removal of TABs.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@245390 c90b9560-bf6c-de11-be94-00142212c4b1
2007-11-01 16:40:42 +00:00
Ben Ramsey
0d571af650 Adding note about usage of PDO::ATTR_PERSISTENT in the constructor vs. PDO->setAttribute
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@245222 c90b9560-bf6c-de11-be94-00142212c4b1
2007-10-30 17:05:59 +00:00
Gwynne Raskind
5feb6bbf6e - FETCH_BOUND is respective to bindColumn(), not bindParam()
- Added return values section for completeness
- Fixed up See Also section


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@242352 c90b9560-bf6c-de11-be94-00142212c4b1
2007-09-09 15:30:50 +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
Jakub Vrana
86d3fae4a5 data_type defaults to PHP native type (bug #38389)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241461 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-17 17:02:13 +00:00
Jakub Vrana
9a094d208c table field
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241040 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-10 14:27:10 +00:00
Jakub Vrana
1b00b92626 Returns array with no error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@240200 c90b9560-bf6c-de11-be94-00142212c4b1
2007-07-23 11:28:06 +00:00
Jakub Vrana
0117b816a2 Name of a stored procedure
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@240195 c90b9560-bf6c-de11-be94-00142212c4b1
2007-07-23 10:22:35 +00:00
Jakub Vrana
29da5999cb Returns PDOStatement in all cases
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@240194 c90b9560-bf6c-de11-be94-00142212c4b1
2007-07-23 09:16:19 +00:00
Hannes Magnusson
46a54186af Revert bogus s/id/xml:id in examples caused by the docbook5 upgrade
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238929 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-30 14:14:03 +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
Gwynne Raskind
100cfa0929 - Import of new internals documentation
- Manual base modified to include new docs and remove old
- Links updated in many files
- New language and global entities as needed


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237850 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-16 21:08:14 +00:00
Jakub Vrana
75ecffb1cb Fix methodsynopsis
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237770 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-15 15:53:14 +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
Etienne Kneuss
491ac4b801 Fix #41211 (wrong object used for methods beginTransaction & commit in example)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@234717 c90b9560-bf6c-de11-be94-00142212c4b1
2007-04-30 21:36:05 +00:00
Jakub Vrana
5aaaf20064 Typo in example (bug #40489)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@232461 c90b9560-bf6c-de11-be94-00142212c4b1
2007-03-23 16:59:29 +00:00
Nuno Lopes
c77a4ba510 mysql 5 is also supported (user note)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@230894 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-27 15:32:08 +00:00
Philip Olson
c2e9e5a27e According to our guidelines:
- Use PHP x.x.0 instead of PHP x.x, or use PHP x.x.x where appropriate
- Use PHP x instead of PHPx


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@229829 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-15 08:12:20 +00:00
Nuno Lopes
b6e207d730 fix example (noticed by a user note)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@229814 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-14 19:42:28 +00:00
Mehdi Achour
bee17b4802 Fix #37401: Show that we can also lose the : before the parameter name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227806 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-22 01:12:14 +00:00
Nuno Lopes
6520c3631a fix bug #40161: error in the example 1
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227512 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-18 15:30:06 +00:00
Mehdi Achour
d23e8c74fc Clean up docs and add missing returnvalues
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@226685 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-07 21:19:57 +00:00
Mehdi Achour
3782dbb92c Document PDO with classsynopsis and fix all links
# Also rollback a change that shouldn't have make it in the last commit


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@226684 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-07 20:57:48 +00:00