original_string: protected function too_many_results($search, $count) {
          if ($search) {
              $a = new stdClass;
              $a->count = $count;
              $a->search = $search;
              return array(get_string('toomanyusersmatchsearch', '', $a) => array(),
                      get_string('pleasesearchmore') => array());
          } else {
              return array(get_string('toomanyuserstoshow', '', $count) => array(),
                      get_string('pleaseusesearch') => array());
          }
      }
code: protected function too_many_results($search, $count) {
          if ($search) {
              $a = new stdClass;
              $a->count = $count;
              $a->search = $search;
              return array(get_string('toomanyusersmatchsearch', '', $a) => array(),
                      get_string('pleasesearchmore') => array());
          } else {
              return array(get_string('toomanyuserstoshow', '', $count) => array(),
                      get_string('pleaseusesearch') => array());
          }
      }
code_tokens: protected function too_many_results ( $ search , $ count ) { if ( $ search ) { $ a = new stdClass ; $ a -> count = $ count ; $ a -> search = $ search ; return array ( get_string ( 'toomanyusersmatchsearch' , '' , $ a ) => array ( ) , get_string ( 'pleasesearchmore' ) => array ( ) ) ; } else { return array ( get_string ( 'toomanyuserstoshow' , '' , $ count ) => array ( ) , get_string ( 'pleaseusesearch' ) => array ( ) ) ; } }
docstring: Used to generate a nice message when there are too many users to show.
  
  The message includes the number of users that currently match, and the
  text of the message depends on whether the search term is non-blank.
  
  @param string $search the search term, as passed in to the find users method.
  @param int $count the number of users that currently match.
  @return array in the right format to return from the find_users method.
docstring_tokens: Used to generate a nice message when there are too many users to show .