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

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

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

Legend:

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

    r21420 r21441  
    5959        $this->_smarty->default_modifiers = array('script_escape'); 
    6060 
    61         if(ADMIN_MODE == '1') { 
     61        if (ADMIN_MODE == '1') { 
    6262            $this->time_start = SC_Utils_Ex::sfMicrotimeFloat(); 
    6363        } 
     
    8282     */ 
    8383    function getResponse($template, $no_error = false) { 
    84         if(!$no_error) { 
     84        if (!$no_error) { 
    8585            global $GLOBAL_ERR; 
    86             if(!defined('OUTPUT_ERR')) { 
     86            if (!defined('OUTPUT_ERR')) { 
    8787                // GLOBAL_ERR を割り当て 
    8888                $this->assign("GLOBAL_ERR", $GLOBAL_ERR); 
     
    9191        } 
    9292        $res =  $this->_smarty->fetch($template); 
    93         if(ADMIN_MODE == '1') { 
     93        if (ADMIN_MODE == '1') { 
    9494            $time_end = SC_Utils_Ex::sfMicrotimeFloat(); 
    9595            $time = $time_end - $this->time_start; 
     
    101101    // テンプレートの処理結果を表示 
    102102    function display($template, $no_error = false) { 
    103         if(!$no_error) { 
     103        if (!$no_error) { 
    104104            global $GLOBAL_ERR; 
    105             if(!defined('OUTPUT_ERR')) { 
     105            if (!defined('OUTPUT_ERR')) { 
    106106                // GLOBAL_ERR を割り当て 
    107107                $this->assign("GLOBAL_ERR", $GLOBAL_ERR); 
     
    111111 
    112112        $this->_smarty->display($template); 
    113         if(ADMIN_MODE == '1') { 
     113        if (ADMIN_MODE == '1') { 
    114114            $time_end = SC_Utils_Ex::sfMicrotimeFloat(); 
    115115            $time = $time_end - $this->time_start; 
     
    122122        $data = get_object_vars($obj); 
    123123 
    124         foreach ($data as $key => $value){ 
     124        foreach ($data as $key => $value) { 
    125125            $this->_smarty->assign($key, $value); 
    126126        } 
Note: See TracChangeset for help on using the changeset viewer.