Ignore:
Timestamp:
2011/03/07 15:37:16 (15 years ago)
Author:
Seasoft
Message:

#627(ソース整形・ソースコメントの改善)

  • 半SP
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/helper/SC_Helper_Mail.php

    r20538 r20540  
    6868        $error = $arrInfo['email04']; 
    6969        $tosubject = $this->sfMakeSubject($tmp_subject, $objMailView); 
    70          
     70 
    7171        $objSendMail->setItem('', $tosubject, $body, $from_address, $from_name, $reply_to, $error, $error); 
    7272        $objSendMail->setTo($to, $to_name); 
     
    195195        $error = $arrInfo['email04']; 
    196196        $tosubject = $this->sfMakeSubject($tmp_subject, $objMailView); 
    197          
     197 
    198198        $objSendMail->setItem($to, $tosubject, $body, $from, $arrInfo['shop_name'], $from, $error, $error, $bcc); 
    199199        $objSendMail->sendMail(); 
     
    209209        $error = $arrInfo['email04']; 
    210210        $tosubject = $this->sfMakeSubject($tmp_subject); 
    211          
     211 
    212212        $objSendMail->setItem($to, $tosubject, $body, $from, $arrInfo['shop_name'], $from, $error, $error, $bcc); 
    213213        $objSendMail->sendMail(); 
     
    220220        } 
    221221        $objTplAssign = new stdClass; 
    222          
     222 
    223223        $arrInfo = SC_Helper_DB_Ex::sfGetBasisData(); 
    224224        $objTplAssign->tpl_shopname=$arrInfo['shop_name']; 
     
    283283 
    284284        $CONF = SC_Helper_DB_Ex::sfGetBasisData(); 
    285          
     285 
    286286        $objMailText = new SC_SiteView_Ex(); 
    287287        $objMailText->assign('CONF', $CONF); 
     
    326326        return true; 
    327327    } 
    328      
     328 
    329329    /** 
    330330     * 保存されているメルマガテンプレートの取得 
     
    337337        $where = ''; 
    338338        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    339          
     339 
    340340        // 条件文 
    341341        $where = 'del_flg = ?'; 
     
    346346            $arrValues[] = $template_id; 
    347347        } 
    348          
     348 
    349349        // 表示順 
    350350        $objQuery->setOrder("create_date DESC"); 
    351          
     351 
    352352        $arrResults = $objQuery->select('*', 'dtb_mailmaga_template', $where, $arrValues); 
    353353        return $arrResults; 
    354354    } 
    355      
     355 
    356356    /** 
    357357     * 保存されているメルマガ送信履歴の取得 
     
    363363        $where = ''; 
    364364        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    365          
     365 
    366366        // 条件文 
    367367        $where = 'del_flg = ?'; 
    368368        $arrValues[] = 0; 
    369          
     369 
    370370        //send_id指定時 
    371371        if (SC_Utils_Ex::sfIsInt($send_id) === true) { 
     
    373373            $arrValues[] = $send_id; 
    374374        } 
    375          
     375 
    376376        // 表示順 
    377377        $objQuery->setOrder("create_date DESC"); 
    378          
     378 
    379379        $arrResults = $objQuery->select('*', 'dtb_send_history', $where, $arrValues); 
    380380        return $arrResults; 
     
    392392        $objSite = $objDb->sfGetBasisData(); 
    393393        $objMail = new SC_SendMail_Ex(); 
    394          
     394 
    395395        $where = 'del_flg = 0 AND send_id = ?'; 
    396396        $arrMail = $objQuery->getRow('*', 'dtb_send_history', $where, array($send_id)); 
     
    406406            array($send_id) 
    407407        ); 
    408          
     408 
    409409        // 現在の配信数 
    410410        $complete_count = $arrMail['complete_count']; 
    411411        if(SC_Utils_Ex::isBlank($arrMail)) $complete_count = 0; 
    412          
     412 
    413413        foreach ($arrDestinationList as $arrDestination) { 
    414414 
     
    428428                $objSite["email04"]       // errors_to 
    429429            ); 
    430              
     430 
    431431            // テキストメール配信の場合 
    432432            if ($arrMail["mail_method"] == 2) { 
     
    445445                $complete_count++; 
    446446            } 
    447              
     447 
    448448            // 送信結果情報を更新 
    449449            $objQuery->update('dtb_send_customer', 
Note: See TracChangeset for help on using the changeset viewer.