return $this->_trigger($model, 'deleted');
}
+ function forceDeleting(CubistMagicAbstractModel $model)
+ {
+ return $this->_trigger($model, 'forceDeleting');
+ }
+
+ function forceDeleted(CubistMagicAbstractModel $model)
+ {
+ return $this->_trigger($model, 'forceDeleted');
+ }
+
function restoring(CubistMagicAbstractModel $model)
{
return $this->_trigger($model, 'restoring');
return $this->_trigger($model, 'restored');
}
- function retrieved(CubistMagicAbstractModel $model){
+ function retrieved(CubistMagicAbstractModel $model)
+ {
return $this->_trigger($model, 'retrieved');
}
return true;
}
+ public function onForceDeleting(): bool
+ {
+ return true;
+ }
+
+ public function onForceDeleted(): bool
+ {
+ return true;
+ }
+
public function addFilter($name, $type, $label, $logic = null, $options = null)
{
$this->filters[$name] = ['name' => $name, 'type' => $type, 'label' => $label, 'logic' => $logic, 'options' => $options];