Changeset 21594 for branches/version-2_12-dev/data/class/pages/products
- Timestamp:
- 2012/03/06 20:11:36 (12 years ago)
- Location:
- branches/version-2_12-dev/data/class/pages/products
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_CategoryList.php
r21514 r21594 62 62 */ 63 63 function action() { 64 // フックポイント. 65 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 66 $objPlugin->doAction('lc_page_products_categorylist_action_start', array($this)); 67 64 68 // カテゴリIDの正当性チェック 65 69 $this->lfCheckCategoryId(); … … 71 75 $this->arrChildren = $arrCategoryData['arrChildren']; 72 76 $this->tpl_subtitle = $this->arrCategory['category_name']; 77 78 // フックポイント. 79 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 80 $objPlugin->doAction('lc_page_products_categorylist_action_end', array($this)); 73 81 } 74 82 -
branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_Detail.php
r21563 r21594 92 92 */ 93 93 function action() { 94 // フックポイント. 95 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 96 $objPlugin->doAction('lc_page_products_detail_action_start', array($this)); 97 94 98 // 会員クラス 95 99 $objCustomer = new SC_Customer_Ex(); … … 157 161 158 162 $objCartSess->addProduct($product_class_id, $this->objFormParam->getValue('quantity')); 163 164 // フックポイント. 165 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 166 $objPlugin->doAction('lc_page_products_detail_action_cart', array($this)); 159 167 160 168 SC_Response_Ex::sendRedirect(CART_URLPATH); … … 168 176 if (count($this->arrErr) == 0) { 169 177 if (!$this->lfRegistFavoriteProduct($this->objFormParam->getValue('favorite_product_id'),$objCustomer->getValue('customer_id'))) { 178 // フックポイント. 179 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 180 $objPlugin->doAction('lc_page_products_detail_action_add_favorite', array($this)); 181 170 182 exit; 171 183 } … … 180 192 if (count($this->arrErr) == 0) { 181 193 if ($this->lfRegistFavoriteProduct($this->objFormParam->getValue('favorite_product_id'),$objCustomer->getValue('customer_id'))) { 194 // フックポイント. 195 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 196 $objPlugin->doAction('lc_page_products_detail_action_add_favorite_sphone', array($this)); 197 182 198 print 'true'; 183 199 exit; … … 308 324 $this->is_favorite = SC_Helper_DB_Ex::sfDataExists('dtb_customer_favorite_products', 'customer_id = ? AND product_id = ?', array($objCustomer->getValue('customer_id'), $product_id)); 309 325 } 310 326 // フックポイント. 327 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 328 $objPlugin->doAction('lc_page_products_detail_action_end', array($this)); 311 329 } 312 330 -
branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_List.php
r21563 r21594 95 95 */ 96 96 function action() { 97 $objQuery =& SC_Query_Ex::getSingletonInstance(); 97 // フックポイント. 98 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 99 $objPlugin->doAction('lc_page_products_list_action_start', array($this)); 100 98 101 $objProduct = new SC_Product_Ex(); 99 102 … … 137 140 $this->arrProducts[$key]['main_list_image'] = SC_Utils_Ex::sfNoImageMainList($val['main_list_image']); 138 141 } 139 142 // フックポイント. 143 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 144 $objPlugin->doAction('lc_page_products_list_action_json', array($this)); 145 140 146 echo SC_Utils_Ex::jsonEncode($this->arrProducts); 141 147 exit; … … 191 197 if (empty($arrErr)) { 192 198 $this->lfAddCart($this->arrForm, $_SERVER['HTTP_REFERER']); 199 200 // フックポイント. 201 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 202 $objPlugin->doAction('lc_page_products_list_action_cart', array($this)); 203 193 204 SC_Response_Ex::sendRedirect(CART_URLPATH); 194 205 exit; … … 211 222 212 223 $this->tpl_rnd = SC_Utils_Ex::sfGetRandomString(3); 213 224 225 // フックポイント. 226 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 227 $objPlugin->doAction('lc_page_products_list_action_end', array($this)); 214 228 } 215 229 -
branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_Review.php
r21526 r21594 79 79 */ 80 80 function action() { 81 // フックポイント. 82 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 83 $objPlugin->doAction('lc_page_products_review_action_start', array($this)); 84 81 85 $objFormParam = new SC_FormParam_Ex(); 82 86 $this->lfInitParam($objFormParam); … … 104 108 //登録実行 105 109 $this->lfRegistRecommendData($objFormParam); 110 111 // フックポイント. 112 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 113 $objPlugin->doAction('lc_page_products_review_action_complete', array($this)); 106 114 107 115 //レビュー書き込み完了ページへ … … 126 134 127 135 $this->setTemplate($this->tpl_mainpage); 136 137 // フックポイント. 138 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 139 $objPlugin->doAction('lc_page_products_review_action_end', array($this)); 128 140 } 129 141 -
branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_ReviewComplete.php
r21420 r21594 63 63 */ 64 64 function action() { 65 // フックポイント. 66 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 67 $objPlugin->doAction('lc_page_products_reviewcomplete_action_start', array($this)); 68 65 69 $this->setTemplate('products/review_complete.tpl'); 70 71 // フックポイント. 72 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 73 $objPlugin->doAction('lc_page_products_reviewcomplete_action_end', array($this)); 66 74 } 67 75 -
branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_Search.php
r21420 r21594 63 63 */ 64 64 function action() { 65 // フックポイント. 66 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 67 $objPlugin->doAction('lc_page_products_search_action_start', array($this)); 68 69 // フックポイント. 70 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 71 $objPlugin->doAction('lc_page_products_search_action_end', array($this)); 65 72 } 66 73
Note: See TracChangeset
for help on using the changeset viewer.