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

This commit is contained in:
jerome
2009-10-14 07:25:59 +00:00
parent 862f5a49d5
commit 234c18e44d
+3
View 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() {