Changeset 19004


Ignore:
Timestamp:
2010/11/06 20:43:00 (13 years ago)
Author:
miningbrownie
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_5-E/data/class/SC_Display.php

    r19003 r19004  
    66    var $device; 
    77 
     8     
     9    // TODO php4を捨てたときに ここのコメントアウトを外してね。 
     10    /* 
     11     * const('MOBILE',1); 
     12     * const('SMARTPHONE',2); 
     13     * const('PC',4); 
     14     */ 
     15     
    816    function SC_Display(){ 
    917        require_once(CLASS_EX_PATH."/SC_Response_Ex.php"); 
     
    1927    function hoge(LC_Page $page){ 
    2028        $this->assign($page); 
     29         
    2130    } 
    22      
    2331     
    2432    function setDevice(){ 
     
    2937     * 機種を判別する。 
    3038     * SC_Display::MOBILE = ガラケー = 1 
    31      * SC_Display::SMARTPOHNE = スマホ = 2 
     39     * SC_Display::SMARTPHONE = スマホ = 2 
    3240     * SC_Display::PC = PC = 4 
    3341     * ※PHP4の為にconstは使っていません。 1がガラケーで、2がスマホで4がPCです。 
Note: See TracChangeset for help on using the changeset viewer.