__construct() __construct(array<mixed,mixed> $r) : boolean Set rules Sets rules for FieldChecker object Parameters array<mixed,mixed> $r Rules to check min - (int) MIN str length max - (int) MAX str length regex - (str) RegExp to check symbols - (str) Allowed symbols (/^([{SYMBOLS}]+)?$/) numeric - (bool) Is numeric range - Allowed range for numeric values isint - Check if the value is strictly Integer Returns boolean
set() set(mixed $q) : boolean Check Applies and saves a value to the object with checking Parameters mixed $q The value Throws \apiException [107] Check failed Returns boolean
strCheck() strCheck(integer|string $q) : boolean Check string Checks the string Parameters integer|string $q Data to check Returns boolean