- Timestamp:
- 2013/06/08 16:35:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/pages/products/LC_Page_Products_Detail.php
r22608 r22856 22 22 */ 23 23 24 // {{{ requires25 24 require_once CLASS_EX_REALDIR . 'page_extends/LC_Page_Ex.php'; 26 25 … … 35 34 * @version $Id:LC_Page_Products_Detail.php 15532 2007-08-31 14:39:46Z nanasess $ 36 35 */ 37 class LC_Page_Products_Detail extends LC_Page_Ex 36 class LC_Page_Products_Detail extends LC_Page_Ex 38 37 { 39 40 38 /** 商品ステータス */ 41 39 var $arrSTATUS; … … 59 57 var $mode; 60 58 61 // }}}62 // {{{ functions63 59 64 60 /** … … 266 262 SC_Utils_Ex::sfDispSiteError(PRODUCT_NOT_FOUND); 267 263 } 264 268 265 return $product_id; 269 266 } … … 276 273 $objUpFile->addFile("詳細-サブ画像$cnt", "sub_image$cnt", array('jpg'), IMAGE_SIZE); 277 274 } 275 278 276 return $objUpFile; 279 277 } … … 291 289 function lfMakeSelectMobile(&$objPage, $product_id,$request_classcategory_id1) 292 290 { 293 294 291 $classcat_find1 = false; 295 292 $classcat_find2 = false; … … 374 371 { 375 372 $objProduct = new SC_Product_Ex(); 373 376 374 return $objProduct->getProductsClassFullByProductId($product_id); 377 375 } … … 405 403 function lfCheckError($mode,&$objFormParam,$tpl_classcat_find1 = null ,$tpl_classcat_find2 = null) 406 404 { 407 408 405 switch ($mode) { 409 406 case 'add_favorite_sphone': … … 447 444 $arrWhereVal = array($id); 448 445 $arrReview = $objQuery->select($col, $from, $where, $arrWhereVal); 446 449 447 return $arrReview; 450 448 } … … 468 466 } 469 467 } 468 470 469 return $subImageFlag; 471 470 } … … 503 502 /** 504 503 * Add product(s) into the cart. 505 * 506 * @return void 504 * 505 * @return void 507 506 */ 508 507 function doCart() … … 530 529 * Add product to authenticated user's favorites. 531 530 * 532 * @param type $objCustomer 531 * @param type $objCustomer 533 532 * @return void 534 533 */ … … 540 539 if (count($this->arrErr) == 0) { 541 540 if (!$this->lfRegistFavoriteProduct($this->objFormParam->getValue('favorite_product_id'),$objCustomer->getValue('customer_id'))) { 542 543 541 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 544 542 $objPlugin->doAction('LC_Page_Products_Detail_action_add_favorite', array($this)); … … 553 551 * Add product to authenticated user's favorites. (for Smart phone) 554 552 * 555 * @param type $objCustomer 553 * @param type $objCustomer 556 554 * @return void 557 555 */ … … 563 561 if (count($this->arrErr) == 0) { 564 562 if ($this->lfRegistFavoriteProduct($this->objFormParam->getValue('favorite_product_id'),$objCustomer->getValue('customer_id'))) { 565 566 563 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 567 564 $objPlugin->doAction('LC_Page_Products_Detail_action_add_favorite_sphone', array($this)); … … 577 574 578 575 /** 579 * 580 * 581 * @return void 576 * 577 * 578 * @return void 582 579 */ 583 580 function doDefault() … … 589 586 590 587 /** 591 * 588 * 592 589 * @return void 593 590 */ … … 607 604 /** 608 605 * 609 * @return type 606 * @return type 610 607 */ 611 608 function doMobileSelect2() … … 632 629 633 630 /** 634 * 631 * 635 632 * @return void 636 633 */ … … 676 673 /** 677 674 * 678 * @return void 675 * @return void 679 676 */ 680 677 function doMobileCart() … … 689 686 /** 690 687 * 691 * @return void 688 * @return void 692 689 */ 693 690 function doMobileDefault()
Note: See TracChangeset
for help on using the changeset viewer.