MediaWiki  master
UserNamePrefixSearch_deprecated.php
Go to the documentation of this file.
1 <?php
24 
25 // phpcs:disable MediaWiki.Files.ClassMatchesFilename.NotMatch
38 
50  public static function search( $audience, $search, $limit, $offset = 0 ) {
51  return MediaWikiServices::getInstance()
52  ->getUserNamePrefixSearch()
53  ->search( $audience, (string)$search, (int)$limit, (int)$offset );
54  }
55 }
MediaWiki\MediaWikiServices
MediaWikiServices is the service locator for the application scope of MediaWiki.
Definition: MediaWikiServices.php:180
UserNamePrefixSearch\search
static search( $audience, $search, $limit, $offset=0)
Do a prefix search of user names and return a list of matching user names.
Definition: UserNamePrefixSearch_deprecated.php:50
UserNamePrefixSearch
Handles searching prefixes of user names.
Definition: UserNamePrefixSearch_deprecated.php:37