diff --git a/model/Database.php b/model/Database.php index b82887d7d..a223d16e4 100755 --- a/model/Database.php +++ b/model/Database.php @@ -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.