Ignore:
Timestamp:
2013/02/18 19:09:54 (11 years ago)
Author:
shutta
Message:

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.12.4)
Zend Framework PHP 標準コーディング規約のコーディングスタイルへ準拠。
classおよびfunctionの開始波括弧「{」のスタイルを修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/SC_Fpdf.php

    r22250 r22567  
    3030define('PDF_TEMPLATE_REALDIR', TEMPLATE_ADMIN_REALDIR . 'pdf/'); 
    3131 
    32 class SC_Fpdf extends SC_Helper_FPDI { 
    33     function __construct($download, $title, $tpl_pdf = 'nouhinsyo1.pdf') { 
     32class SC_Fpdf extends SC_Helper_FPDI  
     33{ 
     34    function __construct($download, $title, $tpl_pdf = 'nouhinsyo1.pdf') 
     35    { 
    3436        $this->FPDF(); 
    3537        // デフォルトの設定 
     
    6769    } 
    6870 
    69     function setData($arrData) { 
     71    function setData($arrData) 
     72    { 
    7073        $this->arrData = $arrData; 
    7174 
     
    9396    } 
    9497 
    95     function setShopData() { 
     98    function setShopData() 
     99    { 
    96100        // ショップ情報 
    97101 
     
    130134    } 
    131135 
    132     function setMessageData() { 
     136    function setMessageData() 
     137    { 
    133138        // メッセージ 
    134139        $this->lfText(27, 70, $this->arrData['msg1'], 8);  //メッセージ1 
     
    139144    } 
    140145 
    141     function setOrderData() { 
     146    function setOrderData() 
     147    { 
    142148        $arrOrder = array(); 
    143149        // DBから受注情報を読み込む 
     
    264270     * @return string 変更後の文字列 
    265271     */ 
    266     function setEtcData() { 
     272    function setEtcData() 
     273    { 
    267274        $this->Cell(0, 10, '', 0, 1, 'C', 0, ''); 
    268275        $this->SetFont('Gothic', 'B', 9); 
     
    273280    } 
    274281 
    275     function createPdf() { 
     282    function createPdf() 
     283    { 
    276284        // PDFをブラウザに送信 
    277285        ob_clean(); 
     
    292300 
    293301    // PDF_Japanese::Text へのパーサー 
    294     function lfText($x, $y, $text, $size = 0, $style = '') { 
     302    function lfText($x, $y, $text, $size = 0, $style = '') 
     303    { 
    295304        // 退避 
    296305        $bak_font_style = $this->FontStyle; 
     
    305314 
    306315    // 受注データの取得 
    307     function lfGetOrderData($order_id) { 
     316    function lfGetOrderData($order_id) 
     317    { 
    308318        if (SC_Utils_Ex::sfIsInt($order_id)) { 
    309319            // DBから受注情報を読み込む 
     
    329339 
    330340    // 受注詳細データの取得 
    331     function lfGetOrderDetail($order_id) { 
     341    function lfGetOrderDetail($order_id) 
     342    { 
    332343        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    333344        $col = 'product_id, product_class_id, product_code, product_name, classcategory_name1, classcategory_name2, price, quantity, point_rate, tax_rate, tax_rule'; 
Note: See TracChangeset for help on using the changeset viewer.