MediaWiki REL1_35
|
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. | |
Private Member Functions | |
getLookup () | |
Private Attributes | |
CentralIdLookup null | $lookup |
CentralIdLookup int | $userOrAudience |
User querying central usernames or one of the audience constants. | |
Definition at line 25 of file MultiUsernameFilter.php.
MediaWiki\Preferences\MultiUsernameFilter::__construct | ( | CentralIdLookup | $lookup = null , |
$userOrAudience = CentralIdLookup::AUDIENCE_PUBLIC |
|||
) |
CentralIdLookup | null | $lookup | |
int | $userOrAudience |
Definition at line 37 of file MultiUsernameFilter.php.
References MediaWiki\Preferences\MultiUsernameFilter\$lookup, and MediaWiki\Preferences\MultiUsernameFilter\$userOrAudience.
MediaWiki\Preferences\MultiUsernameFilter::filterForForm | ( | $value | ) |
mixed | $value |
Implements MediaWiki\Preferences\Filter.
Definition at line 63 of file MultiUsernameFilter.php.
References MediaWiki\Preferences\MultiUsernameFilter\getLookup(), and MediaWiki\Preferences\MultiUsernameFilter\splitIds().
MediaWiki\Preferences\MultiUsernameFilter::filterFromForm | ( | $names | ) |
mixed | $value |
Implements MediaWiki\Preferences\Filter.
Definition at line 47 of file MultiUsernameFilter.php.
References MediaWiki\Preferences\MultiUsernameFilter\getLookup().
|
private |
Definition at line 82 of file MultiUsernameFilter.php.
References MediaWiki\Preferences\MultiUsernameFilter\$lookup, and CentralIdLookup\factory().
Referenced by MediaWiki\Preferences\MultiUsernameFilter\filterForForm(), and MediaWiki\Preferences\MultiUsernameFilter\filterFromForm().
|
static |
Splits a newline separated list of user ids into an array.
string | $str |
Definition at line 75 of file MultiUsernameFilter.php.
Referenced by MediaWiki\Preferences\MultiUsernameFilter\filterForForm().
|
private |
Definition at line 29 of file MultiUsernameFilter.php.
Referenced by MediaWiki\Preferences\MultiUsernameFilter\__construct(), and MediaWiki\Preferences\MultiUsernameFilter\getLookup().
|
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().