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 ()