Bitrix API

InArray implements CheckInterface, ErrorMessageInterface

Attributes
#[Attribute]

Table of Contents

Interfaces

CheckInterface
ErrorMessageInterface

Properties

$validValues  : array<string|int, mixed>

Methods

__construct()  : mixed
check()  : bool
getError()  : string

Properties

$validValues

public array<string|int, mixed> $validValues

Methods

__construct()

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

check()

public check(mixed $value) : bool
Parameters
$value : mixed
Return values
bool

getError()

public getError(string $field) : string
Parameters
$field : string
Return values
string

        
On this page

Search results