MediaWiki master
|
Public Member Functions | |
__construct (ServiceOptions $options, UserRegistrationLookup $userRegistrationLookup, UserIdentityUtils $userIdentityUtils, callable $userGroupManagerCallback) | |
getConditionallyDefaultOptions () | |
Get all conditionally default user options. | |
getOptionDefaultForUser (string $optionName, UserIdentity $userIdentity) | |
Get the conditional default for user and option. | |
hasConditionalDefault (string $option) | |
Does the option support conditional defaults? | |
Public Attributes | |
const | CONSTRUCTOR_OPTIONS |
Definition at line 14 of file ConditionalDefaultsLookup.php.
MediaWiki\User\Options\ConditionalDefaultsLookup::__construct | ( | ServiceOptions | $options, |
UserRegistrationLookup | $userRegistrationLookup, | ||
UserIdentityUtils | $userIdentityUtils, | ||
callable | $userGroupManagerCallback ) |
Definition at line 32 of file ConditionalDefaultsLookup.php.
References MediaWiki\Config\ServiceOptions\assertRequiredOptions().
MediaWiki\User\Options\ConditionalDefaultsLookup::getConditionallyDefaultOptions | ( | ) |
Get all conditionally default user options.
Definition at line 64 of file ConditionalDefaultsLookup.php.
MediaWiki\User\Options\ConditionalDefaultsLookup::getOptionDefaultForUser | ( | string | $optionName, |
UserIdentity | $userIdentity ) |
Get the conditional default for user and option.
string | $optionName | |
UserIdentity | $userIdentity |
Definition at line 78 of file ConditionalDefaultsLookup.php.
MediaWiki\User\Options\ConditionalDefaultsLookup::hasConditionalDefault | ( | string | $option | ) |
Does the option support conditional defaults?
string | $option |
Definition at line 52 of file ConditionalDefaultsLookup.php.
const MediaWiki\User\Options\ConditionalDefaultsLookup::CONSTRUCTOR_OPTIONS |
Definition at line 19 of file ConditionalDefaultsLookup.php.