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

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

static prepareStringToken ($token)
static prepareIntegerToken ($token)
static isIntegerToken ($token)
static canUseFulltextSearch ($token, $type=self::TYPE_STRING)

Поля данных

const TYPE_STRING = 1
const TYPE_INTEGER = 2
const TYPE_MIXED = 3

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

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

Методы

◆ canUseFulltextSearch()

canUseFulltextSearch ( $token,
$type = self::TYPE_STRING )
static

Method check whether you can use the full-text search.

Аргументы
integer | string$tokenSearch token.
integer$typeType of content.
Возвращает
bool

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

◆ isIntegerToken()

isIntegerToken ( $token)
static

Method checks whether token is a number.

Аргументы
integer$tokenSearch token.
Возвращает
bool

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

◆ prepareIntegerToken()

prepareIntegerToken ( $token)
static

Method adds zeros to integer search token, in order to bypass current mysql minimum of token size.

Аргументы
integer$tokenSearch token.
Возвращает
string

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

◆ prepareStringToken()

prepareStringToken ( $token)
static

Applies ROT13 transform to string search token, in order to bypass default mysql search blacklist.

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

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

Поля

◆ TYPE_INTEGER

const TYPE_INTEGER = 2

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

◆ TYPE_MIXED

const TYPE_MIXED = 3

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

◆ TYPE_STRING

const TYPE_STRING = 1

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


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