public function applyFilter($content, $filter, $file, $dir, $vars)
	{
		$filter = $this->getFilter($filter);
		return $filter($content, $file, $dir, $vars);
	}
public function applyFilter($content, $filter, $file, $dir, $vars)
	{
		$filter = $this->getFilter($filter);
		return $filter($content, $file, $dir, $vars);
	}
public function applyFilter ( $ content , $ filter , $ file , $ dir , $ vars ) { $ filter = $ this -> getFilter ( $ filter ) ; return $ filter ( $ content , $ file , $ dir , $ vars ) ; }
apply a filter
used for singletonization of filters

@param string $content content to apply filter on
@param string $filter filter name
@param string $file file name (for errors / cache naming)
@param array $vars context

@return string $content with $filter processed on
apply a filter used for singletonization of filters