Phalcon\Mvc\Model\ManagerInterface initializer
Initializes a model in the model manager
Check of a model is already initialized
Get last initialized model
Loads a model throwing an exception if it doesn’t exist
Setup a 1-1 relation between two models
Setup a relation reverse 1-1 between two models
Setup a relation 1-n between two models
Checks whether a model has a belongsTo relation with another model
Checks whether a model has a hasMany relation with another model
Checks whether a model has a hasOne relation with another model
Gets belongsTo related records from a model
Gets hasMany related records from a model
Gets belongsTo related records from a model
Gets belongsTo relations defined on a model
Gets hasMany relations defined on a model
Gets hasOne relations defined on a model
Gets hasOne relations defined on a model
Query all the relationships defined on a model
Query the relations between two models
Creates a Phalcon\Mvc\Model\Query without execute it
Creates a Phalcon\Mvc\Model\Query and execute it
Creates a Phalcon\Mvc\Model\Query\Builder
Binds a behavior to a model
Receives events generated in the models and dispatches them to a events-manager if available Notify the behaviors that are listening in the model
Dispatch a event to the listeners and behaviors This method expects that the endpoint listeners/behaviors returns true meaning that a least one is implemented
Returns the last query created or executed in the
© 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_ManagerInterface.html