protected function postDeleteHook(JModelLegacy $model, $cid = NULL) { foreach ($cid as $id) { $model->deleteOrgData($id); } }