/** * メンバ情報削除リンク * @param int $index * @return string */ public function getLinkCategoriesDelete($index = 0) { $form = $this->ExtForm; $data = $this->dataPaginate[$index]; $alias = 'TblContent'; $field1 = 'tbl_big_category_id'; $field2 = 'tbl_mid_category_id'; $field3 = 'tbl_min_category_id'; $tbl_big_category_id = $data[$alias][$field1]; $tbl_mid_category_id = $data[$alias][$field2]; $tbl_min_category_id = $data[$alias][$field3]; $title = __('削除'); $url = UrlUtil::getCategoriesDelete($tbl_big_category_id, $tbl_mid_category_id, $tbl_min_category_id); $options = array(); //$confirmMessage = sprintf(__('ID: %1$s [%2$s]のメンバー情報を削除しますか?'), $tbl_big_category_id); return $form->postLink($title, $url, $options); }
/** * メンバ情報削除リンク * @param int $index * @return string */ public function getLinkCategoriesDelete($index = 0) { $helper = $this; $form = $helper->ExtForm; $data = $helper->dataPaginate[$index]; $alias = 'TblContent'; $content_id = $data[$alias]['id']; $content_name = $data[$alias]['content']; $title = __('削除'); $url = UrlUtil::getCategoriesDelete($content_id); $options = array(); $confirmMessage = sprintf(__('[%1$s]のグループ情報を削除しますか?'), $content_name); return $form->postLink($title, $url, $options, $confirmMessage); }