Changeset 22567 for branches/version-2_12-dev/data/class/pages/admin/mail
- Timestamp:
- 2013/02/18 19:09:54 (11 years ago)
- Location:
- branches/version-2_12-dev/data/class/pages/admin/mail
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/admin/mail/LC_Page_Admin_Mail.php
r22206 r22567 32 32 * @version $Id$ 33 33 */ 34 class LC_Page_Admin_Mail extends LC_Page_Admin_Ex { 34 class LC_Page_Admin_Mail extends LC_Page_Admin_Ex 35 { 35 36 36 37 // }}} … … 42 43 * @return void 43 44 */ 44 function init() { 45 function init() 46 { 45 47 parent::init(); 46 48 $this->tpl_mainpage = 'mail/index.tpl'; … … 83 85 * @return void 84 86 */ 85 function process() { 87 function process() 88 { 86 89 $this->action(); 87 90 $this->sendResponse(); … … 93 96 * @return void 94 97 */ 95 function action() { 98 function action() 99 { 96 100 97 101 // パラメーター管理クラス … … 181 185 * @return void 182 186 */ 183 function destroy() { 187 function destroy() 188 { 184 189 parent::destroy(); 185 190 } … … 191 196 * @return void 192 197 */ 193 function lfInitParamSearchCustomer(&$objFormParam) { 198 function lfInitParamSearchCustomer(&$objFormParam) 199 { 194 200 SC_Helper_Customer_Ex::sfSetSearchParam($objFormParam); 195 201 $objFormParam->addParam('配信形式', 'search_htmlmail', INT_LEN, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); … … 203 209 * @return void 204 210 */ 205 function lfAddParamSelectTemplate(&$objFormParam) { 211 function lfAddParamSelectTemplate(&$objFormParam) 212 { 206 213 $objFormParam->addParam('メール形式', 'mail_method', INT_LEN, 'n', array('EXIST_CHECK','ALNUM_CHECK')); 207 214 $objFormParam->addParam('Subject', 'subject', STEXT_LEN, 'KVa', array('EXIST_CHECK','SPTAB_CHECK','MAX_LENGTH_CHECK')); … … 216 223 * @return array key:template_id value:サブジェクト【配信形式】 217 224 */ 218 function lfGetMailTemplateList($arrTemplate) { 225 function lfGetMailTemplateList($arrTemplate) 226 { 219 227 if (is_array($arrTemplate)) { 220 228 foreach ($arrTemplate as $line) { … … 232 240 * @return void 233 241 */ 234 function lfGetTemplateData(&$objFormParam, $template_id) { 242 function lfGetTemplateData(&$objFormParam, $template_id) 243 { 235 244 $objQuery =& SC_Query_Ex::getSingletonInstance(); 236 245 $objQuery->setOrder('template_id DESC'); … … 245 254 * @return integer 登録した行の dtb_send_history.send_id の値 246 255 */ 247 function lfRegisterData(&$objFormParam) { 256 function lfRegisterData(&$objFormParam) 257 { 248 258 $objQuery =& SC_Query_Ex::getSingletonInstance(); 249 259 … … 289 299 * @return array 290 300 */ 291 function lfGetMailQuery($send_id) { 301 function lfGetMailQuery($send_id) 302 { 292 303 293 304 $objQuery =& SC_Query_Ex::getSingletonInstance(); -
branches/version-2_12-dev/data/class/pages/admin/mail/LC_Page_Admin_Mail_History.php
r22206 r22567 32 32 * @version $Id$ 33 33 */ 34 class LC_Page_Admin_Mail_History extends LC_Page_Admin_Ex { 34 class LC_Page_Admin_Mail_History extends LC_Page_Admin_Ex 35 { 35 36 36 37 // }}} … … 42 43 * @return void 43 44 */ 44 function init() { 45 function init() 46 { 45 47 parent::init(); 46 48 $this->tpl_mainpage = 'mail/history.tpl'; … … 57 59 * @return void 58 60 */ 59 function process() { 61 function process() 62 { 60 63 $this->action(); 61 64 $this->sendResponse(); … … 67 70 * @return void 68 71 */ 69 function action() { 72 function action() 73 { 70 74 71 75 switch ($this->getMode()) { … … 91 95 * @return void 92 96 */ 93 function destroy() { 97 function destroy() 98 { 94 99 parent::destroy(); 95 100 } … … 101 106 * @return array( integer 全体件数, mixed メール配信データ一覧配列, mixed SC_PageNaviオブジェクト) 102 107 */ 103 function lfDoSearch($search_pageno = 1) { 108 function lfDoSearch($search_pageno = 1) 109 { 104 110 105 111 // 引数の初期化 … … 140 146 * @return void 141 147 */ 142 function lfDeleteHistory($send_id) { 148 function lfDeleteHistory($send_id) 149 { 143 150 $objQuery =& SC_Query_Ex::getSingletonInstance(); 144 151 $objQuery->update('dtb_send_history', -
branches/version-2_12-dev/data/class/pages/admin/mail/LC_Page_Admin_Mail_Preview.php
r22206 r22567 31 31 * @version $Id$ 32 32 */ 33 class LC_Page_Admin_Mail_Preview extends LC_Page_Admin_Ex { 33 class LC_Page_Admin_Mail_Preview extends LC_Page_Admin_Ex 34 { 34 35 35 36 // }}} … … 41 42 * @return void 42 43 */ 43 function init() { 44 function init() 45 { 44 46 parent::init(); 45 47 $this->tpl_subtitle = 'プレビュー'; … … 52 54 * @return void 53 55 */ 54 function process() { 56 function process() 57 { 55 58 $this->action(); 56 59 $this->sendResponse(); … … 62 65 * @return void 63 66 */ 64 function action() { 67 function action() 68 { 65 69 66 70 $objMailHelper = new SC_Helper_Mail_Ex(); … … 94 98 * @return void 95 99 */ 96 function destroy() { 100 function destroy() 101 { 97 102 parent::destroy(); 98 103 } -
branches/version-2_12-dev/data/class/pages/admin/mail/LC_Page_Admin_Mail_Template.php
r22206 r22567 32 32 * @version $Id$ 33 33 */ 34 class LC_Page_Admin_Mail_Template extends LC_Page_Admin_Ex { 34 class LC_Page_Admin_Mail_Template extends LC_Page_Admin_Ex 35 { 35 36 36 37 // }}} … … 42 43 * @return void 43 44 */ 44 function init() { 45 function init() 46 { 45 47 parent::init(); 46 48 $this->tpl_mainpage = 'mail/template.tpl'; … … 59 61 * @return void 60 62 */ 61 function process() { 63 function process() 64 { 62 65 $this->action(); 63 66 $this->sendResponse(); … … 69 72 * @return void 70 73 */ 71 function action() { 74 function action() 75 { 72 76 73 77 $objMailHelper = new SC_Helper_Mail_Ex(); … … 93 97 * @return void 94 98 */ 95 function destroy() { 99 function destroy() 100 { 96 101 parent::destroy(); 97 102 } … … 102 107 * @return void 103 108 */ 104 function lfDeleteMailTemplate($template_id) { 109 function lfDeleteMailTemplate($template_id) 110 { 105 111 $objQuery =& SC_Query_Ex::getSingletonInstance(); 106 112 $objQuery->update('dtb_mailmaga_template', -
branches/version-2_12-dev/data/class/pages/admin/mail/LC_Page_Admin_Mail_TemplateInput.php
r22206 r22567 32 32 * @version $Id$ 33 33 */ 34 class LC_Page_Admin_Mail_TemplateInput extends LC_Page_Admin_Ex { 34 class LC_Page_Admin_Mail_TemplateInput extends LC_Page_Admin_Ex 35 { 35 36 36 37 // }}} … … 42 43 * @return void 43 44 */ 44 function init() { 45 function init() 46 { 45 47 parent::init(); 46 48 $this->tpl_mainpage = 'mail/template_input.tpl'; … … 59 61 * @return void 60 62 */ 61 function process() { 63 function process() 64 { 62 65 $this->action(); 63 66 $this->sendResponse(); … … 69 72 * @return void 70 73 */ 71 function action() { 74 function action() 75 { 72 76 73 77 $objMailHelper = new SC_Helper_Mail_Ex(); … … 115 119 * @return void 116 120 */ 117 function destroy() { 121 function destroy() 122 { 118 123 parent::destroy(); 119 124 } … … 126 131 * @return void 127 132 */ 128 function lfRegistData(&$objFormParam, $template_id = null) { 133 function lfRegistData(&$objFormParam, $template_id = null) 134 { 129 135 130 136 $objQuery =& SC_Query_Ex::getSingletonInstance(); … … 154 160 * @return void 155 161 */ 156 function lfInitParam(&$objFormParam) { 162 function lfInitParam(&$objFormParam) 163 { 157 164 $objFormParam->addParam('メール形式', 'mail_method', INT_LEN, 'n', array('EXIST_CHECK','ALNUM_CHECK')); 158 165 $objFormParam->addParam('Subject', 'subject', STEXT_LEN, 'KVa', array('EXIST_CHECK','SPTAB_CHECK','MAX_LENGTH_CHECK'));
Note: See TracChangeset
for help on using the changeset viewer.