src/Database/Drivers/LegacyDriver.php
/**
	 * Formats and/or escapes a value for use in a prepared statement.
	 *
	 * @param mixed $value
	 * @return string
	 */
Formats and/or escapes a value for use in a prepared statement.
@param mixed $value
@return string
Formats and / or escapes a value for use in a prepared statement . @param mixed $value @return string
protected function prepareValue($value) {
		if (is_numeric($value)) {
			return $value;
		}
		else {
			return sprintf("'%s'", mysql_real_escape_string($value, $this->handle));
		}
	}
protected function prepareValue ( $ value ) { if ( is_numeric ( $ value ) ) { return $ value ; } else { return sprintf ( " '%s' " , mysql_real_escape_string ( $ value , $ this -> handle ) ) ; } }
Formats and/or escapes a value for use in a prepared statement.
Formats and / or escapes a value for use in a prepared statement .