]> git.mjollnir.org Git - moodle.git/commitdiff
user selector MDL-16992 just add a comment to the function phpdoc get_option() that...
authorjerome <jerome>
Wed, 14 Oct 2009 07:25:59 +0000 (07:25 +0000)
committerjerome <jerome>
Wed, 14 Oct 2009 07:25:59 +0000 (07:25 +0000)
user/selector/lib.php

index d8ac4e4976046522162cc3ce66a094542c7d8505..17769027ced8293730feca5b66bf7cfdbd17f68c 100644 (file)
@@ -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() {