Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс DateType

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

static getList ()
 
static getPostfix ()
 
static getLogicFilter (array $data, array $filterFields)
 

Открытые атрибуты

const NONE = "NONE"
 
const YESTERDAY = "YESTERDAY"
 
const CURRENT_DAY = "CURRENT_DAY"
 
const TOMORROW = "TOMORROW"
 
const CURRENT_WEEK = "CURRENT_WEEK"
 
const CURRENT_MONTH = "CURRENT_MONTH"
 
const CURRENT_QUARTER = "CURRENT_QUARTER"
 
const LAST_7_DAYS = "LAST_7_DAYS"
 
const LAST_30_DAYS = "LAST_30_DAYS"
 
const LAST_60_DAYS = "LAST_60_DAYS"
 
const LAST_90_DAYS = "LAST_90_DAYS"
 
const PREV_DAYS = "PREV_DAYS"
 
const NEXT_DAYS = "NEXT_DAYS"
 
const MONTH = "MONTH"
 
const QUARTER = "QUARTER"
 
const YEAR = "YEAR"
 
const EXACT = "EXACT"
 
const LAST_WEEK = "LAST_WEEK"
 
const LAST_MONTH = "LAST_MONTH"
 
const RANGE = "RANGE"
 
const NEXT_WEEK = "NEXT_WEEK"
 
const NEXT_MONTH = "NEXT_MONTH"
 

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

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

Методы

◆ getList()

static getList ( )
static

Gets subtypes list of date field

Возвращает
array

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

◆ getLogicFilter()

static getLogicFilter ( array $data,
array $filterFields )
static

Search in plain array data that can belongs to this type.

Аргументы
array$data
array$filterFields
Возвращает
array

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

◆ getPostfix()

static getPostfix ( )
static

Returns postfix for request.

Возвращает
string

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

Данные класса

◆ CURRENT_DAY

const CURRENT_DAY = "CURRENT_DAY"

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

◆ CURRENT_MONTH

const CURRENT_MONTH = "CURRENT_MONTH"

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

◆ CURRENT_QUARTER

const CURRENT_QUARTER = "CURRENT_QUARTER"

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

◆ CURRENT_WEEK

const CURRENT_WEEK = "CURRENT_WEEK"

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

◆ EXACT

const EXACT = "EXACT"

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

◆ LAST_30_DAYS

const LAST_30_DAYS = "LAST_30_DAYS"

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

◆ LAST_60_DAYS

const LAST_60_DAYS = "LAST_60_DAYS"

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

◆ LAST_7_DAYS

const LAST_7_DAYS = "LAST_7_DAYS"

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

◆ LAST_90_DAYS

const LAST_90_DAYS = "LAST_90_DAYS"

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

◆ LAST_MONTH

const LAST_MONTH = "LAST_MONTH"

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

◆ LAST_WEEK

const LAST_WEEK = "LAST_WEEK"

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

◆ MONTH

const MONTH = "MONTH"

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

◆ NEXT_DAYS

const NEXT_DAYS = "NEXT_DAYS"

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

◆ NEXT_MONTH

const NEXT_MONTH = "NEXT_MONTH"

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

◆ NEXT_WEEK

const NEXT_WEEK = "NEXT_WEEK"

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

◆ NONE

const NONE = "NONE"

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

◆ PREV_DAYS

const PREV_DAYS = "PREV_DAYS"

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

◆ QUARTER

const QUARTER = "QUARTER"

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

◆ RANGE

const RANGE = "RANGE"

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

◆ TOMORROW

const TOMORROW = "TOMORROW"

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

◆ YEAR

const YEAR = "YEAR"

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

◆ YESTERDAY

const YESTERDAY = "YESTERDAY"

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