- Timestamp:
- 2013/08/24 23:33:52 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/helper/SC_Helper_Mail.php
r23024 r23124 32 32 { 33 33 /** メールテンプレートのパス */ 34 var$arrMAILTPLPATH;34 public $arrMAILTPLPATH; 35 35 36 36 /** … … 44 44 * コンストラクタ. 45 45 */ 46 function __construct()46 public function __construct() 47 47 { 48 48 $masterData = new SC_DB_MasterData_Ex(); … … 57 57 * @param LC_Page $objPage 58 58 */ 59 function setPage(LC_Page $objPage)59 public function setPage(LC_Page $objPage) 60 60 { 61 61 $this->objPage = $objPage; … … 67 67 * @return LC_Page 68 68 */ 69 function getPage()69 public function getPage() 70 70 { 71 71 return $this->objPage; … … 73 73 74 74 /* DBに登録されたテンプレートメールの送信 */ 75 function sfSendTemplateMail($to, $to_name, $template_id, &$objPage, $from_address = '', $from_name = '', $reply_to = '', $bcc = '')75 public function sfSendTemplateMail($to, $to_name, $template_id, &$objPage, $from_address = '', $from_name = '', $reply_to = '', $bcc = '') 76 76 { 77 77 // メールテンプレート情報の取得 … … 104 104 105 105 /* 受注完了メール送信 */ 106 function sfSendOrderMail($order_id, $template_id, $subject = '', $header = '', $footer = '', $send = true)106 public function sfSendOrderMail($order_id, $template_id, $subject = '', $header = '', $footer = '', $send = true) 107 107 { 108 108 $arrTplVar = new stdClass(); … … 218 218 219 219 // テンプレートを使用したメールの送信 220 function sfSendTplMail($to, $tmp_subject, $tplpath, &$objPage)220 public function sfSendTplMail($to, $tmp_subject, $tplpath, &$objPage) 221 221 { 222 222 $objMailView = new SC_SiteView_Ex(); … … 240 240 241 241 // 通常のメール送信 242 function sfSendMail($to, $tmp_subject, $body)242 public function sfSendMail($to, $tmp_subject, $body) 243 243 { 244 244 $arrInfo = SC_Helper_DB_Ex::sfGetBasisData(); … … 255 255 256 256 //件名にテンプレートを用いる 257 function sfMakeSubject($subject, &$objMailView = NULL)257 public function sfMakeSubject($subject, &$objMailView = NULL) 258 258 { 259 259 if (empty($objMailView)) { … … 276 276 277 277 // メール配信履歴への登録 278 function sfSaveMailHistory($order_id, $template_id, $subject, $body)278 public function sfSaveMailHistory($order_id, $template_id, $subject, $body) 279 279 { 280 280 $sqlval = array(); … … 297 297 298 298 /* 会員登録があるかどうかのチェック(仮会員を含まない) */ 299 function sfCheckCustomerMailMaga($email)299 public function sfCheckCustomerMailMaga($email) 300 300 { 301 301 $col = 'email, mailmaga_flg, customer_id'; … … 315 315 * 登録メールを送信する。 316 316 * 317 * @param string $secret_key会員固有キー318 * @param integer $customer_id 会員ID319 * @param boolean $is_mobilefalse(default):PCアドレスにメールを送る true:携帯アドレスにメールを送る317 * @param string $secret_key 会員固有キー 318 * @param integer $customer_id 会員ID 319 * @param boolean $is_mobile false(default):PCアドレスにメールを送る true:携帯アドレスにメールを送る 320 320 * @return boolean true:成功 false:失敗 321 321 */ 322 function sfSendRegistMail($secret_key, $customer_id = '', $is_mobile = false)322 public function sfSendRegistMail($secret_key, $customer_id = '', $is_mobile = false) 323 323 { 324 324 // 会員データの取得 … … 385 385 * @todo 表示順も引数で変更できるように 386 386 */ 387 function sfGetMailmagaTemplate($template_id = null)387 public function sfGetMailmagaTemplate($template_id = null) 388 388 { 389 389 // 初期化 … … 413 413 * @return array 送信履歴情報を格納した配列 414 414 */ 415 function sfGetSendHistory($send_id = null)415 public function sfGetSendHistory($send_id = null) 416 416 { 417 417 // 初期化 … … 443 443 * @return void 444 444 */ 445 function sfSendMailmagazine($send_id)445 public function sfSendMailmagazine($send_id) 446 446 { 447 447 $objQuery =& SC_Query_Ex::getSingletonInstance();
Note: See TracChangeset
for help on using the changeset viewer.