DB_common::quote() – DEPRECATED: Quotes a string


string quote ( string $string )


Quotes a string database-dependent, so it can be safely used in a query

This method has been deprecated. Use quoteSmart() or escapeSimple() instead.


string $string

the input string to quote

Return value

string - the quoted string.


This function can not be called statically.

This function is deprecated. That means that future versions of this package may not support it anymore.

Deprecated in release 1.6.0.

DB_common::query() (Previous) DB_common::quoteIdentifier() (Next)
Last updated: Tue, 02 Jun 2009 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.