data['id'] = $this->actionElementId; } public function update() { // TODO: Implement update() method. } public function delete() { /** * hosting id */ $hid = $this->request->get('id'); logModuleCall( 'kerioEmail', __FUNCTION__, $this->data, 'Debug add ML', $this ); return (new HtmlDataJsonResponse())->setMessageAndTranslate('distributionListHasBeenDeleted')->setStatusSuccess(); } public function massDelete() { /** * hosting id */ $hid = $this->request->get('id'); /** * */ foreach($this->request->get('massActions') as $id) { logModuleCall( 'kerioEmail', __FUNCTION__, $id, 'Debug add ML', $hid ); } return (new HtmlDataJsonResponse())->setMessageAndTranslate('massDistributionListHasBeenDeleted')->setStatusSuccess(); } }