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.

Sends a query to the database (Previous) Formats a string so it can be safely used as an identifier (Next)
Last updated: Tue, 06 Oct 2015 — 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.