BX.translit
void|string BX.translit( String str, Object params );
The function performs transliteration of a string.
Function parameters
Parameter | Description |
---|---|
str | |
params | Possible keys for 'params' object:
Additionaly, callback parameter can be specified, to which the result of the processing will be passed. If the 'use_google' parameter is specified as true, callback parameter is required. |
Returned value
The function returns a transliterated string (or returns nothing, if the transliteration was deferred by the use_google parameter.)
© «Bitrix24», 2001-2024