W3cubDocs

/Phalcon 2

Interface Phalcon\Mvc\Model\MessageInterface

Phalcon\Mvc\Model\MessageInterface initializer

Methods

abstract public setType (string $type)

Sets message type

abstract public string getType ()

Returns message type

abstract public setMessage (string $message)

Sets verbose message

abstract public string getMessage ()

Returns verbose message

abstract public setField (string $field)

Sets field name related to message

abstract public string getField ()

Returns field name related to message

© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/2.0.0/api/Phalcon_Mvc_Model_MessageInterface.html