Bitrix API

Length implements CheckInterface, ErrorMessageInterface

Attributes
#[Attribute]

Table of Contents

Interfaces

CheckInterface
ErrorMessageInterface

Properties

$max  : int
$min  : int

Methods

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

Properties

Methods

__construct()

public __construct(int $min, int $max) : mixed
Parameters
$min : int
$max : int

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