MDL-54907 dml: Correct incorrect PHPdoc
This commit is contained in:
@@ -1795,7 +1795,7 @@ abstract class moodle_database {
|
||||
* If the return ID isn't required, then this just reports success as true/false.
|
||||
* $data is an object containing needed data
|
||||
* @param string $table The database table to be inserted into
|
||||
* @param object $dataobject A data object with values for one or more fields in the record
|
||||
* @param object|array $dataobject A data object with values for one or more fields in the record
|
||||
* @param bool $returnid Should the id of the newly created record entry be returned? If this option is not requested then true/false is returned.
|
||||
* @param bool $bulk Set to true is multiple inserts are expected
|
||||
* @return bool|int true or new id
|
||||
|
||||
@@ -1374,7 +1374,7 @@ class mysqli_native_moodle_database extends moodle_database {
|
||||
* If the return ID isn't required, then this just reports success as true/false.
|
||||
* $data is an object containing needed data
|
||||
* @param string $table The database table to be inserted into
|
||||
* @param object $data A data object with values for one or more fields in the record
|
||||
* @param object|array $dataobject A data object with values for one or more fields in the record
|
||||
* @param bool $returnid Should the id of the newly created record entry be returned? If this option is not requested then true/false is returned.
|
||||
* @return bool|int true or new id
|
||||
* @throws dml_exception A DML specific exception is thrown for any errors.
|
||||
|
||||
@@ -1284,7 +1284,7 @@ class oci_native_moodle_database extends moodle_database {
|
||||
* If the return ID isn't required, then this just reports success as true/false.
|
||||
* $data is an object containing needed data
|
||||
* @param string $table The database table to be inserted into
|
||||
* @param object $data A data object with values for one or more fields in the record
|
||||
* @param object|array $dataobject A data object with values for one or more fields in the record
|
||||
* @param bool $returnid Should the id of the newly created record entry be returned? If this option is not requested then true/false is returned.
|
||||
* @return bool|int true or new id
|
||||
* @throws dml_exception A DML specific exception is thrown for any errors.
|
||||
|
||||
@@ -390,7 +390,7 @@ abstract class pdo_moodle_database extends moodle_database {
|
||||
* If the return ID isn't required, then this just reports success as true/false.
|
||||
* $data is an object containing needed data
|
||||
* @param string $table The database table to be inserted into
|
||||
* @param object $data A data object with values for one or more fields in the record
|
||||
* @param object|array $dataobject A data object with values for one or more fields in the record
|
||||
* @param bool $returnid Should the id of the newly created record entry be returned? If this option is not requested then true/false is returned.
|
||||
* @param bool $bulk true means repeated inserts expected
|
||||
* @return bool|int true or new id
|
||||
|
||||
@@ -1044,7 +1044,7 @@ class pgsql_native_moodle_database extends moodle_database {
|
||||
* If the return ID isn't required, then this just reports success as true/false.
|
||||
* $data is an object containing needed data
|
||||
* @param string $table The database table to be inserted into
|
||||
* @param object $data A data object with values for one or more fields in the record
|
||||
* @param object|array $dataobject A data object with values for one or more fields in the record
|
||||
* @param bool $returnid Should the id of the newly created record entry be returned? If this option is not requested then true/false is returned.
|
||||
* @return bool|int true or new id
|
||||
* @throws dml_exception A DML specific exception is thrown for any errors.
|
||||
|
||||
@@ -1118,7 +1118,7 @@ class sqlsrv_native_moodle_database extends moodle_database {
|
||||
* If the return ID isn't required, then this just reports success as true/false.
|
||||
* $data is an object containing needed data
|
||||
* @param string $table The database table to be inserted into
|
||||
* @param object $data A data object with values for one or more fields in the record
|
||||
* @param object|array $dataobject A data object with values for one or more fields in the record
|
||||
* @param bool $returnid Should the id of the newly created record entry be returned? If this option is not requested then true/false is returned.
|
||||
* @return bool|int true or new id
|
||||
* @throws dml_exception A DML specific exception is thrown for any errors.
|
||||
|
||||
+1
-1
@@ -249,7 +249,7 @@ abstract class test_moodle_database extends moodle_database {
|
||||
/**
|
||||
* Default implementation, throws Exception
|
||||
* @param string $table
|
||||
* @param StdObject $dataobject
|
||||
* @param object|array $dataobject
|
||||
* @param bool $returnid
|
||||
* @param bool $bulk
|
||||
* @return bool|int true or new id
|
||||
|
||||
Reference in New Issue
Block a user