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: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.