Ignore:
Timestamp:
2012/02/11 04:20:07 (15 years ago)
Author:
Seasoft
Message:

#1625 (typo修正・ソース整形・ソースコメントの改善)

  • ソース整形(主に制御構造のスペース)
File:
1 edited

Legend:

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

    r21441 r21479  
    5454    } 
    5555 
    56     function setPrevURL(){ 
     56    function setPrevURL() { 
    5757        // TODO SC_SiteSession で実装した方が良さげ 
    5858        $objCartSess = new SC_CartSession_Ex(); 
    … …  
    6666     * @param $is_admin boolean 管理画面を扱う場合 true 
    6767     */ 
    68     function prepare($page, $is_admin = false){ 
     68    function prepare($page, $is_admin = false) { 
    6969        if (!$this->deviceSeted || !is_null($this->view)) { 
    7070            $device = ($is_admin) ? DEVICE_TYPE_ADMIN : $this->detectDevice(); 
    … …  
    8080     * SC_Response::reload() のラッパーです. 
    8181     */ 
    82     function reload($queryString = array(), $removeQueryString = false){ 
     82    function reload($queryString = array(), $removeQueryString = false) { 
    8383        $this->response->reload($queryString, $removeQueryString); 
    8484    } 
    8585 
    86     function noAction(){ 
     86    function noAction() { 
    8787        return; 
    8888    } 
    … …  
    9191     * ヘッダを追加する. 
    9292     */ 
    93     function addHeader($name, $value){ 
     93    function addHeader($name, $value) { 
    9494        $this->response->addHeader($name, $value); 
    9595    } 
    … …  
    9999     * Enter description here ... 
    100100     */ 
    101     function setDevice($device = DEVICE_TYPE_PC){ 
     101    function setDevice($device = DEVICE_TYPE_PC) { 
    102102 
    103103        switch ($device) { 
    … …  
    121121     * SC_View インスタンスを設定する. 
    122122     */ 
    123     function setView($view){ 
     123    function setView($view) { 
    124124        $this->view = $view; 
    125125    } 
    … …  
    135135     * @return integer 端末種別ID 
    136136     */ 
    137     function detectDevice(){ 
     137    function detectDevice() { 
    138138        $nu = new Net_UserAgent_Mobile(); 
    139139        $su = new SC_SmartphoneUserAgent_Ex(); 
    … …  
    148148    } 
    149149 
    150     function assign($val1,$val2){ 
     150    function assign($val1,$val2) { 
    151151        $this->view->assign($val1, $val2); 
    152152    } 
    153153 
    154     function assignobj($obj){ 
     154    function assignobj($obj) { 
    155155        $this->view->assignobj($obj); 
    156156    } 
    157157 
    158     function assignarray($array){ 
     158    function assignarray($array) { 
    159159        $this->view->assignarray($array); 
    160160    } 
Note: See TracChangeset for help on using the changeset viewer.