private function applyOutputFilter(Context $context, $buffer) {
		//TODO: Currently the filtering works only on non-slot tags.
		//If applied on a slot tag, the transform is made on the special placeholder /==SLOT=.../
		//rather than the future contents of the slot.
		if($this->figFilter) {
			$filterClass = $this->figFilter;
			$filter = $this->instantiateFilter($context, $filterClass);
			$buffer = $filter->transform($buffer);
		}
		return $buffer;
	}
private function applyOutputFilter(Context $context, $buffer) {
		//TODO: Currently the filtering works only on non-slot tags.
		//If applied on a slot tag, the transform is made on the special placeholder /==SLOT=.../
		//rather than the future contents of the slot.
		if($this->figFilter) {
			$filterClass = $this->figFilter;
			$filter = $this->instantiateFilter($context, $filterClass);
			$buffer = $filter->transform($buffer);
		}
		return $buffer;
	}
private function applyOutputFilter ( Context $ context , $ buffer ) { //TODO: Currently the filtering works only on non-slot tags. //If applied on a slot tag, the transform is made on the special placeholder /==SLOT=.../ //rather than the future contents of the slot. if ( $ this -> figFilter ) { $ filterClass = $ this -> figFilter ; $ filter = $ this -> instantiateFilter ( $ context , $ filterClass ) ; $ buffer = $ filter -> transform ( $ buffer ) ; } return $ buffer ; }
Applies a filter to the inner contents of an element.
Returns the filtered output.

@param Context $context
@param string $buffer the inner contents of the element, after rendering.

@return string
@throws RenderingException
Applies a filter to the inner contents of an element . Returns the filtered output .