Changeset 23126 for branches/version-2_13_0/data/class/SC_Display.php
- Timestamp:
- 2013/08/26 15:52:37 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13_0/data/class/SC_Display.php
r22856 r23126 30 30 class SC_Display 31 31 { 32 var$response;32 public $response; 33 33 34 34 /** 端末種別を保持する */ 35 35 // XXX プロパティとして保持する必要があるのか疑問。 36 static $device;36 public static $device; 37 37 38 38 /** SC_View インスタンス */ 39 var$view;39 public $view; 40 40 41 var$deviceSeted = false;41 public $deviceSeted = false; 42 42 43 43 /* … … 49 49 */ 50 50 51 function __construct($hasPrevURL = true)51 public function __construct($hasPrevURL = true) 52 52 { 53 53 $this->response = new SC_Response_Ex(); … … 57 57 } 58 58 59 function setPrevURL()59 public function setPrevURL() 60 60 { 61 61 // TODO SC_SiteSession で実装した方が良さげ … … 70 70 * @param $is_admin boolean 管理画面を扱う場合 true 71 71 */ 72 function prepare($page, $is_admin = false)72 public function prepare($page, $is_admin = false) 73 73 { 74 74 if (!$this->deviceSeted || !is_null($this->view)) { … … 86 86 * SC_Response::reload() のラッパーです. 87 87 */ 88 function reload($queryString = array(), $removeQueryString = false)88 public function reload($queryString = array(), $removeQueryString = false) 89 89 { 90 90 $this->response->reload($queryString, $removeQueryString); 91 91 } 92 92 93 function noAction()93 public function noAction() 94 94 { 95 95 return; … … 99 99 * ヘッダを追加する. 100 100 */ 101 function addHeader($name, $value)101 public function addHeader($name, $value) 102 102 { 103 103 $this->response->addHeader($name, $value); … … 108 108 * Enter description here ... 109 109 */ 110 function setDevice($device = DEVICE_TYPE_PC)110 public function setDevice($device = DEVICE_TYPE_PC) 111 111 { 112 112 switch ($device) { … … 133 133 * SC_View インスタンスを設定する. 134 134 */ 135 function setView($view)135 public function setView($view) 136 136 { 137 137 $this->view = $view; … … 146 146 * 147 147 * @static 148 * @param $resetboolean148 * @param $reset boolean 149 149 * @return integer 端末種別ID 150 150 */ … … 166 166 } 167 167 168 function assign($val1,$val2)168 public function assign($val1,$val2) 169 169 { 170 170 $this->view->assign($val1, $val2); 171 171 } 172 172 173 function assignobj($obj)173 public function assignobj($obj) 174 174 { 175 175 $this->view->assignobj($obj); 176 176 } 177 177 178 function assignarray($array)178 public function assignarray($array) 179 179 { 180 180 $this->view->assignarray($array);
Note: See TracChangeset
for help on using the changeset viewer.