Changeset 21594 for branches/version-2_12-dev/data/class/pages/frontparts
- Timestamp:
- 2012/03/06 20:11:36 (12 years ago)
- Location:
- branches/version-2_12-dev/data/class/pages/frontparts
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/frontparts/LC_Page_FrontParts_LoginCheck.php
r21527 r21594 65 65 */ 66 66 function action() { 67 // フックポイント. 68 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 69 $objPlugin->doAction('lc_page_frontparts_logincheck_action_start', array($this)); 70 67 71 // 会員管理クラス 68 72 $objCustomer = new SC_Customer_Ex(); … … 140 144 if (!$objMobile->gfIsMobileMailAddress($objCustomer->getValue('email'))) { 141 145 if (!$objCustomer->hasValue('email_mobile')) { 146 // フックポイント. 147 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 148 $objPlugin->doAction('lc_page_frontparts_logincheck_action_login_mobile', array($this)); 149 142 150 SC_Response_Ex::sendRedirectFromUrlPath('entry/email_mobile.php'); 143 151 exit; … … 145 153 } 146 154 } 147 155 148 156 // --- ログインに成功した場合 149 157 if (SC_Display_Ex::detectDevice() === DEVICE_TYPE_SMARTPHONE) { 158 // フックポイント. 159 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 160 $objPlugin->doAction('lc_page_frontparts_logincheck_action_login_smartphone', array($this)); 161 150 162 echo SC_Utils_Ex::jsonEncode(array('success' => $_POST['url'])); 151 163 } else { 164 // フックポイント. 165 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 166 $objPlugin->doAction('lc_page_frontparts_logincheck_action_login_pc', array($this)); 167 152 168 SC_Response_Ex::sendRedirect($_POST['url']); 153 169 } … … 194 210 $mypage_url_search = strpos('.'.$_POST['url'], 'mypage'); 195 211 if ($mypage_url_search == 2) { 212 // フックポイント. 213 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 214 $objPlugin->doAction('lc_page_frontparts_logincheck_action_logout_mypage', array($this)); 215 196 216 // マイページログイン中はログイン画面へ移行 197 217 SC_Response_Ex::sendRedirectFromUrlPath('mypage/login.php'); 198 218 } else { 219 // フックポイント. 220 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 221 $objPlugin->doAction('lc_page_frontparts_logincheck_action_logout_toppage', array($this)); 222 199 223 // 上記以外の場合、トップへ遷移 200 224 SC_Response_Ex::sendRedirect(HTTP_URL); … … 206 230 break; 207 231 } 208 232 // フックポイント. 233 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 234 $objPlugin->doAction('lc_page_frontparts_logincheck_action_end', array($this)); 209 235 } 210 236 -
branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Calendar.php
r21490 r21594 63 63 */ 64 64 function action() { 65 // フックポイント. 66 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 67 $objPlugin->doAction('lc_page_frontparts_bloc_calendar_action_start', array($this)); 68 65 69 // 休日取得取得 66 70 $this->arrHoliday = $this->lfGetHoliday(); … … 69 73 // カレンダーデータ取得 70 74 $this->arrCalendar = $this->lfGetCalendar(2); 75 76 // フックポイント. 77 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 78 $objPlugin->doAction('lc_page_frontparts_bloc_calendar_action_end', array($this)); 71 79 } 72 80 -
branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Cart.php
r21581 r21594 64 64 */ 65 65 function action() { 66 // フックポイント. 67 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 68 $objPlugin->doAction('lc_page_frontparts_bloc_cart_action_start', array($this)); 69 66 70 $objCart = new SC_CartSession_Ex(); 67 71 $this->isMultiple = $objCart->isMultiple(); … … 69 73 // 旧仕様との互換のため、不自然なセットとなっている 70 74 $this->arrCartList = array(0 => $this->lfGetCartData($objCart)); 75 76 // フックポイント. 77 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 78 $objPlugin->doAction('lc_page_frontparts_bloc_cart_action_end', array($this)); 71 79 } 72 80 -
branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Category.php
r21442 r21594 62 62 */ 63 63 function action() { 64 // フックポイント. 65 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 66 $objPlugin->doAction('lc_page_frontparts_bloc_category_action_start', array($this)); 67 64 68 // モバイル判定 65 69 switch (SC_Display_Ex::detectDevice()) { … … 75 79 break; 76 80 } 81 82 // フックポイント. 83 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 84 $objPlugin->doAction('lc_page_frontparts_bloc_category_action_end', array($this)); 77 85 } 78 86 -
branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Login.php
r21527 r21594 65 65 */ 66 66 function action() { 67 // フックポイント. 68 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 69 $objPlugin->doAction('lc_page_frontparts_bloc_login_action_start', array($this)); 70 67 71 $objCustomer = new SC_Customer_Ex(); 68 72 // クッキー管理クラス … … 90 94 //スマートフォン版ログアウト処理で不正なページ移動エラーを防ぐ為、トークンをセット 91 95 $this->transactionid = SC_Helper_Session_Ex::getToken(); 96 97 // フックポイント. 98 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 99 $objPlugin->doAction('lc_page_frontparts_bloc_login_action_end', array($this)); 92 100 } 93 101 -
branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_News.php
r21527 r21594 62 62 */ 63 63 function action() { 64 64 // フックポイント. 65 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 66 $objPlugin->doAction('lc_page_frontparts_bloc_news_action_start', array($this)); 67 65 68 $objFormParam = new SC_FormParam_Ex(); 66 69 switch ($this->getMode()) { … … 71 74 $this->arrErr = $objFormParam->checkError(false); 72 75 if (empty($this->arrErr)) { 76 // フックポイント. 77 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 78 $objPlugin->doAction('lc_page_frontparts_bloc_news_action_getList', array($this)); 79 73 80 $json = $this->lfGetNewsForJson($objFormParam); 74 81 echo $json; … … 85 92 $this->arrErr = $objFormParam->checkError(false); 86 93 if (empty($this->arrErr)) { 94 // フックポイント. 95 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 96 $objPlugin->doAction('lc_page_frontparts_bloc_news_action_getDetail', array($this)); 97 87 98 $json = $this->lfGetNewsDetailForJson($objFormParam); 88 99 echo $json; … … 98 109 break; 99 110 } 111 // フックポイント. 112 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 113 $objPlugin->doAction('lc_page_frontparts_bloc_news_action_end', array($this)); 100 114 } 101 115 -
branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Recommend.php
r21479 r21594 62 62 */ 63 63 function action() { 64 64 // フックポイント. 65 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 66 $objPlugin->doAction('lc_page_frontparts_bloc_recommend_action_start', array($this)); 67 65 68 // 基本情報を渡す 66 69 $objSiteInfo = SC_Helper_DB_Ex::sfGetBasisData(); … … 69 72 //おすすめ商品表示 70 73 $this->arrBestProducts = $this->lfGetRanking(); 74 75 // フックポイント. 76 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 77 $objPlugin->doAction('lc_page_frontparts_bloc_recommend_action_end', array($this)); 71 78 } 72 79 -
branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_SearchProducts.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_frontparts_bloc_searchproducts_action_start', array($this)); 67 64 68 // 商品ID取得 65 69 $product_id = $this -> lfGetProductId(); … … 76 80 // メーカー検索用選択リスト 77 81 $this->arrMakerList = $this->lfGetMakerList(); 82 83 // フックポイント. 84 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 85 $objPlugin->doAction('lc_page_frontparts_bloc_searchproducts_action_end', array($this)); 78 86 } 79 87
Note: See TracChangeset
for help on using the changeset viewer.