W3cubDocs

/Phalcon 2

Interface Phalcon\Mvc\Model\Query\StatusInterface

Phalcon\Mvc\Model\Query\StatusInterface initializer

Methods

abstract public Phalcon\Mvc\ModelInterface getModel ()

Returns the model which executed the action

abstract public Phalcon\Mvc\Model\MessageInterface [] getMessages ()

Returns the messages produced by a operation failed

abstract public boolean success ()

Allows to check if the executed operation was successful

© 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_Query_StatusInterface.html