add method rbt()

This commit is contained in:
Uwe Steinmann 2017-02-09 16:45:58 +01:00
parent 72e7e2aa20
commit fd5b5034db

View File

@ -213,6 +213,16 @@ class SeedDMS_Core_DatabaseAccess {
return $this->_conn->quote($text);
} /* }}} */
/**
* Replace back ticks by '"'
*
* @param string text
* @return string sanitized string
*/
function rbt($text) { /* {{{ */
return str_replace('`', '"');
} /* }}} */
/**
* Execute SQL query and return result
*