* fields/keys/indexes/sequences, everything based in the XMLDB object
*
* @param XMLDBtable table object containing all the table info
+ * @param boolean continue to specify if must continue on error (true) or stop (false)
+ * @param boolean feedback to specify to show status info (true) or not (false)
* @return boolean true on success, false on error
*/
-function create_table($table) {
+function create_table($table, $continue=true, $feedback=true) {
global $CFG, $db;
return false;
}
- return execute_sql_arr($sqlarr);
+ return execute_sql_arr($sqlarr, $continue, $feedback);
}
/**
* will be dropped too.
*
* @param XMLDBtable table object containing the basic table info
+ * @param boolean continue to specify if must continue on error (true) or stop (false)
+ * @param boolean feedback to specify to show status info (true) or not (false)
* @return boolean true on success, false on error
*/
-function drop_table($table) {
+function drop_table($table, $continue=true, $feedback=true) {
global $CFG, $db;
return false;
}
- return execute_sql_arr($sqlarr);
+ return execute_sql_arr($sqlarr, $continue, $feedback);
}
?>