Метод escapeSprintfLiteralPercent
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
2727–2730
~/bitrix/modulestasks/lib/provider/query/taskfilterbuilder.php
Исходный код
Сигнатура метода
private function escapeSprintfLiteralPercent(string $value): string
Возвращает:
string
Описание
Escapes only literal % for a further sprintf() pass, leaving positional tokens (%1$s, %2$s, ...) intact. Used when already-built SQL is re-embedded into a whereExpr(): its literal % (LIKE wildcards) must be doubled, but any surviving positional placeholder is a live correlation the outer whereExpr still needs to fill.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$value
|
string
|
-
|
-
|