NamingHelper
Class NamingHelper
Table of Contents
Methods
- getInstance() : NamingHelper
- getLangPhrase() : string|null
- getPluralName() : string|null
- getSingleName() : string|null
Methods
getInstance()
public
static getInstance() : NamingHelper
Return values
NamingHelpergetLangPhrase()
public
getLangPhrase(string $code, int|null $categoryId[, array<string|int, mixed>|null $replace = null ]) : string|null
Parameters
- $code : string
- $categoryId : int|null
- $replace : array<string|int, mixed>|null = null
Return values
string|nullgetPluralName()
public
getPluralName(int $categoryId) : string|null
Parameters
- $categoryId : int
Return values
string|nullgetSingleName()
public
getSingleName(int $categoryId) : string|null
Parameters
- $categoryId : int