mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-32003 last db related phpdocs cleanup commit
This commit is contained in:
parent
002252f714
commit
d8bf2a14b6
@ -30,7 +30,7 @@
|
||||
*/
|
||||
abstract class XMLDBCheckAction extends XMLDBAction {
|
||||
/**
|
||||
* This string is displayed with a yes/no choice before the report is run.
|
||||
* @var string This string is displayed with a yes/no choice before the report is run.
|
||||
* You must set this to the name of a lang string in xmldb.php before calling init.
|
||||
*/
|
||||
protected $introstr = '';
|
||||
|
@ -95,7 +95,7 @@ class database_manager {
|
||||
* Given one xmldb_table, check if it exists in DB (true/false).
|
||||
*
|
||||
* @param string|xmldb_table $table The table to be searched (string name or xmldb_table instance).
|
||||
* @return bool true/false True is a table exists, false otherwise.
|
||||
* @return bool True is a table exists, false otherwise.
|
||||
*/
|
||||
public function table_exists($table) {
|
||||
if (!is_string($table) and !($table instanceof xmldb_table)) {
|
||||
@ -126,8 +126,8 @@ class database_manager {
|
||||
/**
|
||||
* Given one xmldb_field, check if it exists in DB (true/false).
|
||||
*
|
||||
* @param mixed $table The table to be searched (string name or xmldb_table instance).
|
||||
* @param mixed $field The field to be searched for (string name or xmldb_field instance).
|
||||
* @param string|xmldb_table $table The table to be searched (string name or xmldb_table instance).
|
||||
* @param string|xmldb_field $field The field to be searched for (string name or xmldb_field instance).
|
||||
* @return boolean true is exists false otherwise.
|
||||
* @throws ddl_table_missing_exception
|
||||
*/
|
||||
|
@ -42,7 +42,7 @@ class xmldb_table extends xmldb_object {
|
||||
* - Oracle has 30 chars limit for all names,
|
||||
* 2 chars are reserved for prefix.
|
||||
*
|
||||
* @const maximumn length of field names
|
||||
* @const maximum length of field names
|
||||
*/
|
||||
const NAME_MAX_LENGTH = 28;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user