|
| __construct (array $templates) |
|
| render ( $key,... $params) |
| Shorthand function to retrieve a template filled with the specified parameters. More...
|
|
- Copyright
- GPL-2.0-or-later
- Author
- Amir Sarabadani ladsg.nosp@m.roup.nosp@m.@gmai.nosp@m.l.co.nosp@m.m
-
Thiemo Kreuz
◆ __construct()
Wikibase\Lexeme\Presentation\View\Template\LexemeTemplateFactory::__construct |
( |
array |
$templates | ) |
|
◆ factory()
static Wikibase\Lexeme\Presentation\View\Template\LexemeTemplateFactory::factory |
( |
| ) |
|
|
static |
◆ render()
Wikibase\Lexeme\Presentation\View\Template\LexemeTemplateFactory::render |
( |
|
$key, |
|
|
|
$params |
|
) |
| |
Shorthand function to retrieve a template filled with the specified parameters.
important! note that the Template class does not escape anything. be sure to escape your params before using this function!
- Parameters
-
string | $key | template key |
| array | ...$params normal template parameters |
- Returns
- string
◆ $templateRegistry
Wikibase\Lexeme\Presentation\View\Template\LexemeTemplateFactory::$templateRegistry |
|
private |
The documentation for this class was generated from the following file: