Mvc\CollectionInterface

Interface Phalcon\Mvc\CollectionInterface

Phalcon\Mvc\CollectionInterface initializer

Methods

abstract public setId (mixed $id)

Sets a value for the _id propery, creates a MongoId object if needed

abstract public MongoId getId ()

Returns the value of the _id property

abstract public array getReservedAttributes ()

Returns an array with reserved properties that cannot be part of the insert/update

abstract public string getSource ()

Returns collection name mapped in the model

abstract public setConn