- Timestamp:
- 2009/07/01 20:08:16 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_4/data/class/pages/shopping/LC_Page_Shopping_Payment.php
r18104 r18155 155 155 // 支払い方法の取得 156 156 $this->arrPayment = $this->lfGetPayment($total_pretax); 157 // 支払い方法の画像があるなしを取得($img_show true:ある false:なし) 158 $this->img_show = $this->lfGetImgShow($this->arrPayment); 157 159 // 配送時間の取得 158 160 $arrRet = $objDb->sfGetDelivTime($this->objFormParam->getValue('payment_id')); … … 561 563 return $this->objFormParam; 562 564 } 565 566 /* 支払い方法の画像があるなしを取得($img_show true:ある false:なし) */ 567 function lfGetImgShow($arrPayment) { 568 $img_show = false; 569 foreach ($this->arrPayment as $payment) { 570 if (strlen($payment["payment_image"]) > 0 ){ 571 $img_show = true; 572 break; 573 } 574 } 575 return $img_show; 576 } 563 577 } 564 578 ?>
Note: See TracChangeset
for help on using the changeset viewer.