From 234c18e44d3eec2909ccb44a437ca5a09beb3772 Mon Sep 17 00:00:00 2001 From: jerome Date: Wed, 14 Oct 2009 07:25:59 +0000 Subject: [PATCH] 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 --- user/selector/lib.php | 3 +++ 1 file changed, 3 insertions(+) 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() { -- 2.39.5