🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# Abstract class **Phalcon\Mvc\Model\Validator**[](# "永久链接至标题") This is a base class for Phalcon\Mvc\Model validators ### Methods[](# "永久链接至标题") public **__construct** (*unknown* $options) Phalcon\Mvc\Model\Validator constructor protected **appendMessage** (*string* $message, [*string|array* $field], [*string* $type]) Appends a message to the validator public **getMessages** () Returns messages generated by the validator public *array***getOptions** () Returns all the options from the validator public **getOption** (*unknown* $option, [*unknown* $defaultValue]) Returns an option public **isSetOption** (*unknown* $option) Check whether a option has been defined in the validator options | - [索引](# "总目录") - [下一页](# "Class Phalcon\Mvc\Model\Validator\Email") | - [上一页](# "Class Phalcon\Mvc\Model\ValidationFailed") | - [API Indice](#) »