- Timestamp:
- 2013/05/02 18:11:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/mypage/LC_Page_Mypage_Refusal.php
r22569 r22796 32 32 * @version $Id$ 33 33 */ 34 class LC_Page_Mypage_Refusal extends LC_Page_AbstractMypage_Ex 35 { 34 class LC_Page_Mypage_Refusal extends LC_Page_AbstractMypage_Ex { 36 35 37 36 // }}} … … 43 42 * @return void 44 43 */ 45 function init() 46 { 44 function init() { 47 45 parent::init(); 48 46 $this->tpl_subtitle = '退会手続き(入力ページ)'; … … 55 53 * @return void 56 54 */ 57 function process() 58 { 55 function process() { 59 56 parent::process(); 60 57 } … … 65 62 * @return void 66 63 */ 67 function action() 68 { 64 function action() { 69 65 70 66 switch ($this->getMode()) { … … 93 89 * @return void 94 90 */ 95 function destroy() 96 { 91 function destroy() { 97 92 parent::destroy(); 98 93 } … … 104 99 * @return void 105 100 */ 106 function lfDeleteCustomer($customer_id) 107 { 108 return SC_Helper_Customer_Ex::delete($customer_id); 101 function lfDeleteCustomer($customer_id) { 102 $objQuery = SC_Query_Ex::getSingletonInstance(); 103 104 $sqlval['del_flg'] = 1; 105 $sqlval['update_date'] = 'CURRENT_TIMESTAMP'; 106 $where = 'customer_id = ?'; 107 $objQuery->update('dtb_customer', $sqlval, $where, array($customer_id)); 109 108 } 110 109
Note: See TracChangeset
for help on using the changeset viewer.