Пример #1
0
 /**
  * Delete a particular model
  *
  * @param ActiveRecord $model the model to delete
  *
  * @return bool true if the delete was successful, otherwise false.
  */
 protected function delete(ActiveRecord $model)
 {
     return $model->delete();
 }