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/entry
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/entry/LC_Page_Entry.php

    r22206 r22567  
    3232 * @version $Id:LC_Page_Entry.php 15532 2007-08-31 14:39:46Z nanasess $ 
    3333 */ 
    34 class LC_Page_Entry extends LC_Page_Ex { 
     34class LC_Page_Entry extends LC_Page_Ex  
     35{ 
    3536 
    3637    // {{{ properties 
     
    4344     * @return void 
    4445     */ 
    45     function init() { 
     46    function init() 
     47    { 
    4648        parent::init(); 
    4749        $masterData         = new SC_DB_MasterData_Ex(); 
     
    6466     * @return void 
    6567     */ 
    66     function process() { 
     68    function process() 
     69    { 
    6770        parent::process(); 
    6871        $this->action(); 
     
    7477     * @return void 
    7578     */ 
    76     function action() { 
     79    function action() 
     80    { 
    7781 
    7882        $objFormParam = new SC_FormParam_Ex(); 
     
    167171     * @return void 
    168172     */ 
    169     function destroy() { 
     173    function destroy() 
     174    { 
    170175        parent::destroy(); 
    171176    } 
     
    179184     * @return uniqid 
    180185     */ 
    181     function lfRegistCustomerData($sqlval) { 
     186    function lfRegistCustomerData($sqlval) 
     187    { 
    182188        SC_Helper_Customer_Ex::sfEditCustomerData($sqlval); 
    183189        return $sqlval['secret_key']; 
     
    195201     * @return $arrResults 
    196202     */ 
    197     function lfMakeSqlVal(&$objFormParam) { 
     203    function lfMakeSqlVal(&$objFormParam) 
     204    { 
    198205        $arrForm                = $objFormParam->getHashArray(); 
    199206        $arrResults             = $objFormParam->getDbArray(); 
     
    230237     * @return void 
    231238     */ 
    232     function lfSendMail($uniqid, $arrForm) { 
     239    function lfSendMail($uniqid, $arrForm) 
     240    { 
    233241        $CONF           = SC_Helper_DB_Ex::sfGetBasisData(); 
    234242 
     
    285293     * @return boolean kiyaku.php からの妥当な遷移であれば true 
    286294     */ 
    287     function lfCheckReferer(&$post, $referer) { 
     295    function lfCheckReferer(&$post, $referer) 
     296    { 
    288297 
    289298        if (SC_Display_Ex::detectDevice() !== DEVICE_TYPE_MOBILE 
     
    301310     * @return array $arrErr エラーメッセージ配列 
    302311     */ 
    303     function lfCheckError($arrRequest) { 
     312    function lfCheckError($arrRequest) 
     313    { 
    304314        // パラメーター管理クラス 
    305315        $objFormParam = new SC_FormParam_Ex(); 
     
    330340     * @return エラーなし:true エラー:false 
    331341     */ 
    332     function lfInputNameCheck($value) { 
     342    function lfInputNameCheck($value) 
     343    { 
    333344        // 半角英数字と_(アンダーバー), []以外の文字を使用していたらエラー 
    334345        if (strlen($value) > 0 && !preg_match("/^[a-zA-Z0-9_\[\]]+$/", $value)) { 
  • branches/version-2_12-dev/data/class/pages/entry/LC_Page_Entry_Complete.php

    r22206 r22567  
    3232 * @version $Id$ 
    3333 */ 
    34 class LC_Page_Entry_Complete extends LC_Page_Ex { 
     34class LC_Page_Entry_Complete extends LC_Page_Ex  
     35{ 
    3536 
    3637    // }}} 
     
    4243     * @return void 
    4344     */ 
    44     function init() { 
     45    function init() 
     46    { 
    4547        parent::init(); 
    4648        $this->httpCacheControl('nocache'); 
     
    5254     * @return void 
    5355     */ 
    54     function process() { 
     56    function process() 
     57    { 
    5558        parent::process(); 
    5659        $this->action(); 
     
    6366     * @return void 
    6467     */ 
    65     function action() { 
     68    function action() 
     69    { 
    6670 
    6771        // カートが空かどうかを確認する。 
     
    9296     * @return void 
    9397     */ 
    94     function destroy() { 
     98    function destroy() 
     99    { 
    95100        parent::destroy(); 
    96101    } 
  • branches/version-2_12-dev/data/class/pages/entry/LC_Page_Entry_EmailMobile.php

    r22206 r22567  
    3232 * @version $Id$ 
    3333 */ 
    34 class LC_Page_Entry_EmailMobile extends LC_Page_Ex { 
     34class LC_Page_Entry_EmailMobile extends LC_Page_Ex  
     35{ 
    3536 
    3637    // }}} 
     
    4243     * @return void 
    4344     */ 
    44     function init() { 
     45    function init() 
     46    { 
    4547        parent::init(); 
    4648 
     
    5254     * @return void 
    5355     */ 
    54     function process() { 
     56    function process() 
     57    { 
    5558        parent::process(); 
    5659        $this->action(); 
     
    6366     * @return void 
    6467     */ 
    65     function action() { 
     68    function action() 
     69    { 
    6670 
    6771        $objCustomer    = new SC_Customer_Ex(); 
     
    9599     * @return void 
    96100     */ 
    97     function destroy() { 
     101    function destroy() 
     102    { 
    98103        parent::destroy(); 
    99104    } 
     
    105110     * @return void 
    106111     */ 
    107     function lfInitParam(&$objFormParam) { 
     112    function lfInitParam(&$objFormParam) 
     113    { 
    108114        $objFormParam->addParam('メールアドレス', 'email_mobile', null, 'a', 
    109115                                array('NO_SPTAB', 'EXIST_CHECK', 'CHANGE_LOWER', 'EMAIL_CHAR_CHECK', 'EMAIL_CHECK', 'MOBILE_EMAIL_CHECK')); 
     
    118124     * @return array エラー情報の配列 
    119125     */ 
    120     function lfCheckError(&$objFormParam) { 
     126    function lfCheckError(&$objFormParam) 
     127    { 
    121128        $objFormParam->convParam(); 
    122129        $objErr         = new SC_CheckError_Ex(); 
     
    140147     * @return void 
    141148     */ 
    142     function lfRegistEmailMobile($email_mobile, $customer_id) { 
     149    function lfRegistEmailMobile($email_mobile, $customer_id) 
     150    { 
    143151        $objQuery = SC_Query_Ex::getSingletonInstance(); 
    144152        $objQuery->update('dtb_customer', 
  • branches/version-2_12-dev/data/class/pages/entry/LC_Page_Entry_Kiyaku.php

    r22206 r22567  
    3232 * @version $Id$ 
    3333 */ 
    34 class LC_Page_Entry_Kiyaku extends LC_Page_Ex { 
     34class LC_Page_Entry_Kiyaku extends LC_Page_Ex  
     35{ 
    3536 
    3637    // }}} 
     
    4243     * @return void 
    4344     */ 
    44     function init() { 
     45    function init() 
     46    { 
    4547        parent::init(); 
    4648        $this->tpl_title = 'ご利用規約'; 
     
    5254     * @return void 
    5355     */ 
    54     function process() { 
     56    function process() 
     57    { 
    5558        parent::process(); 
    5659        $this->action(); 
     
    6366     * @return void 
    6467     */ 
    65     function action() { 
     68    function action() 
     69    { 
    6670 
    6771        $arrKiyaku = $this->lfGetKiyakuData(); 
     
    8387     * @return void 
    8488     */ 
    85     function destroy() { 
     89    function destroy() 
     90    { 
    8691        parent::destroy(); 
    8792    } 
     
    96101     * @return string 規約の内容をテキストエリアで表示するように整形したデータ 
    97102     */ 
    98     function lfMakeKiyakuText($arrKiyaku, $max, $offset) { 
     103    function lfMakeKiyakuText($arrKiyaku, $max, $offset) 
     104    { 
    99105        $this->tpl_kiyaku_text = ''; 
    100106        for ($i = 0; $i < $max; $i++) { 
     
    112118     * @return array $arrKiyaku 規約の配列 
    113119     */ 
    114     function lfGetKiyakuData() { 
     120    function lfGetKiyakuData() 
     121    { 
    115122 
    116123        $objQuery   = SC_Query_Ex::getSingletonInstance(); 
     
    130137     * @return int 
    131138     */ 
    132     function lfSetOffset($offset) { 
     139    function lfSetOffset($offset) 
     140    { 
    133141        return is_numeric($offset) === true ? intval($offset) : 1; 
    134142    } 
Note: See TracChangeset for help on using the changeset viewer.