Changeset 21479 for branches/version-2_12-dev/data/class/SC_Display.php
- Timestamp:
- 2012/02/11 04:20:07 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_Display.php
r21441 r21479 54 54 } 55 55 56 function setPrevURL() {56 function setPrevURL() { 57 57 // TODO SC_SiteSession で実装した方が良さげ 58 58 $objCartSess = new SC_CartSession_Ex(); … … 66 66 * @param $is_admin boolean 管理画面を扱う場合 true 67 67 */ 68 function prepare($page, $is_admin = false) {68 function prepare($page, $is_admin = false) { 69 69 if (!$this->deviceSeted || !is_null($this->view)) { 70 70 $device = ($is_admin) ? DEVICE_TYPE_ADMIN : $this->detectDevice(); … … 80 80 * SC_Response::reload() のラッパーです. 81 81 */ 82 function reload($queryString = array(), $removeQueryString = false) {82 function reload($queryString = array(), $removeQueryString = false) { 83 83 $this->response->reload($queryString, $removeQueryString); 84 84 } 85 85 86 function noAction() {86 function noAction() { 87 87 return; 88 88 } … … 91 91 * ヘッダを追加する. 92 92 */ 93 function addHeader($name, $value) {93 function addHeader($name, $value) { 94 94 $this->response->addHeader($name, $value); 95 95 } … … 99 99 * Enter description here ... 100 100 */ 101 function setDevice($device = DEVICE_TYPE_PC) {101 function setDevice($device = DEVICE_TYPE_PC) { 102 102 103 103 switch ($device) { … … 121 121 * SC_View インスタンスを設定する. 122 122 */ 123 function setView($view) {123 function setView($view) { 124 124 $this->view = $view; 125 125 } … … 135 135 * @return integer 端末種別ID 136 136 */ 137 function detectDevice() {137 function detectDevice() { 138 138 $nu = new Net_UserAgent_Mobile(); 139 139 $su = new SC_SmartphoneUserAgent_Ex(); … … 148 148 } 149 149 150 function assign($val1,$val2) {150 function assign($val1,$val2) { 151 151 $this->view->assign($val1, $val2); 152 152 } 153 153 154 function assignobj($obj) {154 function assignobj($obj) { 155 155 $this->view->assignobj($obj); 156 156 } 157 157 158 function assignarray($array) {158 function assignarray($array) { 159 159 $this->view->assignarray($array); 160 160 }
Note: See TracChangeset
for help on using the changeset viewer.
