Changeset 19081
- Timestamp:
- 2010/11/06 22:05:57 (13 years ago)
- Location:
- branches/camp/camp-2_5-E/data/class/pages/products
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camp/camp-2_5-E/data/class/pages/products/LC_Page_Products_CategoryList.php
r18701 r19081 52 52 */ 53 53 function process() { 54 parent::process(); 55 $this->action(); 56 $this->sendResponse(); 54 57 } 58 59 /** 60 * Page のAction 61 * @return void 62 */ 63 function action() {} 55 64 56 65 /** … … 60 69 */ 61 70 function mobileInit() { 71 $this->init(); 62 72 $this->tpl_mainpage = MOBILE_TEMPLATE_DIR . 'products/category_list.tpl'; 63 73 $this->tpl_title = 'カテゴリ一覧ページ'; … … 65 75 66 76 /** 67 * Page のプロセス (モバイル).77 * Page のプロセス(モバイル). 68 78 * 69 79 * @return void 70 80 */ 71 function mobileProcess() { 81 function mobileProcess(){ 82 $this->action(); 83 $this->sendResponse(); 84 } 85 86 /** 87 * Page のAction(モバイル). 88 * 89 * @return void 90 */ 91 function mobileAction() { 72 92 // カテゴリIDの正当性チェック 73 93 $this->lfCheckCategoryId(); 74 94 75 $objView = new SC_MobileView();95 //$objView = new SC_MobileView(); 76 96 77 97 // レイアウトデザインを取得 … … 82 102 $this->lfGetCategories(@$_GET['category_id'], true, $this); 83 103 84 $objView->assignobj($this);85 $objView->display(SITE_FRAME);104 //$objView->assignobj($this); 105 //$objView->display(SITE_FRAME); 86 106 } 87 107 -
branches/camp/camp-2_5-E/data/class/pages/products/LC_Page_Products_Detail.php
r18876 r19081 78 78 */ 79 79 function process() { 80 parent::process(); 81 $this->action(); 82 } 83 84 /** 85 * Page のAction. 86 * 87 * @return void 88 */ 89 function action() { 80 90 // プロダクトIDの正当性チェック 81 91 $product_id = $this->lfCheckProductId(); … … 269 279 $this->lfConvertParam(); 270 280 271 $objView->assignobj($this);272 $objView->display(SITE_FRAME);281 //$objView->assignobj($this); 282 //$objView->display(SITE_FRAME); 273 283 } 274 284 … … 294 304 /** 295 305 * Page のプロセス(モバイル). 306 * @return void 307 */ 308 function mobileProcess() { 309 $this->mobileAction(); 310 $this->sendResponse(); 311 } 312 313 /** 314 * Page のプロセス(モバイル). 296 315 * 297 316 * FIXME 要リファクタリング … … 303 322 $product_id = $this->lfCheckProductId(); 304 323 305 $objView = new SC_MobileView();324 //$objView = new SC_MobileView(); 306 325 $objCustomer = new SC_Customer(); 307 326 $objQuery = new SC_Query(); … … 452 471 $this->arrRecommend = $this->lfPreGetRecommendProducts($product_id); 453 472 454 $objView->assignobj($this);455 $objView->display(SITE_FRAME);473 //$objView->assignobj($this); 474 //$objView->display(SITE_FRAME); 456 475 } 457 476 -
branches/camp/camp-2_5-E/data/class/pages/products/LC_Page_Products_List.php
r18862 r19081 86 86 $this->lfLoadParam(); 87 87 88 $objView = new SC_SiteView(!$this->inCart); 88 $this->action(); 89 90 $this->sendResponse(); 91 92 } 93 94 /** 95 * ページのアクション(旧process) 96 * @return void 97 */ 98 function action() { 99 //$objView = new SC_SiteView(!$this->inCart); 89 100 $objQuery = new SC_Query(); 90 101 $objDb = new SC_Helper_DB_Ex(); … … 176 187 } 177 188 } 189 178 190 $this->tpl_javascript .= 'function fnOnLoad(){' . $js_fnOnLoad . '}'; 179 191 $this->tpl_onload .= 'fnOnLoad(); '; 180 192 181 193 $this->tpl_rnd = SC_Utils_Ex::sfGetRandomString(3); 182 183 $objView->assignobj($this);184 $objView->display(SITE_FRAME);185 194 } 186 195 … … 197 206 * Page のプロセス(モバイル). 198 207 * 199 * FIXME スパゲッティ...200 *201 208 * @return void 202 209 */ … … 204 211 $this->lfLoadParam(); 205 212 206 $objView = new SC_MobileView(); 213 $this->mobieAction(); 214 215 $this->sendResponse(); 216 } 217 218 /** 219 * Page のAction(モバイル). 220 * 221 * FIXME スパゲッティ... 222 * 223 * @return void 224 */ 225 function mobieAction(){ 226 //$objView = new SC_MobileView(); 207 227 $objQuery = new SC_Query(); 208 228 $objDb = new SC_Helper_DB_Ex(); … … 263 283 264 284 $this->tpl_mainpage = MOBILE_TEMPLATE_DIR . "products/list.tpl"; 265 266 $objView->assignobj($this);267 $objView->display(SITE_FRAME);268 285 } 269 286 -
branches/camp/camp-2_5-E/data/class/pages/products/LC_Page_Products_Review.php
r18820 r19081 66 66 /** 67 67 * Page のプロセス. 68 */ 69 function process() { 70 $this->action(); 71 $this->sendResponse(); 72 } 73 74 /** 75 * Page のAction. 68 76 * 69 77 * @return void 70 78 */ 71 function process() {72 $objView = new SC_SiteView();79 function action() { 80 //$objView = new SC_SiteView(); 73 81 $objQuery = new SC_Query(); 74 82 … … 169 177 170 178 $this->transactionid = $this->getToken(); 171 $objView->assignobj($this);172 $objView->display($this->tpl_mainpage);179 //$objView->assignobj($this); 180 //$objView->display($this->tpl_mainpage); 173 181 } 174 182 -
branches/camp/camp-2_5-E/data/class/pages/products/LC_Page_Products_ReviewComplete.php
r18701 r19081 47 47 } 48 48 49 49 50 /** 50 51 * Page のプロセス. … … 53 54 */ 54 55 function process() { 56 parent::process(); 57 $this->action(); 58 $this->sendResponse(); 59 } 60 61 /** 62 * Page のAction. 63 * 64 * @return void 65 */ 66 function action() { 55 67 56 $objView = new SC_SiteView();68 //$objView = new SC_SiteView(); 57 69 58 $objView->assignobj($this);59 $objView->display($this->tpl_mainpage);70 //$objView->assignobj($this); 71 //$objView->display($this->tpl_mainpage); 60 72 } 61 73 -
branches/camp/camp-2_5-E/data/class/pages/products/LC_Page_Products_Search.php
r18701 r19081 52 52 */ 53 53 function process() { 54 parent::process(); 55 $this->action(); 56 $this->sendResponse(); 57 } 58 59 /** 60 * Page のプロセス. 61 * 62 * @return void 63 */ 64 function action() { 54 65 } 55 66 … … 60 71 */ 61 72 function mobileInit() { 73 $this->init(); 62 74 $this->tpl_mainpage = 'products/search.tpl'; 63 75 $this->tpl_title = '商品検索'; 76 } 77 78 /** 79 * Page のAction(モバイル). 80 * 81 * @return void 82 */ 83 function mobileProcess() { 84 $this->mobileAction(); 85 $this->sendResponse(); 64 86 } 65 87 … … 70 92 */ 71 93 function mobileProcess() { 72 $objView = new SC_MobileView();94 //$objView = new SC_MobileView(); 73 95 74 $objView->assignobj($this);75 $objView->display(SITE_FRAME);96 //$objView->assignobj($this); 97 //$objView->display(SITE_FRAME); 76 98 } 77 99
Note: See TracChangeset
for help on using the changeset viewer.