Changeset 21820 for branches/version-2_12-dev/data/class/SC_View.php
- Timestamp:
- 2012/05/10 17:57:04 (14 years ago)
- File:
-
- 1 edited
-
branches/version-2_12-dev/data/class/SC_View.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_View.php
r21765 r21820 72 72 $this->_smarty->force_compile = false; 73 73 } 74 // 各filterをセットします. 75 $this->registFilter(); 74 76 } 75 77 … … 100 102 } 101 103 } 102 // 各filterをセットします.103 $this->registFilter();104 104 $res = $this->_smarty->fetch($template); 105 105 if (ADMIN_MODE == '1') { … … 136 136 */ 137 137 function prefilter_transform($source, &$smarty) { 138 // フックポイントを実行. 139 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->objPage->plugin_activate_flg); 140 $objPlugin->doAction('prefilterTransform', array(&$source, $this->objPage, $smarty->_current_file)); 138 if (!is_null($this->objPage)) { 139 // フックポイントを実行. 140 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->objPage->plugin_activate_flg); 141 $objPlugin->doAction('prefilterTransform', array(&$source, $this->objPage, $smarty->_current_file)); 142 } 141 143 return $source; 142 144 } … … 149 151 */ 150 152 function outputfilter_transform($source, &$smarty) { 151 // フックポイントを実行. 152 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->objPage->plugin_activate_flg); 153 $objPlugin->doAction('outputfilterTransform', array(&$source, $this->objPage, $smarty->_current_file)); 153 if (!is_null($this->objPage)) { 154 // フックポイントを実行. 155 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->objPage->plugin_activate_flg); 156 $objPlugin->doAction('outputfilterTransform', array(&$source, $this->objPage, $smarty->_current_file)); 157 } 154 158 return $source; 155 159 }
Note: See TracChangeset
for help on using the changeset viewer.
