mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-12886 api improvments - adding new descriptions functions - for now without the implemenatation, we need to decide first
This commit is contained in:
parent
2e13b91672
commit
5b658d18ad
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class external_api {
|
||||||
* Validates submitted function barameters, if anything is incorrect
|
* Validates submitted function barameters, if anything is incorrect
|
||||||
* invalid_parameter_exception is thrown.
|
* invalid_parameter_exception is thrown.
|
||||||
* @param ? $description description of parameters
|
* @param ? $description description of parameters
|
||||||
* @param array $params the actual parameters
|
* @param ? $params the actual parameters
|
||||||
* @return ? params with added defaults for optional items, invalid_parameters_exception thrown if any problem found
|
* @return ? params with added defaults for optional items, invalid_parameters_exception thrown if any problem found
|
||||||
*/
|
*/
|
||||||
public static function validate_params($description, $params) {
|
public static function validate_params($description, $params) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue