Mvc\Model\Behavior\Timestampable

Class Phalcon\Mvc\Model\Behavior\Timestampable

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 $mode