original_string: protected function get_options() {
          global $CFG;
          $options = parent::get_options();
          $options['file'] = $CFG->admin.'/webservice/lib.php'; //need to be set, otherwise
                                                          // the /user/selector/search.php
                                                          //will fail to find this user_selector class
          $options['serviceid'] = $this->serviceid;
          $options['displayallowedusers'] = $this->displayallowedusers;
          return $options;
      }
code: protected function get_options() {
          global $CFG;
          $options = parent::get_options();
          $options['file'] = $CFG->admin.'/webservice/lib.php'; //need to be set, otherwise
                                                          // the /user/selector/search.php
                                                          //will fail to find this user_selector class
          $options['serviceid'] = $this->serviceid;
          $options['displayallowedusers'] = $this->displayallowedusers;
          return $options;
      }
code_tokens: protected function get_options ( ) { global $ CFG ; $ options = parent :: get_options ( ) ; $ options [ 'file' ] = $ CFG -> admin . '/webservice/lib.php' ; //need to be set, otherwise // the /user/selector/search.php //will fail to find this user_selector class $ options [ 'serviceid' ] = $ this -> serviceid ; $ options [ 'displayallowedusers' ] = $ this -> displayallowedusers ; return $ options ; }
docstring: This options are automatically used by the AJAX search
  @global object $CFG
  @return object options pass to the constructor when AJAX search call a new selector
docstring_tokens: This options are automatically used by the AJAX search