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の開始波括弧「{」のスタイルを修正。

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  
    3232 * @version $Id$ 
    3333 */ 
    34 class LC_Page_Admin_Mail extends LC_Page_Admin_Ex { 
     34class LC_Page_Admin_Mail extends LC_Page_Admin_Ex  
     35{ 
    3536 
    3637    // }}} 
     
    4243     * @return void 
    4344     */ 
    44     function init() { 
     45    function init() 
     46    { 
    4547        parent::init(); 
    4648        $this->tpl_mainpage = 'mail/index.tpl'; 
     
    8385     * @return void 
    8486     */ 
    85     function process() { 
     87    function process() 
     88    { 
    8689        $this->action(); 
    8790        $this->sendResponse(); 
     
    9396     * @return void 
    9497     */ 
    95     function action() { 
     98    function action() 
     99    { 
    96100 
    97101        // パラメーター管理クラス 
     
    181185     * @return void 
    182186     */ 
    183     function destroy() { 
     187    function destroy() 
     188    { 
    184189        parent::destroy(); 
    185190    } 
     
    191196     * @return void 
    192197     */ 
    193     function lfInitParamSearchCustomer(&$objFormParam) { 
     198    function lfInitParamSearchCustomer(&$objFormParam) 
     199    { 
    194200        SC_Helper_Customer_Ex::sfSetSearchParam($objFormParam); 
    195201        $objFormParam->addParam('配信形式', 'search_htmlmail', INT_LEN, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     
    203209     * @return void 
    204210     */ 
    205     function lfAddParamSelectTemplate(&$objFormParam) { 
     211    function lfAddParamSelectTemplate(&$objFormParam) 
     212    { 
    206213        $objFormParam->addParam('メール形式', 'mail_method', INT_LEN, 'n', array('EXIST_CHECK','ALNUM_CHECK')); 
    207214        $objFormParam->addParam('Subject', 'subject', STEXT_LEN, 'KVa', array('EXIST_CHECK','SPTAB_CHECK','MAX_LENGTH_CHECK')); 
     
    216223     * @return array key:template_id value:サブジェクト【配信形式】 
    217224     */ 
    218     function lfGetMailTemplateList($arrTemplate) { 
     225    function lfGetMailTemplateList($arrTemplate) 
     226    { 
    219227        if (is_array($arrTemplate)) { 
    220228            foreach ($arrTemplate as $line) { 
     
    232240     * @return void 
    233241     */ 
    234     function lfGetTemplateData(&$objFormParam, $template_id) { 
     242    function lfGetTemplateData(&$objFormParam, $template_id) 
     243    { 
    235244        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    236245        $objQuery->setOrder('template_id DESC'); 
     
    245254     * @return integer 登録した行の dtb_send_history.send_id の値 
    246255     */ 
    247     function lfRegisterData(&$objFormParam) { 
     256    function lfRegisterData(&$objFormParam) 
     257    { 
    248258        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    249259 
     
    289299     * @return array 
    290300     */ 
    291     function lfGetMailQuery($send_id) { 
     301    function lfGetMailQuery($send_id) 
     302    { 
    292303 
    293304        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
  • branches/version-2_12-dev/data/class/pages/admin/mail/LC_Page_Admin_Mail_History.php

    r22206 r22567  
    3232 * @version $Id$ 
    3333 */ 
    34 class LC_Page_Admin_Mail_History extends LC_Page_Admin_Ex { 
     34class LC_Page_Admin_Mail_History extends LC_Page_Admin_Ex  
     35{ 
    3536 
    3637    // }}} 
     
    4243     * @return void 
    4344     */ 
    44     function init() { 
     45    function init() 
     46    { 
    4547        parent::init(); 
    4648        $this->tpl_mainpage = 'mail/history.tpl'; 
     
    5759     * @return void 
    5860     */ 
    59     function process() { 
     61    function process() 
     62    { 
    6063        $this->action(); 
    6164        $this->sendResponse(); 
     
    6770     * @return void 
    6871     */ 
    69     function action() { 
     72    function action() 
     73    { 
    7074 
    7175        switch ($this->getMode()) { 
     
    9195     * @return void 
    9296     */ 
    93     function destroy() { 
     97    function destroy() 
     98    { 
    9499        parent::destroy(); 
    95100    } 
     
    101106     * @return array( integer 全体件数, mixed メール配信データ一覧配列, mixed SC_PageNaviオブジェクト) 
    102107     */ 
    103     function lfDoSearch($search_pageno = 1) { 
     108    function lfDoSearch($search_pageno = 1) 
     109    { 
    104110 
    105111        // 引数の初期化 
     
    140146     * @return void 
    141147     */ 
    142     function lfDeleteHistory($send_id) { 
     148    function lfDeleteHistory($send_id) 
     149    { 
    143150            $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    144151            $objQuery->update('dtb_send_history', 
  • branches/version-2_12-dev/data/class/pages/admin/mail/LC_Page_Admin_Mail_Preview.php

    r22206 r22567  
    3131 * @version $Id$ 
    3232 */ 
    33 class LC_Page_Admin_Mail_Preview extends LC_Page_Admin_Ex { 
     33class LC_Page_Admin_Mail_Preview extends LC_Page_Admin_Ex  
     34{ 
    3435 
    3536    // }}} 
     
    4142     * @return void 
    4243     */ 
    43     function init() { 
     44    function init() 
     45    { 
    4446        parent::init(); 
    4547        $this->tpl_subtitle = 'プレビュー'; 
     
    5254     * @return void 
    5355     */ 
    54     function process() { 
     56    function process() 
     57    { 
    5558        $this->action(); 
    5659        $this->sendResponse(); 
     
    6265     * @return void 
    6366     */ 
    64     function action() { 
     67    function action() 
     68    { 
    6569 
    6670        $objMailHelper = new SC_Helper_Mail_Ex(); 
     
    9498     * @return void 
    9599     */ 
    96     function destroy() { 
     100    function destroy() 
     101    { 
    97102        parent::destroy(); 
    98103    } 
  • branches/version-2_12-dev/data/class/pages/admin/mail/LC_Page_Admin_Mail_Template.php

    r22206 r22567  
    3232 * @version $Id$ 
    3333 */ 
    34 class LC_Page_Admin_Mail_Template extends LC_Page_Admin_Ex { 
     34class LC_Page_Admin_Mail_Template extends LC_Page_Admin_Ex  
     35{ 
    3536 
    3637    // }}} 
     
    4243     * @return void 
    4344     */ 
    44     function init() { 
     45    function init() 
     46    { 
    4547        parent::init(); 
    4648        $this->tpl_mainpage = 'mail/template.tpl'; 
     
    5961     * @return void 
    6062     */ 
    61     function process() { 
     63    function process() 
     64    { 
    6265        $this->action(); 
    6366        $this->sendResponse(); 
     
    6972     * @return void 
    7073     */ 
    71     function action() { 
     74    function action() 
     75    { 
    7276 
    7377        $objMailHelper = new SC_Helper_Mail_Ex(); 
     
    9397     * @return void 
    9498     */ 
    95     function destroy() { 
     99    function destroy() 
     100    { 
    96101        parent::destroy(); 
    97102    } 
     
    102107     * @return void 
    103108     */ 
    104     function lfDeleteMailTemplate($template_id) { 
     109    function lfDeleteMailTemplate($template_id) 
     110    { 
    105111        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    106112        $objQuery->update('dtb_mailmaga_template', 
  • branches/version-2_12-dev/data/class/pages/admin/mail/LC_Page_Admin_Mail_TemplateInput.php

    r22206 r22567  
    3232 * @version $Id$ 
    3333 */ 
    34 class LC_Page_Admin_Mail_TemplateInput extends LC_Page_Admin_Ex { 
     34class LC_Page_Admin_Mail_TemplateInput extends LC_Page_Admin_Ex  
     35{ 
    3536 
    3637    // }}} 
     
    4243     * @return void 
    4344     */ 
    44     function init() { 
     45    function init() 
     46    { 
    4547        parent::init(); 
    4648        $this->tpl_mainpage = 'mail/template_input.tpl'; 
     
    5961     * @return void 
    6062     */ 
    61     function process() { 
     63    function process() 
     64    { 
    6265        $this->action(); 
    6366        $this->sendResponse(); 
     
    6972     * @return void 
    7073     */ 
    71     function action() { 
     74    function action() 
     75    { 
    7276 
    7377        $objMailHelper = new SC_Helper_Mail_Ex(); 
     
    115119     * @return void 
    116120     */ 
    117     function destroy() { 
     121    function destroy() 
     122    { 
    118123        parent::destroy(); 
    119124    } 
     
    126131     * @return void 
    127132     */ 
    128     function lfRegistData(&$objFormParam, $template_id = null) { 
     133    function lfRegistData(&$objFormParam, $template_id = null) 
     134    { 
    129135 
    130136        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
     
    154160     * @return void 
    155161     */ 
    156     function lfInitParam(&$objFormParam) { 
     162    function lfInitParam(&$objFormParam) 
     163    { 
    157164        $objFormParam->addParam('メール形式', 'mail_method', INT_LEN, 'n', array('EXIST_CHECK','ALNUM_CHECK')); 
    158165        $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.