多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# Class Phalcon\\Validation\\Message # Class **Phalcon\\Validation\\Message** *implements*[*Phalcon\\Validation\\MessageInterface*](#) Encapsulates validation info generated in the validation process ### Methods public **\_\_construct** (*string* $message, \[*string* $field\], \[*string* $type\]) Phalcon\\Validation\\Message constructor public **setType** (*unknown* $type) Sets message type public **getType** () Returns message type public **setMessage** (*unknown* $message) Sets verbose message public **getMessage** () Returns verbose message public **setField** (*unknown* $field) Sets field name related to message public *string***getField** () Returns field name related to message public **\_\_toString** () Magic \_\_toString method returns verbose message public static **\_\_set\_state** (*unknown* $message) Magic \_\_set\_state helps to recover messsages from serialization | - [索引](# "总目录") - [下一页](# "Class Phalcon\Validation\Message\Group") | - [上一页](# "Class Phalcon\Validation\Exception") | - [API Indice](#) »