[commits] [Wiki] changed: Doc/Dev/ConversionH4

Jan Schneider jan at horde.org
Mon Mar 14 17:08:59 UTC 2011


jan  Mon, 14 Mar 2011 17:08:59 +0000

Modified page: http://wiki.horde.org/Doc/Dev/ConversionH4
New Revision:  1.12
Change log:  Start documenting Horde_Db changes

@@ -49,8 +49,18 @@

  ++ Documentation

  Update documentation.
+
+++ Database
+
+All database abstraction is done through the Horde_Db library now.
+
+Cheat sheet for converting PEAR::DB calls to Horde_Db calls:
+
+||~PEAR DB||~Horde_Db||
+||getOne()||selectValue()||
+||select()||execute()/insert()/update()/delete()||

  ++ Error Handling

  Don't use Horde::fatal() directly - throw an Exception and if  
uncaught, a fatal exception handler will be triggered.



More information about the commits mailing list