Changeset 17199
- Timestamp:
- 2008/04/02 16:03:31 (15 years ago)
- Location:
- branches/version-2/data/class
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2/data/class/pages/products/LC_Page_Products_List.php
r17168 r17199 73 73 */ 74 74 function process() { 75 $objView = new SC_SiteView(); 75 76 $conn = new SC_DBConn(); 76 77 $objDb = new SC_Helper_DB_Ex(); 78 79 // レイアウトデザインを取得 80 $helper = new SC_Helper_PageLayout_Ex(); 81 $helper->sfGetPageLayout($this, false, DEF_LAYOUT); 77 82 78 83 //表示件数の選択 … … 191 196 $this->arrSearch = $arrSearch; 192 197 193 SC_Utils_Ex::sfCustomDisplay($this); 198 $objView->assignobj($this); 199 $objView->display(SITE_FRAME); 194 200 } 195 201 … … 211 217 */ 212 218 function mobileProcess() { 219 $objView = new SC_MobileView(); 213 220 $conn = new SC_DBConn(); 214 221 $objDb = new SC_Helper_DB_Ex(); … … 336 343 } 337 344 338 339 345 $this->tpl_subtitle = $tpl_subtitle; 340 346 $this->tpl_search_mode = $tpl_search_mode; … … 348 354 $this->arrSearch = $arrSearch; 349 355 $this->tpl_mainpage = MOBILE_TEMPLATE_DIR . "products/list.tpl"; 350 SC_Utils_Ex::sfCustomDisplay($this, true); 356 357 $objView->assignobj($this); 358 $objView->display(SITE_FRAME); 351 359 } 352 360 -
branches/version-2/data/class/util/SC_Utils.php
r17121 r17199 1221 1221 } 1222 1222 1223 // 出力の際にテンプレートを切り替えられる 1224 /* 1225 index.php?tpl=test.tpl 1226 */ 1223 /** 1224 * テンプレートを切り替えて出力する 1225 * 1226 * @deprecated 2008/04/02以降使用不可 1227 */ 1227 1228 function sfCustomDisplay(&$objPage, $is_mobile = false) { 1228 1229 $basename = basename($_SERVER["REQUEST_URI"]); … … 1243 1244 1244 1245 $template_path = TEMPLATE_FTP_DIR . $tpl_name; 1245 1246 echo $template_path; 1246 1247 if($is_mobile === true) { 1247 1248 $objView = new SC_MobileView();
Note: See TracChangeset
for help on using the changeset viewer.