invokeFilter() public method

Call a run-time filter.
public invokeFilter ( $name, array $args ) : mixed
$args array
return mixed
Example #1
0
	/**
	 * @deprecated
	 */
	public function __call($name, $args)
	{
		return $this->latte->invokeFilter($name, $args);
	}
Example #2
0
 /**
  * @deprecated
  */
 public function __call($name, $args)
 {
     trigger_error('Invoking filters on Template object is deprecated, use getLatte()->invokeFilter().', E_USER_DEPRECATED);
     return $this->latte->invokeFilter($name, $args);
 }