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

Public Member Functions

 __construct (CentralIdLookup $lookup=null, $authorityOrAudience=CentralIdLookup::AUDIENCE_PUBLIC)
 
 filterForForm ( $value)
 
Parameters
mixed$value
Returns
mixed

 
 filterFromForm ( $names)
 
Parameters
mixed$value
Returns
mixed

 

Static Public Member Functions

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

Detailed Description

Definition at line 27 of file MultiUsernameFilter.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Preferences\MultiUsernameFilter::__construct ( CentralIdLookup $lookup = null,
$authorityOrAudience = CentralIdLookup::AUDIENCE_PUBLIC )
Parameters
CentralIdLookup | null$lookup
Authority | int$authorityOrAudience

Definition at line 39 of file MultiUsernameFilter.php.

Member Function Documentation

◆ filterForForm()

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

Parameters
mixed$value
Returns
mixed

Implements MediaWiki\Preferences\Filter.

Definition at line 66 of file MultiUsernameFilter.php.

References MediaWiki\Preferences\MultiUsernameFilter\splitIds().

◆ filterFromForm()

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

Parameters
mixed$value
Returns
mixed

Implements MediaWiki\Preferences\Filter.

Definition at line 50 of file MultiUsernameFilter.php.

◆ 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 78 of file MultiUsernameFilter.php.

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


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