Table Of Contents

Previous topic

< Interface Phalcon\Translate\AdapterInterface

Next topic

License >

Interface Phalcon\Validation\ValidatorInterface

Phalcon\Validation\ValidatorInterface initializer


abstract public mixed isSetOption (string $key)

Checks if an option is defined

abstract public mixed getOption (string $key)

Returns an option in the validator’s options Returns null if the option hasn’t been set

abstract public setOption (string $key, mixed $value)

Sets the validator’s option

abstract public Phalcon\Validation\Message\Group validate (Phalcon\Validator $validator, string $attribute)

Executes the validation