This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.ip | |
*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Returns description of method parameters | |
* | |
* @return external_function_parameters | |
* @since Moodle 2.3 | |
*/ | |
public static function get_users_parameters() { | |
return new external_function_parameters( | |
array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public static function get_users_parameters() { | |
return new external_function_parameters( | |
array( | |
'criteria' => new external_multiple_structure( | |
new external_single_structure( | |
array( | |
'key' => new external_value(PARAM_ALPHA, 'the user column to search'), | |
'value' => new external_value(PARAM_TEXT, 'the value to match') | |
) |