Commit graph

82 commits

Author SHA1 Message Date
Dan Scott
dbf3b22bdb Apply Kohei Yoshida's patch for correct entities inside comments.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@207675 c90b9560-bf6c-de11-be94-00142212c4b1
2006-02-21 16:45:06 +00:00
Jakub Vrana
3c76a9bb8b False for errors doesn't change denoted return type (howto guidelines)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@204860 c90b9560-bf6c-de11-be94-00142212c4b1
2006-01-09 09:06:05 +00:00
Dan Scott
5067472b93 Clarify restrictions on binding parameters.
Correct return type of PDO::prepare.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@204829 c90b9560-bf6c-de11-be94-00142212c4b1
2006-01-08 14:02:42 +00:00
Jakub Vrana
7c31b8ae80 Document fetchObject (bug #35862)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@204478 c90b9560-bf6c-de11-be94-00142212c4b1
2006-01-03 17:11:51 +00:00
Jakub Vrana
10533edc90 PDO::FETCH_CLASSTYPE
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@204476 c90b9560-bf6c-de11-be94-00142212c4b1
2006-01-03 17:05:21 +00:00
Dan Scott
71ffaa3363 Typo -- should create a new, second statement object in example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@201375 c90b9560-bf6c-de11-be94-00142212c4b1
2005-11-27 06:45:14 +00:00
Jakub Vrana
daf1e66aa0 Clarify ctor_args
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@201265 c90b9560-bf6c-de11-be94-00142212c4b1
2005-11-25 14:17:45 +00:00
Wez Furlong
1102c92690 tweak
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@201211 c90b9560-bf6c-de11-be94-00142212c4b1
2005-11-24 19:05:47 +00:00
Antony Dovgal
2c30b31288 fix return types (int -> string)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@200473 c90b9560-bf6c-de11-be94-00142212c4b1
2005-11-14 09:20:39 +00:00
Jakub Vrana
c8d7b23d25 ATTR_CURSOR_NAME is also for ODBC (spotted by Wez)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@199919 c90b9560-bf6c-de11-be94-00142212c4b1
2005-11-03 16:05:10 +00:00
Jakub Vrana
327958eb18 Attributes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@199766 c90b9560-bf6c-de11-be94-00142212c4b1
2005-11-02 09:47:10 +00:00
Antony Dovgal
2b2045ac16 constant -> class constant
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@198894 c90b9560-bf6c-de11-be94-00142212c4b1
2005-10-20 20:29:47 +00:00
Dan Scott
5119196d17 Explicitly document 0-indexed nature of fetchColumn() param.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@198807 c90b9560-bf6c-de11-be94-00142212c4b1
2005-10-19 21:18:19 +00:00
Dan Scott
c10d9cba0c Address user notes and add a few more details.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@198804 c90b9560-bf6c-de11-be94-00142212c4b1
2005-10-19 20:45:02 +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
00c0c9154d rename pdo_drivers() to PDO::getAvailableDrivers as part of namespacing sweep before 1.0 stable.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@196299 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-18 14:17:32 +00:00
Wez Furlong
34a6bc84d6 All these methods are stable.
Note: getColumnMeta is not stable; the warning was intentionally left there.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@195768 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-11 06:22:26 +00:00
Wez Furlong
43652dbc98 Document new bindValue() method.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@195721 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-10 16:39:21 +00:00
Dan Scott
28c4e8026e Document PDO_FETCH_COLUMN, PDO_FETCH_UNIQUE, and PDO_FETCH_GROUP.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194700 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-31 01:33:45 +00:00
Dan Scott
49407b3713 Emphasize the usefulness of prepared statements vs. quoted input.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194698 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-31 00:56:35 +00:00
Dan Scott
afd947e79a Use preferred comment style in examples.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194305 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-24 11:13:06 +00:00
Dan Scott
086aa9f025 Update to new doc style (not sure how I missed this one).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194304 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-24 11:08:59 +00:00
Dan Scott
954fa71e2e Address bug 34231 (MySQL doesn't handle DDL in transactions).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194303 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-24 11:07:45 +00:00
Dan Scott
0f3b624569 Begin splitting PDO driver docs into separate manual sections.
Implement sorted Function Reference section of manual table of contents;
  this may need more work for non-English manuals.
Fix mysqli title so it sorts correctly in sorted table of contents.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@193133 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-12 02:03:50 +00:00
Jakub Vrana
5984f37261 Returns PDOStatement
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190549 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-12 09:02:33 +00:00
Dan Scott
4c7bb09626 Typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190488 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-11 12:31:57 +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
8381f855ac More guidance on when closeCursor() is useful.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190456 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-11 03:28:34 +00:00
Dan Scott
adf6aa4296 PDO-lastInsertID() returns last value of sequence object.
Document PDOStatement-closeCursor().


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190331 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-09 05:19:02 +00:00
Jakub Vrana
645fd2b928 Too many binding
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190156 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-07 15:58:47 +00:00
Dan Scott
d361700692 Remove ambiguous reference to 'second'. You can retrieve any column,
but only one of them :)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190040 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-06 20:33:57 +00:00
Jakub Vrana
76c50aaa7e Missed parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@188551 c90b9560-bf6c-de11-be94-00142212c4b1
2005-06-16 15:04:28 +00:00
Jakub Vrana
1dc9701713 Initial documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@188538 c90b9560-bf6c-de11-be94-00142212c4b1
2005-06-16 13:12:41 +00:00
Dan Scott
0c6bee02b0 Make use of the existing entity for this problem.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@187293 c90b9560-bf6c-de11-be94-00142212c4b1
2005-05-30 01:33:12 +00:00
Dan Scott
8660034061 Silly writer, PHP doesn't have longs :)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@187115 c90b9560-bf6c-de11-be94-00142212c4b1
2005-05-27 18:53:28 +00:00
Dan Scott
4295850f9b Add warning about not abusing the return value of PDO::exec.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@187114 c90b9560-bf6c-de11-be94-00142212c4b1
2005-05-27 18:23:15 +00:00
Dan Scott
8dd919817d PDOStatement::fetchSingle becomes PDOStatement::fetchColumn.
Add new parameter to PDOStatement::fetchColumn.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@186675 c90b9560-bf6c-de11-be94-00142212c4b1
2005-05-20 18:51:02 +00:00
Jakub Vrana
8a5f2d9f34 Fix PHP parse errors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185785 c90b9560-bf6c-de11-be94-00142212c4b1
2005-05-04 13:59:45 +00:00
Jakub Vrana
3d55b0e7c1 Remove doubled words
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185283 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-27 14:20:09 +00:00
Jakub Vrana
147c065529 Remove double article
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@184768 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-20 14:05:09 +00:00
Dan Scott
070bd96142 Document PDOStatement::nextRowset so I don't forget about it again
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@184044 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-09 15:57:10 +00:00
Dan Scott
6317015671 Document how to pass a NULL value to a prepared statement.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@182771 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-24 12:48:18 +00:00
Dan Scott
6d0afd7f43 Add restriction against using named and ? params in a single SQL statement.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@182664 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-22 21:52:46 +00:00
Dan Scott
6f48276019 Commit correction contributed by King Wez.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@181736 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-10 00:02:49 +00:00
Dan Scott
af7c5f5ccb Take a stab at documenting this based on PDO 0.3 beta release notes.
An actual test case would be nice :)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@181734 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-09 23:29:35 +00:00
Dan Scott
70fa40b116 Actually document PDOStatement::getColumnMeta.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@181669 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-09 00:17:15 +00:00
Dan Scott
3c4e14b903 Add link to columnCount.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@181638 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-08 15:38:57 +00:00
Dan Scott
98b9b722e8 Add an example for counting rows in SELECT statements.
Probably still need to apply a <blink> tag to this.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@181049 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-01 00:37:59 +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
Sean Coates
9cd68cffa8 changed return type (PDO_FETCH_OBJ returns an object)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@180345 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-21 15:00:03 +00:00