public function imagedownAjaxAction(\Difra\Param\AnyInt $id) { try { \Difra\Plugins\Portfolio::imageDown($id->val()); } catch (\Difra\Exception $x) { $x->notify(); $this->ajax->notify($x->getMessage()); return; } $this->ajax->refresh(); }