- Timestamp:
- 2013/08/24 23:33:52 (13 years ago)
- Location:
- branches/version-2_13-dev/data/class/pages/admin/customer
- Files:
-
- 3 edited
-
LC_Page_Admin_Customer.php (modified) (9 diffs)
-
LC_Page_Admin_Customer_Edit.php (modified) (11 diffs)
-
LC_Page_Admin_Customer_SearchCustomer.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/pages/admin/customer/LC_Page_Admin_Customer.php
r22926 r23124 38 38 * @return void 39 39 */ 40 function init()40 public function init() 41 41 { 42 42 parent::init(); … … 83 83 * @return void 84 84 */ 85 function process()85 public function process() 86 86 { 87 87 $this->action(); … … 94 94 * @return void 95 95 */ 96 function action()96 public function action() 97 97 { 98 98 // パラメーター管理クラス … … 143 143 * パラメーター情報の初期化 144 144 * 145 * @param array $objFormParam フォームパラメータークラス146 * @return void 147 */ 148 function lfInitParam(&$objFormParam)145 * @param array $objFormParam フォームパラメータークラス 146 * @return void 147 */ 148 public function lfInitParam(&$objFormParam) 149 149 { 150 150 SC_Helper_Customer_Ex::sfSetSearchParam($objFormParam); … … 155 155 * エラーチェック 156 156 * 157 * @param array $objFormParam フォームパラメータークラス157 * @param array $objFormParam フォームパラメータークラス 158 158 * @return array エラー配列 159 159 */ 160 function lfCheckError(&$objFormParam)160 public function lfCheckError(&$objFormParam) 161 161 { 162 162 return SC_Helper_Customer_Ex::sfCheckErrorSearchParam($objFormParam); … … 166 166 * 会員を削除する処理 167 167 * 168 * @param integer $customer_id 会員ID168 * @param integer $customer_id 会員ID 169 169 * @return boolean true:成功 false:失敗 170 170 */ 171 function lfDoDeleteCustomer($customer_id)171 public function lfDoDeleteCustomer($customer_id) 172 172 { 173 173 return SC_Helper_Customer_Ex::delete($customer_id); … … 177 177 * 会員に登録メールを再送する処理 178 178 * 179 * @param integer $customer_id 会員ID179 * @param integer $customer_id 会員ID 180 180 * @return boolean true:成功 false:失敗 181 181 */ 182 function lfDoResendMail($customer_id)182 public function lfDoResendMail($customer_id) 183 183 { 184 184 $arrData = SC_Helper_Customer_Ex::sfGetCustomerDataFromId($customer_id); … … 198 198 * 会員一覧を検索する処理 199 199 * 200 * @param array$arrParam 検索パラメーター連想配列200 * @param array $arrParam 検索パラメーター連想配列 201 201 * @return array( integer 全体件数, mixed 会員データ一覧配列, mixed SC_PageNaviオブジェクト) 202 202 */ 203 function lfDoSearch($arrParam)203 public function lfDoSearch($arrParam) 204 204 { 205 205 return SC_Helper_Customer_Ex::sfGetSearchData($arrParam); … … 209 209 * 会員一覧CSVを検索してダウンロードする処理 210 210 * 211 * @param array$arrParam 検索パラメーター連想配列211 * @param array $arrParam 検索パラメーター連想配列 212 212 * @return boolean true:成功 false:失敗 213 213 */ 214 function lfDoCSV($arrParam)214 public function lfDoCSV($arrParam) 215 215 { 216 216 $objSelect = new SC_CustomerList_Ex($arrParam, 'customer'); -
branches/version-2_13-dev/data/class/pages/admin/customer/LC_Page_Admin_Customer_Edit.php
r23094 r23124 38 38 * @return void 39 39 */ 40 function init()40 public function init() 41 41 { 42 42 parent::init(); … … 72 72 * @return void 73 73 */ 74 function process()74 public function process() 75 75 { 76 76 $this->action(); … … 83 83 * @return void 84 84 */ 85 function action()85 public function action() 86 86 { 87 87 // パラメーター管理クラス … … 194 194 * パラメーター情報の初期化 195 195 * 196 * @param array $objFormParam フォームパラメータークラス197 * @return void 198 */ 199 function lfInitParam(&$objFormParam)196 * @param array $objFormParam フォームパラメータークラス 197 * @return void 198 */ 199 public function lfInitParam(&$objFormParam) 200 200 { 201 201 // 会員項目のパラメーター取得 … … 210 210 * 検索パラメーター引き継ぎ用情報の初期化 211 211 * 212 * @param array $objFormParam フォームパラメータークラス213 * @return void 214 */ 215 function lfInitSearchParam(&$objFormParam)212 * @param array $objFormParam フォームパラメータークラス 213 * @return void 214 */ 215 public function lfInitSearchParam(&$objFormParam) 216 216 { 217 217 SC_Helper_Customer_Ex::sfSetSearchParam($objFormParam); … … 223 223 * 検索パラメーターエラーチェック 224 224 * 225 * @param array $objFormParam フォームパラメータークラス225 * @param array $objFormParam フォームパラメータークラス 226 226 * @return array エラー配列 227 227 */ 228 function lfCheckErrorSearchParam(&$objFormParam)228 public function lfCheckErrorSearchParam(&$objFormParam) 229 229 { 230 230 return SC_Helper_Customer_Ex::sfCheckErrorSearchParam($objFormParam); … … 234 234 * フォーム入力パラメーターエラーチェック 235 235 * 236 * @param array $objFormParam フォームパラメータークラス236 * @param array $objFormParam フォームパラメータークラス 237 237 * @return array エラー配列 238 238 */ 239 function lfCheckError(&$objFormParam)239 public function lfCheckError(&$objFormParam) 240 240 { 241 241 $arrErr = SC_Helper_Customer_Ex::sfCustomerMypageErrorCheck($objFormParam, true); … … 255 255 if ($arrData['email'] == $objFormParam->getValue('email')) { 256 256 $arrErr['email'] = '※ すでに他の会員(ID:' . $arrData['customer_id'] . ')が使用しているアドレスです。'; 257 } else if ($arrData['email'] == $objFormParam->getValue('email_mobile')) {257 } elseif ($arrData['email'] == $objFormParam->getValue('email_mobile')) { 258 258 $arrErr['email_mobile'] = '※ すでに他の会員(ID:' . $arrData['customer_id'] . ')が使用しているアドレスです。'; 259 259 } … … 262 262 if ($arrData['email_mobile'] == $objFormParam->getValue('email_mobile')) { 263 263 $arrErr['email_mobile'] = '※ すでに他の会員(ID:' . $arrData['customer_id'] . ')が使用している携帯アドレスです。'; 264 } else if ($arrData['email_mobile'] == $objFormParam->getValue('email')) {264 } elseif ($arrData['email_mobile'] == $objFormParam->getValue('email')) { 265 265 if ($arrErr['email'] == '') { 266 266 $arrErr['email'] = '※ すでに他の会員(ID:' . $arrData['customer_id'] . ')が使用している携帯アドレスです。'; … … 275 275 * 登録処理 276 276 * 277 * @param array $objFormParam フォームパラメータークラス277 * @param array $objFormParam フォームパラメータークラス 278 278 * @return array エラー配列 279 279 */ 280 function lfRegistData(&$objFormParam)280 public function lfRegistData(&$objFormParam) 281 281 { 282 282 // 登録用データ取得 … … 305 305 * 購入履歴情報の取得 306 306 * 307 * @param array$arrParam 検索パラメーター連想配列307 * @param array $arrParam 検索パラメーター連想配列 308 308 * @return array( integer 全体件数, mixed 会員データ一覧配列, mixed SC_PageNaviオブジェクト) 309 309 */ 310 function lfPurchaseHistory($customer_id, $pageno = 0)310 public function lfPurchaseHistory($customer_id, $pageno = 0) 311 311 { 312 312 if (SC_Utils_Ex::isBlank($customer_id)) { -
branches/version-2_13-dev/data/class/pages/admin/customer/LC_Page_Admin_Customer_SearchCustomer.php
r22926 r23124 38 38 * @return void 39 39 */ 40 function init()40 public function init() 41 41 { 42 42 parent::init(); … … 51 51 * @return void 52 52 */ 53 function process()53 public function process() 54 54 { 55 55 $this->action(); … … 62 62 * @return void 63 63 */ 64 function action()64 public function action() 65 65 { 66 66 // パラメーター管理クラス … … 93 93 * パラメーター情報の初期化 94 94 * 95 * @param array $objFormParam フォームパラメータークラス95 * @param array $objFormParam フォームパラメータークラス 96 96 * @return void 97 97 */ 98 function lfInitParam(&$objFormParam)98 public function lfInitParam(&$objFormParam) 99 99 { 100 100 SC_Helper_Customer_Ex::sfSetSearchParam($objFormParam); … … 104 104 * エラーチェック 105 105 * 106 * @param array $objFormParam フォームパラメータークラス106 * @param array $objFormParam フォームパラメータークラス 107 107 * @return array エラー配列 108 108 */ 109 function lfCheckError(&$objFormParam)109 public function lfCheckError(&$objFormParam) 110 110 { 111 111 return SC_Helper_Customer_Ex::sfCheckErrorSearchParam($objFormParam); … … 115 115 * 会員一覧を検索する処理 116 116 * 117 * @param array$arrParam 検索パラメーター連想配列117 * @param array $arrParam 検索パラメーター連想配列 118 118 * @return array( integer 全体件数, mixed 会員データ一覧配列, mixed SC_PageNaviオブジェクト) 119 119 */ 120 function lfDoSearch($arrParam)120 public function lfDoSearch($arrParam) 121 121 { 122 122 return SC_Helper_Customer_Ex::sfGetSearchData($arrParam);
Note: See TracChangeset
for help on using the changeset viewer.
