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

File:
1 edited

Legend:

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

    r22206 r22567  
    2727 * @auther Yu Nobira 
    2828 */ 
    29 class SC_SmartphoneUserAgent { 
     29class SC_SmartphoneUserAgent  
     30{ 
    3031 
    3132    /** 
     
    3536     * @return boolean 
    3637     */ 
    37     function isSmartphone() { 
     38    function isSmartphone() 
     39    { 
    3840        $nu = new Net_UserAgent_Mobile(); 
    3941        // SPでかつPC表示OFFの場合 
     
    4648     * @return boolean 
    4749     */ 
    48     function isNonSmartphone() { 
     50    function isNonSmartphone() 
     51    { 
    4952        return !SC_SmartphoneUserAgent_Ex::isSmartphone(); 
    5053    } 
     
    5558     * @return string 
    5659     */ 
    57     function getSmartphonePcFlag() { 
     60    function getSmartphonePcFlag() 
     61    { 
    5862        $_SESSION['pc_disp'] = empty($_SESSION['pc_disp']) ? false : $_SESSION['pc_disp']; 
    5963        return $_SESSION['pc_disp']; 
     
    6367     * PC表示ON 
    6468     */ 
    65     function setPcDisplayOn() { 
     69    function setPcDisplayOn() 
     70    { 
    6671        $_SESSION['pc_disp'] = true; 
    6772    } 
     
    7075     * PC表示OFF 
    7176     */ 
    72     function setPcDisplayOff() { 
     77    function setPcDisplayOff() 
     78    { 
    7379        $_SESSION['pc_disp'] = false; 
    7480    } 
Note: See TracChangeset for help on using the changeset viewer.