Ignore:
Timestamp:
2012/02/06 11:05:15 (14 years ago)
Author:
Seasoft
Message:

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

  • Zend Framework PHP 標準コーディング規約への準拠を高めた
File:
1 edited

Legend:

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

    r21420 r21441  
    6363    // 宛先の設定 
    6464    function setTo($to, $to_name = "") { 
    65         if($to != "") { 
     65        if ($to != "") { 
    6666            $this->to = $this->getNameAddress($to_name, $to); 
    6767            $this->setRecip('To', $to); 
     
    7676    // CCの設定 
    7777    function setCc($cc, $cc_name = "") { 
    78         if($cc != "") { 
     78        if ($cc != "") { 
    7979            $this->cc = $this->getNameAddress($cc_name, $cc); 
    8080            $this->setRecip('Cc', $cc); 
     
    8484    // BCCの設定 
    8585    function setBCc($bcc) { 
    86         if($bcc != "") { 
     86        if ($bcc != "") { 
    8787            $this->bcc = $bcc; 
    8888            $this->setRecip('Bcc', $bcc); 
     
    9292    // Reply-Toの設定 
    9393    function setReplyTo($reply_to) { 
    94         if($reply_to != "") { 
     94        if ($reply_to != "") { 
    9595            $this->reply_to = $reply_to; 
    9696        } 
     
    140140    // 名前<メールアドレス>の形式を生成 
    141141    function getNameAddress($name, $mail_address) { 
    142             if($name != "") { 
     142            if ($name != "") { 
    143143                // 制御文字を変換する。 
    144144                $_name = $name; 
     
    190190 
    191191        // Errors-Toは、ほとんどのSMTPで無視され、Return-Pathが優先されるためReturn_Pathに設定する。 
    192         if($errors_to != "") { 
     192        if ($errors_to != "") { 
    193193            $this->return_path = $errors_to; 
    194         } else if($return_path != "") { 
     194        } else if ($return_path != "") { 
    195195            $this->return_path = $return_path; 
    196196        } else { 
     
    207207        $arrHeader['From'] = $this->from; 
    208208        $arrHeader['Return-Path'] = $this->return_path; 
    209         if($this->reply_to != "") { 
     209        if ($this->reply_to != "") { 
    210210            $arrHeader['Reply-To'] = $this->reply_to; 
    211211        } 
    212         if($this->cc != "") { 
     212        if ($this->cc != "") { 
    213213            $arrHeader['Cc'] = $this->cc; 
    214214        } 
    215         if($this->bcc != "") { 
     215        if ($this->bcc != "") { 
    216216            $arrHeader['Bcc'] = $this->bcc; 
    217217        } 
Note: See TracChangeset for help on using the changeset viewer.