Bỏ qua để đến nội dung
PHP Ecosystem
Explore

Soft Delete API reference

Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.

API reference › Soft Delete

Classes, interfaces, traits and enums of yii2\extensions\softdelete, generated from the PHPDoc of yii2-extensions/soft-delete at main. Machine-readable catalog: soft-delete.json.

NamespaceTypes
yii2\extensions\softdelete\exception1
ClassSummary
Condition finalMarks a query condition as owned by the soft-delete scope and qualifies its bare column names with a table alias.
DeleteBehaviorMarks ActiveRecord models as deleted instead of removing their rows, and restores them from that state.
QueryBehaviorScopes SQL ActiveQuery results to records that are, or are not, marked as deleted by DeleteBehavior.
ScopedQuerySQL ActiveQuery that retains its soft-delete scope when alias() changes the primary table alias.