MediaWiki REL1_35
|
Factory to create LinkRender objects. More...
Public Member Functions | |
__construct (TitleFormatter $titleFormatter, LinkCache $linkCache, NamespaceInfo $nsInfo, SpecialPageFactory $specialPageFactory, HookContainer $hookContainer) | |
create () | |
createForUser (User $user) | |
createFromLegacyOptions (array $options) | |
Private Attributes | |
HookContainer | $hookContainer |
LinkCache | $linkCache |
NamespaceInfo | $nsInfo |
SpecialPageFactory | $specialPageFactory |
TitleFormatter | $titleFormatter |
Factory to create LinkRender objects.
Definition at line 34 of file LinkRendererFactory.php.
MediaWiki\Linker\LinkRendererFactory::__construct | ( | TitleFormatter | $titleFormatter, |
LinkCache | $linkCache, | ||
NamespaceInfo | $nsInfo, | ||
SpecialPageFactory | $specialPageFactory, | ||
HookContainer | $hookContainer | ||
) |
Definition at line 69 of file LinkRendererFactory.php.
References MediaWiki\Linker\LinkRendererFactory\$hookContainer, MediaWiki\Linker\LinkRendererFactory\$linkCache, MediaWiki\Linker\LinkRendererFactory\$nsInfo, MediaWiki\Linker\LinkRendererFactory\$specialPageFactory, and MediaWiki\Linker\LinkRendererFactory\$titleFormatter.
MediaWiki\Linker\LinkRendererFactory::create | ( | ) |
Definition at line 86 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 97 of file LinkRendererFactory.php.
References MediaWiki\Linker\LinkRendererFactory\create(), and User\getStubThreshold().
MediaWiki\Linker\LinkRendererFactory::createFromLegacyOptions | ( | array | $options | ) |
array | $options |
Definition at line 108 of file LinkRendererFactory.php.
References MediaWiki\Linker\LinkRendererFactory\create(), PROTO_HTTP, and PROTO_HTTPS.
|
private |
Definition at line 54 of file LinkRendererFactory.php.
Referenced by MediaWiki\Linker\LinkRendererFactory\__construct().
|
private |
Definition at line 44 of file LinkRendererFactory.php.
Referenced by MediaWiki\Linker\LinkRendererFactory\__construct().
|
private |
Definition at line 49 of file LinkRendererFactory.php.
Referenced by MediaWiki\Linker\LinkRendererFactory\__construct().
|
private |
Definition at line 59 of file LinkRendererFactory.php.
Referenced by MediaWiki\Linker\LinkRendererFactory\__construct().
|
private |
Definition at line 39 of file LinkRendererFactory.php.
Referenced by MediaWiki\Linker\LinkRendererFactory\__construct().