/** * 登録完了 */ public function comp() { $ctl = $this; $url = UrlUtil::getAccountList(); //$ctl->redirect($url); $this->redirect($url); }
public function getLinkAccountList() { $html = $this->Html; $title = __('アカウント情報'); $url = UrlUtil::getAccountList(); $options = array(); return $html->link($title, $url, $options); }
public function index($tbl_user_id) { $ctl = $this; $model = $ctl->UserDelete; $request = $ctl->request; $session = $ctl->Session; $flashMessage = __('アカウント情報の削除に失敗しました'); if ($request->is('post')) { if ($model->deleteUser($tbl_user_id)) { $flashMessage = __('アカウント情報の削除が完了しました'); } } $session->setFlash($flashMessage); $url = UrlUtil::getAccountList(); $this->redirect($url); }
/** * アカウント情報一覧リンク * @param int $index * @return string */ public function getLinkAccountList() { $form = $this->ExtForm; $title = __('アカウント一覧'); $url = UrlUtil::getAccountList(); $options = array(); return $form->postLink($title, $url, $options); }
/** * アカウントリストリンク * @param HtmlHelper $html * @return string */ private static function getLinkAccountList(HtmlHelper $html) { $title = __('アカウント情報'); $url = UrlUtil::getAccountList(); $options = array(); return $html->link($title, $url, $options); }