MediaWiki master
|
A serial provider which allocates IDs from the local database, or from a shared database if $wgSharedDB is used. More...
Inherits MediaWiki\User\TempUser\DBSerialProvider.
Public Member Functions | |
__construct ( $config, ILoadBalancer $lb) | |
Public Member Functions inherited from MediaWiki\User\TempUser\DBSerialProvider | |
__construct ( $config) | |
acquireIndex (int $year=0) | |
Acquire an integer such that it is unlikely to be used again, and return it. | |
Protected Member Functions | |
getDB () | |
getTableName () | |
A serial provider which allocates IDs from the local database, or from a shared database if $wgSharedDB is used.
It is "local" in the sense that it uses the same DB connection as the local wiki.
Definition at line 14 of file LocalSerialProvider.php.
MediaWiki\User\TempUser\LocalSerialProvider::__construct | ( | $config, | |
ILoadBalancer | $lb ) |
array | $config |
|
ILoadBalancer | $lb |
Definition at line 24 of file LocalSerialProvider.php.
|
protected |
Reimplemented from MediaWiki\User\TempUser\DBSerialProvider.
Definition at line 29 of file LocalSerialProvider.php.
References DB_PRIMARY.
|
protected |
Reimplemented from MediaWiki\User\TempUser\DBSerialProvider.
Definition at line 42 of file LocalSerialProvider.php.