mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-09 21:48:41 +00:00
Add docblock
This commit is contained in:
parent
3bfc05d5f2
commit
33470017ab
|
|
@ -190,6 +190,18 @@ class L11nManager
|
||||||
return $this->language[$code][$module][$translation];
|
return $this->language[$code][$module][$translation];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get translation html escaped.
|
||||||
|
*
|
||||||
|
* @param string $code Country code
|
||||||
|
* @param string $module Module name
|
||||||
|
* @param string $theme Theme
|
||||||
|
* @param string $translation Text
|
||||||
|
*
|
||||||
|
* @return string In case the language element couldn't be found 'ERROR' will be returned
|
||||||
|
*
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
public function getHtml(string $code, string $module, string $theme, string $translation) : string
|
public function getHtml(string $code, string $module, string $theme, string $translation) : string
|
||||||
{
|
{
|
||||||
return htmlspecialchars($this->getText($code, $module, $theme, $translation));
|
return htmlspecialchars($this->getText($code, $module, $theme, $translation));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user