MediaWiki  master
MediaWiki\Preferences\MultiUsernameFilter Class Reference
Inheritance diagram for MediaWiki\Preferences\MultiUsernameFilter:
Collaboration diagram for MediaWiki\Preferences\MultiUsernameFilter:

Public Member Functions

 __construct (CentralIdLookup $lookup=null, $userOrAudience=CentralIdLookup::AUDIENCE_PUBLIC)
 
 filterForForm ( $value)
 
 filterFromForm ( $names)
 

Static Public Member Functions

static splitIds ( $str)
 Splits a newline separated list of user ids into an array. More...
 

Private Member Functions

 getLookup ()
 

Private Attributes

CentralIdLookup null $lookup
 
CentralIdLookup int $userOrAudience
 User querying central usernames or one of the audience constants. More...
 

Detailed Description

Definition at line 25 of file MultiUsernameFilter.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Preferences\MultiUsernameFilter::__construct ( CentralIdLookup  $lookup = null,
  $userOrAudience = CentralIdLookup::AUDIENCE_PUBLIC 
)

Member Function Documentation

◆ filterForForm()

MediaWiki\Preferences\MultiUsernameFilter::filterForForm (   $value)

◆ filterFromForm()

MediaWiki\Preferences\MultiUsernameFilter::filterFromForm (   $names)

◆ getLookup()

◆ splitIds()

static MediaWiki\Preferences\MultiUsernameFilter::splitIds (   $str)
static

Splits a newline separated list of user ids into an array.

Parameters
string$str
Returns
int[]

Definition at line 75 of file MultiUsernameFilter.php.

Member Data Documentation

◆ $lookup

CentralIdLookup null MediaWiki\Preferences\MultiUsernameFilter::$lookup
private

◆ $userOrAudience

CentralIdLookup int MediaWiki\Preferences\MultiUsernameFilter::$userOrAudience
private

User querying central usernames or one of the audience constants.

Definition at line 31 of file MultiUsernameFilter.php.

Referenced by MediaWiki\Preferences\MultiUsernameFilter\__construct().


The documentation for this class was generated from the following file: