1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Agent
Граф наследования:Agent:
ClassConstant

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

static detect ($string=null)
static getName ($id)
Открытые статические члены унаследованные от ClassConstant
static getList ()
static getCodes ()
static getNamedList ()
static getNamedCodes ()
static getId ($code)
static getCode ($id)

Поля данных

const UNDEFINED = 0
const GMAIL = 1
const IPHONE = 2
const IPAD = 3
const ANDROID = 4
const OUTLOOK = 5
const THUNDERBIRD = 6
const YANDEX = 7

Защищенные статические члены

static getRules ()
Защищенные статические члены унаследованные от ClassConstant
static getConstants ()

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

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

Методы

◆ detect()

detect ( $string = null)
static

Detect agent by user agent string.

Аргументы
string | null$stringString.
Возвращает
integer|null

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

◆ getName()

getName ( $id)
static

Get caption.

Аргументы
integer$idID.
Возвращает
integer|null

Переопределяет метод предка ClassConstant.

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

◆ getRules()

getRules ( )
staticprotected

Get rules.

Возвращает
array

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

Поля

◆ ANDROID

const ANDROID = 4

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

◆ GMAIL

const GMAIL = 1

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

◆ IPAD

const IPAD = 3

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

◆ IPHONE

const IPHONE = 2

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

◆ OUTLOOK

const OUTLOOK = 5

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

◆ THUNDERBIRD

const THUNDERBIRD = 6

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

◆ UNDEFINED

const UNDEFINED = 0

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

◆ YANDEX

const YANDEX = 7

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/sender/lib/recipient/agent.php