MediaWiki
REL1_39
UserNamePrefixSearch_deprecated.php
Go to the documentation of this file.
1
<?php
23
use
MediaWiki\MediaWikiServices
;
24
25
// phpcs:disable MediaWiki.Files.ClassMatchesFilename.NotMatch
37
class
UserNamePrefixSearch
{
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
Service locator for MediaWiki core services.
Definition
MediaWikiServices.php:212
UserNamePrefixSearch
Handles searching prefixes of user names.
Definition
UserNamePrefixSearch_deprecated.php:37
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
includes
user
UserNamePrefixSearch_deprecated.php
Generated on Mon Dec 16 2024 06:36:45 for MediaWiki by
1.10.0