Ignore:
Timestamp:
2013/08/26 15:52:37 (11 years ago)
Author:
m_uehara
Message:

#2348 r23116 - r23125 をマージ

File:
1 edited

Legend:

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

    r22856 r23126  
    3030class SC_Display 
    3131{ 
    32     var $response; 
     32    public $response; 
    3333 
    3434    /** 端末種別を保持する */ 
    3535    // XXX プロパティとして保持する必要があるのか疑問。 
    36     static $device; 
     36    public static $device; 
    3737 
    3838    /** SC_View インスタンス */ 
    39     var $view; 
     39    public $view; 
    4040 
    41     var $deviceSeted = false; 
     41    public $deviceSeted = false; 
    4242 
    4343    /* 
     
    4949     */ 
    5050 
    51     function __construct($hasPrevURL = true) 
     51    public function __construct($hasPrevURL = true) 
    5252    { 
    5353        $this->response = new SC_Response_Ex(); 
     
    5757    } 
    5858 
    59     function setPrevURL() 
     59    public function setPrevURL() 
    6060    { 
    6161        // TODO SC_SiteSession で実装した方が良さげ 
     
    7070     * @param $is_admin boolean 管理画面を扱う場合 true 
    7171     */ 
    72     function prepare($page, $is_admin = false) 
     72    public function prepare($page, $is_admin = false) 
    7373    { 
    7474        if (!$this->deviceSeted || !is_null($this->view)) { 
     
    8686     * SC_Response::reload() のラッパーです. 
    8787     */ 
    88     function reload($queryString = array(), $removeQueryString = false) 
     88    public function reload($queryString = array(), $removeQueryString = false) 
    8989    { 
    9090        $this->response->reload($queryString, $removeQueryString); 
    9191    } 
    9292 
    93     function noAction() 
     93    public function noAction() 
    9494    { 
    9595        return; 
     
    9999     * ヘッダを追加する. 
    100100     */ 
    101     function addHeader($name, $value) 
     101    public function addHeader($name, $value) 
    102102    { 
    103103        $this->response->addHeader($name, $value); 
     
    108108     * Enter description here ... 
    109109     */ 
    110     function setDevice($device = DEVICE_TYPE_PC) 
     110    public function setDevice($device = DEVICE_TYPE_PC) 
    111111    { 
    112112        switch ($device) { 
     
    133133     * SC_View インスタンスを設定する. 
    134134     */ 
    135     function setView($view) 
     135    public function setView($view) 
    136136    { 
    137137        $this->view = $view; 
     
    146146     * 
    147147     * @static 
    148      * @param   $reset boolean 
     148     * @param          $reset boolean 
    149149     * @return integer 端末種別ID 
    150150     */ 
     
    166166    } 
    167167 
    168     function assign($val1,$val2) 
     168    public function assign($val1,$val2) 
    169169    { 
    170170        $this->view->assign($val1, $val2); 
    171171    } 
    172172 
    173     function assignobj($obj) 
     173    public function assignobj($obj) 
    174174    { 
    175175        $this->view->assignobj($obj); 
    176176    } 
    177177 
    178     function assignarray($array) 
     178    public function assignarray($array) 
    179179    { 
    180180        $this->view->assignarray($array); 
Note: See TracChangeset for help on using the changeset viewer.