- Timestamp:
- 2011/01/28 16:19:40 (13 years ago)
- Location:
- branches/version-2_5-dev/data/class/pages/admin/ownersstore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/admin/ownersstore/LC_Page_Admin_OwnersStore_Log.php
r19805 r20041 71 71 SC_Utils::sfIsSuccess(new SC_Session()); 72 72 73 $mode = isset($_GET['mode']) ? $_GET['mode'] : ''; 74 switch ($mode) { 73 switch ($this->getMode()) { 75 74 case 'detail': 76 75 $objForm = $this->initParam(); -
branches/version-2_5-dev/data/class/pages/admin/ownersstore/LC_Page_Admin_OwnersStore_Settings.php
r19805 r20041 83 83 $this->transactionid = SC_Helper_Session_Ex::getToken(); 84 84 85 // $_POST['mode']によってアクション振り分け86 85 switch($this->getMode()) { 87 86 // 入力内容をDBへ登録する … … 105 104 106 105 /** 107 * switchアクション振り分け用パラメータを取得する.108 *109 * @param void110 * @return string モード名111 */112 function getMode() {113 $mode = '';114 if ($_SERVER['REQUEST_METHOD'] == 'GET') {115 if (isset($_GET['mode'])) $mode = $_GET['mode'];116 } elseif ($_SERVER['REQUEST_METHOD'] == 'POST') {117 if (isset($_POST['mode'])) $mode = $_POST['mode'];118 }119 return $mode;120 }121 122 /**123 106 * registerアクションの実行. 124 107 * 入力内容をDBへ登録する.
Note: See TracChangeset
for help on using the changeset viewer.