MediaWiki REL1_40
|
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 () | |
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 25 of file LocalSerialProvider.php.
|
protected |
Reimplemented from MediaWiki\User\TempUser\DBSerialProvider.
Definition at line 30 of file LocalSerialProvider.php.
References DB_PRIMARY.
|
protected |
Reimplemented from MediaWiki\User\TempUser\DBSerialProvider.
Definition at line 43 of file LocalSerialProvider.php.