public boolean offsetExists (int $index) Checks whether an offset exists in the 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
public notify (mixed $type, Phalcon\Mvc\CollectionInterface $model) Listens for notifications from the models manager
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
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
abstract public notify (mixed $type, Phalcon\Mvc\CollectionInterface $collection) ...
abstract public missingMethod (Phalcon\Mvc\CollectionInterface $collection, mixed $method, [mixed $arguments]) ...
Source on GitHub Methods abstract public notify (mixed $type, Phalcon\Mvc\CollectionInterface $collection) ... abstract public missingMethod (Phalcon\Mvc\CollectionInterface $collection, mixed $method, [mixed $arguments]) ...
public notify (mixed $type, Phalcon\Mvc\CollectionInterface $model) This method receives the notifications from the EventsManager
Page 189 of 382