Bitrix API

NamingHelper

Class NamingHelper

Table of Contents

Methods

getInstance()  : NamingHelper
getLangPhrase()  : string|null
getPluralName()  : string|null
getSingleName()  : string|null

Methods

getLangPhrase()

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|null

getPluralName()

public getPluralName(int $categoryId) : string|null
Parameters
$categoryId : int
Return values
string|null

getSingleName()

public getSingleName(int $categoryId) : string|null
Parameters
$categoryId : int
Return values
string|null

        
On this page

Search results