Changeset 2036 for trunk/include/template.php
- Timestamp:
- Jun 13, 2007, 7:17:22 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/template.php
r1900 r2036 116 116 function set_filenames($filename_array) 117 117 { 118 $filename_array = trigger_event('loc_tpl_set_filenames', $filename_array, array(&$this)); 119 118 120 if (!is_array($filename_array)) 119 121 { … … 154 156 if (!isset($this->compiled_code[$handle]) || empty($this->compiled_code[$handle])) 155 157 { 158 trigger_action('loc_before_tpl_pparse', $handle, array(&$this)); 156 159 // Actually compile the code now. 157 160 $this->compiled_code[$handle] = $this->compile($this->uncompiled_code[$handle]); … … 177 180 if (!isset($this->compiled_code[$handle]) || empty($this->compiled_code[$handle])) 178 181 { 182 trigger_action('loc_before_tpl_parse', $handle, array(&$this)); 179 183 // Actually compile the code now. 180 184 $this->compiled_code[$handle] = $this->compile($this->uncompiled_code[$handle], true, '_str'); … … 216 220 } 217 221 222 trigger_action('loc_before_tpl_assign_var_from_handle', $handle, array(&$this)); 218 223 // Compile it, with the "no echo statements" option on. 219 224 $_str = ""; … … 395 400 } 396 401 397 $this->uncompiled_code[$handle] = $str;402 $this->uncompiled_code[$handle] = trigger_event('tpl_load_file', $str, $handle, array(&$this)); 398 403 399 404 return true;
Note: See TracChangeset
for help on using the changeset viewer.