🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# Class **Phalcon\Mvc\Model\Behavior\Timestampable**[](# "永久链接至标题") *extends* abstract class [*Phalcon\Mvc\Model\Behavior*](#) *implements*[*Phalcon\Mvc\Model\BehaviorInterface*](#) Allows to automatically update a model’s attribute saving the datetime when a record is created or updated ### Methods[](# "永久链接至标题") public **notify** (*unknown* $type, *unknown* $model) Listens for notifications from the models manager public **__construct** ([*array* $options]) inherited from Phalcon\Mvc\Model\Behavior Phalcon\Mvc\Model\Behavior protected **mustTakeAction** (*unknown* $eventName) inherited from Phalcon\Mvc\Model\Behavior Checks whether the behavior must take action on certain event protected *array***getOptions** ([*string* $eventName]) inherited from Phalcon\Mvc\Model\Behavior Returns the behavior options related to an event public **missingMethod** ([*Phalcon\Mvc\ModelInterface*](#) $model, *string* $method, [*array* $arguments]) inherited from Phalcon\Mvc\Model\Behavior Acts as fallbacks when a missing method is called on the model | - [索引](# "总目录") - [下一页](# "Class Phalcon\Mvc\Model\Criteria") | - [上一页](# "Class Phalcon\Mvc\Model\Behavior\SoftDelete") | - [API Indice](#) »