Download the PHP package cornernote/yii2-softdelete without Composer
On this page you can find all versions of the php package cornernote/yii2-softdelete. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download cornernote/yii2-softdelete
More information about cornernote/yii2-softdelete
Files in cornernote/yii2-softdelete
Download cornernote/yii2-softdelete
More information about cornernote/yii2-softdelete
Files in cornernote/yii2-softdelete
Vendor cornernote
Package yii2-softdelete
Short Description Soft delete behavior for Yii2.
License BSD-3-Clause
Package yii2-softdelete
Short Description Soft delete behavior for Yii2.
License BSD-3-Clause
Keywords yii2soft delete
Please rate this library. Is it a good library?
Informations about the package yii2-softdelete
Yii2 Soft Delete
Soft delete behavior for Yii2.
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require
section of your composer.json
file.
Usage
In your ActiveRecord class:
then you can use explicitly $model->softDelete()
, $model->hardDelete()
and $model->unDelete()
(for softly deleted models). Each of these methods return
boolean result. Also $model->softDelete()
calls indirectly from $model->delete()
,
which always returns false
.
In your ActiveQuery class:
All versions of yii2-softdelete with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
*
The package cornernote/yii2-softdelete contains the following files
Loading the files please wait ....