public function index_onDelete()
 {
     if (($checkedIds = post('checked')) && is_array($checkedIds) && count($checkedIds)) {
         foreach ($checkedIds as $postId) {
             if (!($post = Testimonial::find($postId))) {
                 continue;
             }
             $post->delete();
         }
         Flash::success(Lang::get('backend::lang.form.delete_success', ['name' => Lang::get('mja.testimonials::lang.controller.form.testimony')]));
     }
     return $this->listRefresh();
 }
 public function onRun()
 {
     $this->page['testimonials'] = Testimonial::whereIsPublic(1)->get();
 }