Add quoteString() to interface.
authorJan Schneider <jan@horde.org>
Wed, 12 Jan 2011 18:15:50 +0000 (19:15 +0100)
committerJan Schneider <jan@horde.org>
Wed, 12 Jan 2011 18:15:50 +0000 (19:15 +0100)
framework/Db/lib/Horde/Db/Adapter.php

index d0cf41e..0e3e35f 100644 (file)
@@ -95,6 +95,19 @@ interface Horde_Db_Adapter
 
 
     /*##########################################################################
+    # Quoting
+    ##########################################################################*/
+
+    /**
+     * Quotes a string, escaping any special characters.
+     *
+     * @param   string  $string
+     * @return  string
+     */
+    public function quoteString($string);
+
+
+    /*##########################################################################
     # Database Statements
     ##########################################################################*/