private function applyFilters() {

		// handle default and pre-configured filters first

		foreach($this->defaultFilters as $f) {
			$f->apply($this->contents);
		}

		// handle added custom filters last

		foreach($this->filters as $f) {
			$f->apply($this->contents);
		}

	}
private function applyFilters() {

		// handle default and pre-configured filters first

		foreach($this->defaultFilters as $f) {
			$f->apply($this->contents);
		}

		// handle added custom filters last

		foreach($this->filters as $f) {
			$f->apply($this->contents);
		}

	}
private function applyFilters ( ) { // handle default and pre-configured filters first foreach ( $ this -> defaultFilters as $ f ) { $ f -> apply ( $ this -> contents ) ; } // handle added custom filters last foreach ( $ this -> filters as $ f ) { $ f -> apply ( $ this -> contents ) ; } }
applies all stacked filters to template before output
applies all stacked filters to template before output