ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Twig_FilterInterface Interface Reference

Represents a template filter. More...

+ Inheritance diagram for Twig_FilterInterface:
+ Collaboration diagram for Twig_FilterInterface:

Public Member Functions

 compile ()
 Compiles a filter. More...
 
 needsEnvironment ()
 
 needsContext ()
 
 getSafe (Twig_Node $filterArgs)
 
 getPreservesSafety ()
 
 getPreEscape ()
 
 setArguments ($arguments)
 
 getArguments ()
 

Detailed Description

Represents a template filter.

Use Twig_SimpleFilter instead.

Author
Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com
Deprecated:
since 1.12 (to be removed in 2.0)

Definition at line 21 of file FilterInterface.php.

Member Function Documentation

◆ compile()

Twig_FilterInterface::compile ( )

Compiles a filter.

Returns
string The PHP code for the filter

Implemented in Twig_Filter_Node, Twig_Filter_Method, and Twig_Filter_Function.

◆ getArguments()

Twig_FilterInterface::getArguments ( )

Implemented in Twig_Filter.

◆ getPreEscape()

Twig_FilterInterface::getPreEscape ( )

Implemented in Twig_Filter.

◆ getPreservesSafety()

Twig_FilterInterface::getPreservesSafety ( )

Implemented in Twig_Filter.

◆ getSafe()

Twig_FilterInterface::getSafe ( Twig_Node  $filterArgs)

Implemented in Twig_Filter.

◆ needsContext()

Twig_FilterInterface::needsContext ( )

Implemented in Twig_Filter.

◆ needsEnvironment()

Twig_FilterInterface::needsEnvironment ( )

Implemented in Twig_Filter.

◆ setArguments()

Twig_FilterInterface::setArguments (   $arguments)

Implemented in Twig_Filter.


The documentation for this interface was generated from the following file: