Implement quoteString().
authorJan Schneider <jan@horde.org>
Wed, 12 Jan 2011 18:41:42 +0000 (19:41 +0100)
committerJan Schneider <jan@horde.org>
Wed, 12 Jan 2011 18:41:42 +0000 (19:41 +0100)
framework/Db/lib/Horde/Db/Adapter/SplitRead.php

index e87a44a..e6b14f4 100644 (file)
@@ -169,6 +169,22 @@ class Horde_Db_Adapter_SplitRead implements Horde_Db_Adapter
 
 
     /*##########################################################################
+    # Quoting
+    ##########################################################################*/
+
+    /**
+     * Quotes a string, escaping any special characters.
+     *
+     * @param   string  $string
+     * @return  string
+     */
+    public function quoteString($string)
+    {
+        return $this->_read->quoteString($string);
+    }
+
+
+    /*##########################################################################
     # Database Statements
     ##########################################################################*/