Mvc\Collection\Document::offsetExists

public boolean offsetExists (int $index) Checks whether an offset exists in the document

Mvc\Collection\Document

implements Phalcon\Mvc\EntityInterface, ArrayAccess Source on GitHub This component allows Phalcon\Mvc\Collection to return rows without an associated entity. This objects implements the ArrayAccess interface to allow access the object as object->x or array[x]. Methods public boolean offsetExists (int $index) Checks whether an offset exists in the document public offsetGet (mixed $index) Returns the value of a field using the ArrayAccess interfase public offsetSet (mixed $index, mixed $value

Mvc\Collection\Behavior\Timestampable::notify

public notify (mixed $type, Phalcon\Mvc\CollectionInterface $model) Listens for notifications from the models manager

Mvc\Collection\Behavior\Timestampable

extends abstract class Phalcon\Mvc\Collection\Behavior implements Phalcon\Mvc\Collection\BehaviorInterface Source on GitHub Allows to automatically update a model’s attribute saving the datetime when a record is created or updated Methods public notify (mixed $type, Phalcon\Mvc\CollectionInterface $model) Listens for notifications from the models manager public __construct ([array $options]) inherited from Phalcon\Mvc\Collection\Behavior Phalcon\Mvc\Collection\Behavior protected mustTakeAction

Mvc\Collection\Behavior\SoftDelete::notify

public notify (mixed $type, Phalcon\Mvc\CollectionInterface $model) Listens for notifications from the models manager

Mvc\Collection\Behavior\SoftDelete

extends abstract class Phalcon\Mvc\Collection\Behavior implements Phalcon\Mvc\Collection\BehaviorInterface Source on GitHub Instead of permanently delete a record it marks the record as deleted changing the value of a flag column Methods public notify (mixed $type, Phalcon\Mvc\CollectionInterface $model) Listens for notifications from the models manager public __construct ([array $options]) inherited from Phalcon\Mvc\Collection\Behavior Phalcon\Mvc\Collection\Behavior protected mustTakeAction

Mvc\Collection\BehaviorInterface::notify

abstract public notify (mixed $type, Phalcon\Mvc\CollectionInterface $collection) ...

Mvc\Collection\BehaviorInterface::missingMethod

abstract public missingMethod (Phalcon\Mvc\CollectionInterface $collection, mixed $method, [mixed $arguments]) ...

Mvc\Collection\BehaviorInterface

Source on GitHub Methods abstract public notify (mixed $type, Phalcon\Mvc\CollectionInterface $collection) ... abstract public missingMethod (Phalcon\Mvc\CollectionInterface $collection, mixed $method, [mixed $arguments]) ...

Mvc\Collection\Behavior::notify

public notify (mixed $type, Phalcon\Mvc\CollectionInterface $model) This method receives the notifications from the EventsManager