MDL-32003 last db related phpdocs cleanup commit

This commit is contained in:
Petr Skoda 2012-06-06 11:42:07 +02:00
parent 002252f714
commit d8bf2a14b6
3 changed files with 5 additions and 5 deletions

View File

@ -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 = '';

View File

@ -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
*/

View File

@ -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;