* to 1 "enum-like" constraint. So, if more than one is returned, only the first one will be
* retrieved by this funcion.
*
- * @uses, $db
* @param xmldb_table the table to be searched
* @param xmldb_field the field to be searched
* @return string check constraint name or false
/**
* Given one xmldb_field, check if it has a check constraint in DB
*
- * @uses, $db
* @param xmldb_table the table
* @param xmldb_field the field to be searched for any existing constraint
* @return boolean true/false
* Given one xmldb_key, the function returns the name of the key in DB (if exists)
* of false if it doesn't exist
*
- * @uses, $db
* @param xmldb_table the table to be searched
* @param xmldb_key the key to be searched
* @return string key name of false
/**
* This function will add the field to the table passed as arguments
*
- * @uses $CFG, $db
* @param xmldb_table table object (just the name is mandatory)
* @param xmldb_field field object (full specs are required)
* @param boolean continue to specify if must continue on error (true) or stop (false)
/**
* This function will drop the field from the table passed as arguments
*
- * @uses $CFG, $db
* @param xmldb_table table object (just the name is mandatory)
* @param xmldb_field field object (just the name is mandatory)
* @param boolean continue to specify if must continue on error (true) or stop (false)
/**
* This function will change the type of the field in the table passed as arguments
*
- * @uses $CFG, $db
* @param xmldb_table table object (just the name is mandatory)
* @param xmldb_field field object (full specs are required)
* @param boolean continue to specify if must continue on error (true) or stop (false)
/**
* This function will change the precision of the field in the table passed as arguments
*
- * @uses $CFG, $db
* @param xmldb_table table object (just the name is mandatory)
* @param xmldb_field field object (full specs are required)
* @param boolean continue to specify if must continue on error (true) or stop (false)
/**
* This function will change the unsigned/signed of the field in the table passed as arguments
*
- * @uses $CFG, $db
* @param xmldb_table table object (just the name is mandatory)
* @param xmldb_field field object (full specs are required)
* @param boolean continue to specify if must continue on error (true) or stop (false)
/**
* This function will change the nullability of the field in the table passed as arguments
*
- * @uses $CFG, $db
* @param xmldb_table table object (just the name is mandatory)
* @param xmldb_field field object (full specs are required)
* @param boolean continue to specify if must continue on error (true) or stop (false)
* This function will change the default of the field in the table passed as arguments
* One null value in the default field means delete the default
*
- * @uses $CFG, $db
* @param xmldb_table table object (just the name is mandatory)
* @param xmldb_field field object (full specs are required)
* @param boolean continue to specify if must continue on error (true) or stop (false)
* This function will rename the field in the table passed as arguments
* Before renaming the field, the function will check it exists
*
- * @uses $CFG, $db
* @param xmldb_table table object (just the name is mandatory)
* @param xmldb_field index object (full specs are required)
* @param string new name of the field
/**
* This function will create the key in the table passed as arguments
*
- * @uses $CFG, $db
* @param xmldb_table table object (just the name is mandatory)
* @param xmldb_key index object (full specs are required)
* @param boolean continue to specify if must continue on error (true) or stop (false)
/**
* This function will drop the key in the table passed as arguments
*
- * @uses $CFG, $db
* @param xmldb_table table object (just the name is mandatory)
* @param xmldb_key key object (full specs are required)
* @param boolean continue to specify if must continue on error (true) or stop (false)
* This function will rename the key in the table passed as arguments
* Experimental. Shouldn't be used at all in normal installation/upgrade!
*
- * @uses $CFG, $db
* @param xmldb_table table object (just the name is mandatory)
* @param xmldb_key key object (full specs are required)
* @param string new name of the key
* This function will create the index in the table passed as arguments
* Before creating the index, the function will check it doesn't exists
*
- * @uses $CFG, $db
* @param xmldb_table table object (just the name is mandatory)
* @param xmldb_index index object (full specs are required)
* @param boolean continue to specify if must continue on error (true) or stop (false)
* This function will drop the index in the table passed as arguments
* Before dropping the index, the function will check it exists
*
- * @uses $CFG, $db
* @param xmldb_table table object (just the name is mandatory)
* @param xmldb_index index object (full specs are required)
* @param boolean continue to specify if must continue on error (true) or stop (false)
* Before renaming the index, the function will check it exists
* Experimental. Shouldn't be used at all!
*
- * @uses $CFG, $db
* @param xmldb_table table object (just the name is mandatory)
* @param xmldb_index index object (full specs are required)
* @param string new name of the index