1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс StringHelper

Открытые статические члены

static strtoupper ($str)
static camel2snake ($str)
static snake2camel ($str, bool $lowCaseFirst=false)
static str_replace ($search, $replace, $str)
static isStringable ($value)

Подробное описание

См. определение в файле stringhelper.php строка 16

Методы

◆ camel2snake()

camel2snake ( $str)
static

Changes registry from CamelCase to snake_case

Аргументы
$str
Возвращает
string

См. определение в файле stringhelper.php строка 44

◆ isStringable()

isStringable ( $value)
static

Checks if $value is convertable in string

Аргументы
$value
Возвращает
bool

См. определение в файле stringhelper.php строка 100

◆ snake2camel()

snake2camel ( $str,
bool $lowCaseFirst = false )
static

Changes registry from snake_case or SNAKE_CASE to CamelCase

Аргументы
$str
bool$lowCaseFirst
Возвращает
mixed

См. определение в файле stringhelper.php строка 56

◆ str_replace()

str_replace ( $search,
$replace,
$str )
static

Compatible with php 8 for nested arrays. Only the first level of the array is processed.

Аргументы
mixed$search
mixed$replace
mixed$str
Возвращает
mixed

См. определение в файле stringhelper.php строка 74

◆ strtoupper()

strtoupper ( $str)
static

Regular uppercase with result cache

Аргументы
$str
Возвращает
mixed

См. определение в файле stringhelper.php строка 25


Объявления и описания членов класса находятся в файле: