Changeset 21743 for branches/version-2_12-dev/data/class/pages/LC_Page.php
- Timestamp:
- 2012/04/15 03:05:06 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/LC_Page.php
r21716 r21743 107 107 $this->doValidToken(); 108 108 $this->setTokenTo(); 109 110 // ローカルフックポイントを実行 111 $parent_class_name = get_parent_class($this); 112 if ($parent_class_name != 'LC_Page') { 113 $objPlugin->doAction($parent_class_name . '_action_before', array($this)); 114 } 115 $class_name = get_class($this); 116 if ($parent_class_name != 'LC_Page' && $class_name != $parent_class_name) { 117 $objPlugin->doAction($class_name . '_action_before', array($this)); 118 } 109 119 } 110 120 … … 122 132 */ 123 133 function sendResponse() { 134 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 135 // ローカルフックポイントを実行 136 $parent_class_name = get_parent_class($this); 137 if ($parent_class_name != 'LC_Page') { 138 $objPlugin->doAction($parent_class_name . '_action_after', array($this)); 139 } 140 $class_name = get_class($this); 141 if ($parent_class_name != 'LC_Page' && $class_name != $parent_class_name) { 142 $objPlugin->doAction($class_name . '_action_after', array($this)); 143 } 124 144 125 145 // HeadNaviにpluginテンプレートを追加する. 126 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg);127 146 $objPlugin->setHeadNaviBlocs($this->arrPageLayout['HeadNavi']); 128 147 … … 155 174 $this->objDisplay->response->body = $data; 156 175 $this->objDisplay->response->write(); 157 exit;176 SC_Response_Ex::actionExit(); 158 177 } 159 178 … … 179 198 /** 180 199 * テンプレート取得 181 * 200 * 182 201 */ 183 202 function getTemplate() { … … 187 206 /** 188 207 * テンプレート設定(ポップアップなどの場合) 189 * 208 * 190 209 */ 191 210 function setTemplate($template) { … … 364 383 SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, '', true); 365 384 } 366 exit;385 SC_Response_Ex::actionExit(); 367 386 } 368 387 }
Note: See TracChangeset
for help on using the changeset viewer.