From: jerome Date: Wed, 14 Oct 2009 07:25:59 +0000 (+0000) Subject: user selector MDL-16992 just add a comment to the function phpdoc get_option() that... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=234c18e44d3eec2909ccb44a437ca5a09beb3772;p=moodle.git user selector MDL-16992 just add a comment to the function phpdoc get_option() that must be implemented to use the base search ajax field --- diff --git a/user/selector/lib.php b/user/selector/lib.php index d8ac4e4976..17769027ce 100644 --- a/user/selector/lib.php +++ b/user/selector/lib.php @@ -322,6 +322,9 @@ abstract class user_selector_base { public abstract function find_users($search); /** + * + * Note: this function must be implemented if you use the search ajax field + * (e.g. set $options['file'] = '/admin/filecontainingyourclass.php';) * @return array the options needed to recreate this user_selector. */ protected function get_options() {