Soft Delete API reference
Questi contenuti non sono ancora disponibili nella tua lingua.
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.
Namespaces
Section titled “Namespaces”| Namespace | Types |
|---|---|
yii2\ | 1 |
Classes
Section titled “Classes”| Class | Summary |
|---|---|
Condition final | Marks a query condition as owned by the soft-delete scope and qualifies its bare column names with a table alias. |
DeleteBehavior | Marks ActiveRecord models as deleted instead of removing their rows, and restores them from that state. |
QueryBehavior | Scopes SQL ActiveQuery results to records that are, or are not, marked as deleted by DeleteBehavior. |
ScopedQuery | SQL ActiveQuery that retains its soft-delete scope when alias() changes the primary table alias. |