Commit graph

8 commits

Author SHA1 Message Date
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
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
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
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
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
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
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