ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# Class Phalcon\\Mvc\\Collection\\Behavior\\SoftDelete # Class **Phalcon\\Mvc\\Collection\\Behavior\\SoftDelete** *extends* abstract class [*Phalcon\\Mvc\\Collection\\Behavior*](#) *implements*[*Phalcon\\Mvc\\Collection\\BehaviorInterface*](#) Instead of permanently delete a record it marks the record as deleted changing the value of a flag column ### Methods public **notify** (*unknown* $type, *unknown* $model) Listens for notifications from the models manager public **\_\_construct** (\[*array* $options\]) inherited from Phalcon\\Mvc\\Collection\\Behavior Phalcon\\Mvc\\Collection\\Behavior protected **mustTakeAction** (*unknown* $eventName) inherited from Phalcon\\Mvc\\Collection\\Behavior Checks whether the behavior must take action on certain event protected *array***getOptions** (\[*string* $eventName\]) inherited from Phalcon\\Mvc\\Collection\\Behavior Returns the behavior options related to an event public **missingMethod** (*unknown* $model, *unknown* $method, \[*unknown* $arguments\]) inherited from Phalcon\\Mvc\\Collection\\Behavior Acts as fallbacks when a missing method is called on the collection | - [索引](# "总目录") - [下一页](# "Class Phalcon\Mvc\Collection\Behavior\Timestampable") | - [上一页](# "Abstract class Phalcon\Mvc\Collection\Behavior") | - [API Indice](#) »