MediaWiki
1.30.0
|
Factory to create LinkRender objects. More...
Public Member Functions | |
__construct (TitleFormatter $titleFormatter, LinkCache $linkCache) | |
create () | |
createForUser (User $user) | |
createFromLegacyOptions (array $options) | |
Private Attributes | |
LinkCache | $linkCache |
TitleFormatter | $titleFormatter |
Factory to create LinkRender objects.
Definition at line 32 of file LinkRendererFactory.php.
MediaWiki\Linker\LinkRendererFactory::__construct | ( | TitleFormatter | $titleFormatter, |
LinkCache | $linkCache | ||
) |
TitleFormatter | $titleFormatter | |
LinkCache | $linkCache |
Definition at line 48 of file LinkRendererFactory.php.
References MediaWiki\Linker\LinkRendererFactory\$linkCache, and MediaWiki\Linker\LinkRendererFactory\$titleFormatter.
MediaWiki\Linker\LinkRendererFactory::create | ( | ) |
Definition at line 56 of file LinkRendererFactory.php.
Referenced by MediaWiki\Linker\LinkRendererFactory\createForUser(), and MediaWiki\Linker\LinkRendererFactory\createFromLegacyOptions().
MediaWiki\Linker\LinkRendererFactory::createForUser | ( | User | $user | ) |
User | $user |
Definition at line 64 of file LinkRendererFactory.php.
References $linkRenderer, MediaWiki\Linker\LinkRendererFactory\create(), and User\getStubThreshold().
MediaWiki\Linker\LinkRendererFactory::createFromLegacyOptions | ( | array | $options | ) |
array | $options |
Definition at line 75 of file LinkRendererFactory.php.
References $linkRenderer, $options, MediaWiki\Linker\LinkRendererFactory\create(), PROTO_HTTP, and PROTO_HTTPS.
|
private |
Definition at line 42 of file LinkRendererFactory.php.
Referenced by MediaWiki\Linker\LinkRendererFactory\__construct().
|
private |
Definition at line 37 of file LinkRendererFactory.php.
Referenced by MediaWiki\Linker\LinkRendererFactory\__construct().