Changeset 23495 for trunk/include/template.class.php
- Timestamp:
- Jun 24, 2013, 6:16:53 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/template.class.php
r23476 r23495 766 766 function set_prefilter($handle, $callback, $weight=50) 767 767 { 768 $this->external_filters[$handle][$weight][] = array('pre filter', $callback);768 $this->external_filters[$handle][$weight][] = array('pre', $callback); 769 769 ksort($this->external_filters[$handle]); 770 770 } … … 772 772 function set_postfilter($handle, $callback, $weight=50) 773 773 { 774 $this->external_filters[$handle][$weight][] = array('post filter', $callback);774 $this->external_filters[$handle][$weight][] = array('post', $callback); 775 775 ksort($this->external_filters[$handle]); 776 776 } … … 778 778 function set_outputfilter($handle, $callback, $weight=50) 779 779 { 780 $this->external_filters[$handle][$weight][] = array('output filter', $callback);780 $this->external_filters[$handle][$weight][] = array('output', $callback); 781 781 ksort($this->external_filters[$handle]); 782 782 }
Note: See TracChangeset
for help on using the changeset viewer.