W3cubDocs

/Phalcon 3

Interface Phalcon\Mvc\CollectionInterface

Source on GitHub

Methods

abstract public setId (mixed $id)

...

abstract public getId ()

...

abstract public getReservedAttributes ()

...

abstract public getSource ()

...

abstract public setConnectionService (mixed $connectionService)

...

abstract public getConnection ()

...

abstract public setDirtyState (mixed $dirtyState)

...

abstract public getDirtyState ()

...

abstract public static cloneResult (Phalcon\Mvc\CollectionInterface $collection, array $document)

...

abstract public fireEvent (mixed $eventName)

...

abstract public fireEventCancel (mixed $eventName)

...

abstract public validationHasFailed ()

...

abstract public getMessages ()

...

abstract public appendMessage (Phalcon\Mvc\Model\MessageInterface $message)

...

abstract public save ()

...

abstract public static findById (mixed $id)

...

abstract public static findFirst ([array $parameters])

...

abstract public static find ([array $parameters])

...

abstract public static count ([array $parameters])

...

abstract public delete ()

...

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