Changeset 22796 for branches/version-2_12-dev/data/class/pages/admin/basis/LC_Page_Admin_Basis_PaymentInput.php
- 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/admin/basis/LC_Page_Admin_Basis_PaymentInput.php
r22567 r22796 32 32 * @version $Id$ 33 33 */ 34 class LC_Page_Admin_Basis_PaymentInput extends LC_Page_Admin_Ex 35 { 34 class LC_Page_Admin_Basis_PaymentInput extends LC_Page_Admin_Ex { 36 35 37 36 // {{{ properties … … 48 47 * @return void 49 48 */ 50 function init() 51 { 49 function init() { 52 50 parent::init(); 53 51 $this->tpl_mainpage = 'basis/payment_input.tpl'; … … 63 61 * @return void 64 62 */ 65 function process() 66 { 63 function process() { 67 64 $this->action(); 68 65 $this->sendResponse(); … … 74 71 * @return void 75 72 */ 76 function action() 77 { 73 function action() { 78 74 79 75 $objPayment = new SC_Helper_Payment_Ex(); … … 164 160 * @return void 165 161 */ 166 function destroy() 167 { 162 function destroy() { 168 163 parent::destroy(); 169 164 } 170 165 171 166 /* ファイル情報の初期化 */ 172 function lfInitFile() 173 { 167 function lfInitFile() { 174 168 $this->objUpFile->addFile('ロゴ画像', 'payment_image', array('gif','jpeg','jpg','png'), IMAGE_SIZE, false, CLASS_IMAGE_WIDTH, CLASS_IMAGE_HEIGHT); 175 169 return $this->objUpFile; … … 177 171 178 172 /* パラメーター情報の初期化 */ 179 function lfInitParam($mode, &$objFormParam) 180 { 173 function lfInitParam($mode, &$objFormParam) { 181 174 182 175 switch ($mode) { … … 219 212 220 213 /* DBへデータを登録する */ 221 function lfRegistData(&$objFormParam, SC_Helper_Payment_Ex $objPayment, $member_id, $payment_id = '') 222 { 214 function lfRegistData(&$objFormParam, SC_Helper_Payment_Ex $objPayment, $member_id, $payment_id = '') { 223 215 224 216 $sqlval = array_merge($objFormParam->getHashArray(), $this->objUpFile->getDBFileList()); 217 $sqlval['update_date'] = 'CURRENT_TIMESTAMP'; 225 218 $sqlval['payment_id'] = $payment_id; 226 219 $sqlval['creator_id'] = $member_id; … … 236 229 237 230 /* 入力内容のチェック */ 238 function lfCheckError($post, $objFormParam, SC_Helper_Payment_Ex $objPayment) 239 { 231 function lfCheckError($post, $objFormParam, SC_Helper_Payment_Ex $objPayment) { 240 232 241 233 // DBのデータを取得
Note: See TracChangeset
for help on using the changeset viewer.