public array toArray () Returns the instance as an array representation
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) ...
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
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
public notify (mixed $type, Phalcon\Mvc\CollectionInterface $model) This method receives the notifications from the EventsManager
Source on GitHub This is an optional base class for ORM behaviors Methods public __construct ([array $options]) protected mustTakeAction (mixed $eventName) Checks whether the behavior must take action on certain event protected array getOptions ([string $eventName]) Returns the behavior options related to an event public notify (mixed $type, Phalcon\Mvc\CollectionInterface $model) This method receives the notifications from the EventsManager public missingMethod (Phalcon\Mvc\CollectionInterface
Source on GitHub Methods abstract public notify (mixed $type, Phalcon\Mvc\CollectionInterface $collection) ... abstract public missingMethod (Phalcon\Mvc\CollectionInterface $collection, mixed $method, [mixed $arguments]) ...
Page 189 of 382