protected function _batch_del($ids)
{
if ($ids) {
foreach ($ids as $id) {
// メッセージ用にデータを取得
$post = $this->Permission->read(null, $id);
/* 削除処理 */
if ($this->Permission->delete($id)) {
$message = 'アクセス制限設定「' . $post['Permission']['name'] . '」 を削除しました。';
}
}
}
return true;
}