Changeset 21743 for branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_News.php
- Timestamp:
- 2012/04/15 03:05:06 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_News.php
r21693 r21743 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_News_action_before', array($this));67 64 68 65 $objFormParam = new SC_FormParam_Ex(); … … 74 71 $this->arrErr = $objFormParam->checkError(false); 75 72 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 74 $json = $this->lfGetNewsForJson($objFormParam); 81 75 echo $json; 82 exit;76 SC_Response_Ex::actionExit(); 83 77 } else { 84 78 echo $this->lfGetErrors($this->arrErr); 85 exit;79 SC_Response_Ex::actionExit(); 86 80 } 87 81 break; … … 92 86 $this->arrErr = $objFormParam->checkError(false); 93 87 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 88 98 89 $json = $this->lfGetNewsDetailForJson($objFormParam); 99 90 echo $json; 100 exit;91 SC_Response_Ex::actionExit(); 101 92 } else { 102 93 echo $this->lfGetErrors($this->arrErr); 103 exit;94 SC_Response_Ex::actionExit(); 104 95 } 105 96 break; … … 109 100 break; 110 101 } 111 // フックポイント. 112 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 113 $objPlugin->doAction('LC_Page_FrontParts_Bloc_News_action_after', array($this)); 102 114 103 } 115 104
Note: See TracChangeset
for help on using the changeset viewer.