MediaWiki REL1_32
|
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 31 of file LinkRendererFactory.php.
MediaWiki\Linker\LinkRendererFactory::__construct | ( | TitleFormatter | $titleFormatter, |
LinkCache | $linkCache ) |
TitleFormatter | $titleFormatter | |
LinkCache | $linkCache |
Definition at line 47 of file LinkRendererFactory.php.
References MediaWiki\Linker\LinkRendererFactory\$linkCache, and MediaWiki\Linker\LinkRendererFactory\$titleFormatter.
MediaWiki\Linker\LinkRendererFactory::create | ( | ) |
Definition at line 55 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 63 of file LinkRendererFactory.php.
References $linkRenderer, MediaWiki\Linker\LinkRendererFactory\create(), and User\getStubThreshold().
MediaWiki\Linker\LinkRendererFactory::createFromLegacyOptions | ( | array | $options | ) |
array | $options |
Definition at line 74 of file LinkRendererFactory.php.
References $linkRenderer, $options, MediaWiki\Linker\LinkRendererFactory\create(), PROTO_HTTP, and PROTO_HTTPS.
|
private |
Definition at line 41 of file LinkRendererFactory.php.
Referenced by MediaWiki\Linker\LinkRendererFactory\__construct().
|
private |
Definition at line 36 of file LinkRendererFactory.php.
Referenced by MediaWiki\Linker\LinkRendererFactory\__construct().