Mvc\Collection::update

public update () Creates/Updates a collection based on the values in the attributes

Mvc\CollectionInterface::cloneResult

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

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 static cloneResult (Phalcon\Mvc\CollectionInterface $collection, array $document) ... abstract public fireEvent (mixed $eventName) ... abstract public fireEventCancel (mixed $eventName) ... abstract public va

Mvc\Collection::validationHasFailed

public validationHasFailed () Check whether validation process has generated any messages use Phalcon\Mvc\Model\Validator\ExclusionIn as ExclusionIn; class Subscriptors extends \Phalcon\Mvc\Collection { public function validation() { this->validate(new ExclusionIn(array( 'field' => 'status', 'domain' => array('A', 'I') ))); if (this->validationHasFailed() == true) { return false; } } }

Mvc\Collection::skipOperation

public skipOperation (mixed $skip) Skips the current operation forcing a success state

Mvc\Collection::unserialize

public unserialize (mixed $data) Unserializes the object from a serialized string

Mvc\Collection::summatory

public static summatory (mixed $field, [mixed $conditions], [mixed $finalize]) Allows to perform a summatory group for a column in the collection

Mvc\Collection::setId

public setId (mixed $id) Sets a value for the _id property, creates a MongoId object if needed

Mvc\Collection::toArray

public toArray () Returns the instance as an array representation print_r($robot->toArray());

Mvc\Collection::setConnectionService

public setConnectionService (mixed $connectionService) Sets the DependencyInjection connection service name