Skip to content
PHP Ecosystem
Explore

Validator

API reference › HTML Helper › Validator

final classUIAwesome\Html\Helper\Validator
ExtendsUIAwesome\Html\Helper\Base\BaseValidator
Sourcesrc/Validator.php

Provides the concrete entry point for validation helpers.

MethodDescriptionDefined by
intLike() staticValidates whether a value is an integer or an integer-like string within a specified range.UIAwesome\Html\Helper\Base\BaseValidator
offsetLike() staticValidates whether a value represents an offset value.UIAwesome\Html\Helper\Base\BaseValidator
oneOf() staticValidates that a value is one of the allowed options for an HTML attribute or tag argument.UIAwesome\Html\Helper\Base\BaseValidator
positiveLike() staticValidates whether a value is a positive numeric value within a specified range.UIAwesome\Html\Helper\Base\BaseValidator