Korin API

Grammars
in package

FinalYes

The validator's grammars for the values of the model: a value object accepts exactly what the validator finds valid, without warnings.

Table of Contents

Methods

isAge()  : bool
isDate()  : bool
A DateValue (7.0) or DATE_VALUE (5.x).
isLatitude()  : bool
isLongitude()  : bool

Methods

isAge()

public static isAge(Version $version, string $value) : bool
Parameters
$version : Version
$value : string
Return values
bool

isDate()

A DateValue (7.0) or DATE_VALUE (5.x).

public static isDate(Version $version, string $value) : bool
Parameters
$version : Version
$value : string
Return values
bool

isLatitude()

public static isLatitude(Version $version, string $value) : bool
Parameters
$version : Version
$value : string
Return values
bool

isLongitude()

public static isLongitude(Version $version, string $value) : bool
Parameters
$version : Version
$value : string
Return values
bool
On this page

Search results