1 database.inc public DatabaseConnection::quote($string)

Provides a wrapper for the quote() function from the PDO object.

Parameters

string $string: The string to be quoted.

Return value

The quoted string.:

File

core/includes/database/database.inc, line 1039
Core systems for the database layer.

Class

DatabaseConnection
Base Database API class.

Code

public function quote($string) {
  return $this->pdo->quote($string);
}