Bitrix API

BaseValidator

Table of Contents

Methods

isArray()  : void
isNotEmptyArray()  : void
maxLen()  : void
minLen()  : void
strRequire()  : void

Methods

isNotEmptyArray()

public isNotEmptyArray(mixed $value, string $fieldName) : void
Parameters
$value : mixed
$fieldName : string
Tags
throws
ValidateException

maxLen()

public maxLen(string $str, int $len, string $fieldName) : void
Parameters
$str : string
$len : int
$fieldName : string
Tags
throws
ValidateException

minLen()

public minLen(string $str, int $len, string $fieldName) : void
Parameters
$str : string
$len : int
$fieldName : string
Tags
throws
ValidateException

strRequire()

public strRequire(mixed $value, string $fieldName) : void
Parameters
$value : mixed
$fieldName : string
Tags
throws
ValidateException

        
On this page

Search results