Ignore:
Timestamp:
2013/05/02 18:11:36 (13 years ago)
Author:
h_yoshimoto
Message:

#2236 2.12.3リリース以降の2.12-devへのコミット差し戻し

File:
1 edited

Legend:

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

    r22567 r22796  
    2727 * @auther Yu Nobira 
    2828 */ 
    29 class SC_SmartphoneUserAgent  
    30 { 
     29class SC_SmartphoneUserAgent { 
    3130 
    3231    /** 
    … …  
    3635     * @return boolean 
    3736     */ 
    38     function isSmartphone() 
    39     { 
     37    function isSmartphone() { 
    4038        $nu = new Net_UserAgent_Mobile(); 
    4139        // SPでかつPC表示OFFの場合 
    … …  
    4846     * @return boolean 
    4947     */ 
    50     function isNonSmartphone() 
    51     { 
     48    function isNonSmartphone() { 
    5249        return !SC_SmartphoneUserAgent_Ex::isSmartphone(); 
    5350    } 
    … …  
    5855     * @return string 
    5956     */ 
    60     function getSmartphonePcFlag() 
    61     { 
     57    function getSmartphonePcFlag() { 
    6258        $_SESSION['pc_disp'] = empty($_SESSION['pc_disp']) ? false : $_SESSION['pc_disp']; 
    6359        return $_SESSION['pc_disp']; 
    … …  
    6763     * PC表示ON 
    6864     */ 
    69     function setPcDisplayOn() 
    70     { 
     65    function setPcDisplayOn() { 
    7166        $_SESSION['pc_disp'] = true; 
    7267    } 
    … …  
    7570     * PC表示OFF 
    7671     */ 
    77     function setPcDisplayOff() 
    78     { 
     72    function setPcDisplayOff() { 
    7973        $_SESSION['pc_disp'] = false; 
    8074    } 
Note: See TracChangeset for help on using the changeset viewer.