implements Phalcon\Mvc\Model\CriteriaInterface, Phalcon\Di\InjectionAwareInterface Source on GitHub This class is used to build the array parameter required by Phalcon\Mvc\Model::find() and Phalcon\Mvc\Model::findFirst() using an object-oriented interface. $robots = Robots::query() ->where('type = :type:') ->andWhere('year < 2000') ->bind(['type' => 'mechanical']) ->limit(5, 10) ->orderBy('name') ->execute(); Methods public setDI (Phalcon\D
public notify (mixed $type, Phalcon\Mvc\ModelInterface $model) Listens for notifications from the models manager
extends abstract class Phalcon\Mvc\Model\Behavior implements Phalcon\Mvc\Model\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\ModelInterface $model) Listens for notifications from the models manager public __construct ([array $options]) inherited from Phalcon\Mvc\Model\Behavior Phalcon\Mvc\Model\Behavior protected mustTakeAction (mixed $eventName) inher
extends abstract class Phalcon\Mvc\Model\Behavior implements Phalcon\Mvc\Model\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\ModelInterface $model) Listens for notifications from the models manager public __construct ([array $options]) inherited from Phalcon\Mvc\Model\Behavior Phalcon\Mvc\Model\Behavior protected mustTakeAction (mixed $eventName) inheri
abstract public notify (mixed $type, Phalcon\Mvc\ModelInterface $model) ...
abstract public missingMethod (Phalcon\Mvc\ModelInterface $model, mixed $method, [mixed $arguments]) ...
Source on GitHub Methods abstract public notify (mixed $type, Phalcon\Mvc\ModelInterface $model) ... abstract public missingMethod (Phalcon\Mvc\ModelInterface $model, mixed $method, [mixed $arguments]) ...
public notify (mixed $type, Phalcon\Mvc\ModelInterface $model) This method receives the notifications from the EventsManager
public missingMethod (Phalcon\Mvc\ModelInterface $model, string $method, [array $arguments]) Acts as fallbacks when a missing method is called on the model
Page 163 of 382