Isolate access to the LinkBatch class which allows to bulk load a list of titles into the LinkCache.
GNU GPL v2+
- Since
- 3.1
- Author
- mwjames
◆ __construct()
SMW\MediaWiki\LinkBatch::__construct |
( |
\LinkBatch |
$linkBatch = null | ) |
|
◆ add()
SMW\MediaWiki\LinkBatch::add |
( |
|
$dataItem | ) |
|
◆ addFromList()
SMW\MediaWiki\LinkBatch::addFromList |
( |
array |
$dataItems | ) |
|
◆ execute()
SMW\MediaWiki\LinkBatch::execute |
( |
| ) |
|
◆ has()
SMW\MediaWiki\LinkBatch::has |
( |
|
$dataItem | ) |
|
- Since
- 3.1
- Parameters
-
DataItem | null | false | $dataItem | |
- Returns
- boolean
◆ reset()
static SMW\MediaWiki\LinkBatch::reset |
( |
| ) |
|
|
static |
◆ setCaller()
SMW\MediaWiki\LinkBatch::setCaller |
( |
|
$caller | ) |
|
◆ singleton()
static SMW\MediaWiki\LinkBatch::singleton |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file: