MINOR: defined the addslashes() method on the abstract SS_Database as Convert::raw2sql() assumes it exists. FIXES: #6662

This commit is contained in:
Will Rossiter 2011-06-10 16:36:13 +12:00
parent 0c1b856ce8
commit cb064203ba

View File

@ -141,6 +141,14 @@ abstract class SS_Database {
*/
abstract function enumValuesForField($tableName, $fieldName);
/**
* Returns an escaped string.
*
* @param string
* @return string - escaped string
*/
abstract function addslashes($val);
/**
* The table list, generated by the tableList() function.
* Used by the requireTable() function.