Bitrix API

Filter implements Validator

FinalYes

Table of Contents

Interfaces

Validator

Methods

__construct()  : mixed
isCorrectFilterFieldName()  : bool
validate()  : Result

Methods

__construct()

public __construct(array<string|int, mixed> $allowedFields) : mixed
Parameters
$allowedFields : array<string|int, mixed>

isCorrectFilterFieldName()

public static isCorrectFilterFieldName(string $filterFieldName, string $fieldName) : bool
Parameters
$filterFieldName : string
$fieldName : string
Return values
bool

validate()

public validate(mixed $value) : Result
Parameters
$value : mixed
Return values
Result

        
On this page

Search results