MediaWiki master
|
Public Member Functions | |
canUseCachedValues ( $recency) | |
Determine if it's OK to use cached options values for a given user and query flags. | |
Public Attributes | |
array< string, string > | $globalUpdateActions = [] |
The value of the $global parameter to setOption() | |
array< string, mixed > | $modifiedValues = [] |
Values modified by setOption(), queued for update. | |
array< string, string > null | $originalValues |
Cached original user options with all the adjustments like time correction and hook changes applied. | |
int null | $recency |
Query flags used to retrieve options from database. | |
array< string, string > | $sources = [] |
The source name for each value in $originalValues. | |
Definition at line 10 of file UserOptionsCacheEntry.php.
MediaWiki\User\Options\UserOptionsCacheEntry::canUseCachedValues | ( | $recency | ) |
Determine if it's OK to use cached options values for a given user and query flags.
int | $recency |
Definition at line 42 of file UserOptionsCacheEntry.php.
References MediaWiki\User\Options\UserOptionsCacheEntry\$recency.
array<string,string> MediaWiki\User\Options\UserOptionsCacheEntry::$globalUpdateActions = [] |
The value of the $global parameter to setOption()
Definition at line 24 of file UserOptionsCacheEntry.php.
array<string,mixed> MediaWiki\User\Options\UserOptionsCacheEntry::$modifiedValues = [] |
Values modified by setOption(), queued for update.
Definition at line 14 of file UserOptionsCacheEntry.php.
array<string,string> null MediaWiki\User\Options\UserOptionsCacheEntry::$originalValues |
Cached original user options with all the adjustments like time correction and hook changes applied.
Ready to be returned. Null if the original values have not been loaded
Definition at line 31 of file UserOptionsCacheEntry.php.
int null MediaWiki\User\Options\UserOptionsCacheEntry::$recency |
Query flags used to retrieve options from database.
Definition at line 34 of file UserOptionsCacheEntry.php.
Referenced by MediaWiki\User\Options\UserOptionsCacheEntry\canUseCachedValues().
array<string,string> MediaWiki\User\Options\UserOptionsCacheEntry::$sources = [] |
The source name for each value in $originalValues.
Definition at line 19 of file UserOptionsCacheEntry.php.