From bf007d0d34faffe1b1587f455e3eb0b2f379703e Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Wed, 12 Jan 2011 19:15:50 +0100 Subject: [PATCH] Add quoteString() to interface. --- framework/Db/lib/Horde/Db/Adapter.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/framework/Db/lib/Horde/Db/Adapter.php b/framework/Db/lib/Horde/Db/Adapter.php index d0cf41e9e..0e3e35f96 100644 --- a/framework/Db/lib/Horde/Db/Adapter.php +++ b/framework/Db/lib/Horde/Db/Adapter.php @@ -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 ##########################################################################*/ -- 2.11.0