Bitrix API

ListFilter

Table of Contents

Constants

TYPE_BOOLEAN  = 'checkbox'
TYPE_CRM_ENTITY  = 'crm_entity'
TYPE_DATE  = 'date'
TYPE_ENTITY_SELECTOR  = 'entity_selector'
TYPE_LIST  = 'list'
TYPE_NUMBER  = 'number'
TYPE_PARENT  = 'parent'
TYPE_STRING  = 'string'
TYPE_TEXT  = 'text'
TYPE_USER  = 'entity_selector'

Methods

__construct()  : mixed
prepareListFilter()  : void
Prepare ORM filter from data, received from the frontend filter

Constants

TYPE_BOOLEAN

public mixed TYPE_BOOLEAN = 'checkbox'

TYPE_CRM_ENTITY

public mixed TYPE_CRM_ENTITY = 'crm_entity'

TYPE_ENTITY_SELECTOR

public mixed TYPE_ENTITY_SELECTOR = 'entity_selector'

TYPE_USER

public mixed TYPE_USER = 'entity_selector'

Methods

__construct()

public __construct(int $entityTypeId, array<string|int, mixed> $fields[, string $fieldStageSemantic = 'STAGE_SEMANTIC_ID' ]) : mixed
Parameters
$entityTypeId : int
$fields : array<string|int, mixed>
$fieldStageSemantic : string = 'STAGE_SEMANTIC_ID'

prepareListFilter()

Prepare ORM filter from data, received from the frontend filter

public prepareListFilter(array<string|int, mixed> &$filter, array<string|int, mixed> $requestFilter) : void
Parameters
$filter : array<string|int, mixed>
$requestFilter : array<string|int, mixed>

        
On this page

Search results