Phalcon\Mvc\CollectionInterface initializer
Sets a value for the _id propery, creates a MongoId object if needed
Returns the value of the _id property
Returns an array with reserved properties that cannot be part of the insert/update
Returns collection name mapped in the model
Sets a service in the services container that returns the Mongo database
Retrieves a database connection
Reads an attribute value by its name
Writes an attribute value by its name
Returns a cloned collection
Fires an event, implicitly calls behaviors and listeners in the events manager are notified
Fires an event, implicitly listeners in the events manager are notified This method stops if one of the callbacks/listeners returns boolean false
Check whether validation process has generated any messages
Returns all the validation messages
Appends a customized message on the validation process
Creates/Updates a collection based on the values in the atributes
Find a document by its id
Allows to query the first record that match the specified conditions
Allows to query a set of records that match the specified conditions
Perform a count over a collection
Deletes a model instance. Returning true on success or false otherwise
© 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_CollectionInterface.html