ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Twig_FunctionInterface Interface Reference

Represents a template function. More...

+ Inheritance diagram for Twig_FunctionInterface:
+ Collaboration diagram for Twig_FunctionInterface:

Public Member Functions

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

Detailed Description

Represents a template function.

Use Twig_SimpleFunction instead.

Author
Arnaud Le Blanc arnau.nosp@m.d.lb.nosp@m.@gmai.nosp@m.l.co.nosp@m.m
Deprecated:
since 1.12 (to be removed in 2.0)

Definition at line 22 of file FunctionInterface.php.

Member Function Documentation

◆ compile()

Twig_FunctionInterface::compile ( )

Compiles a function.

Returns
string The PHP code for the function

Implemented in Twig_Function_Method, Twig_Function_Node, and Twig_Function_Function.

◆ getArguments()

Twig_FunctionInterface::getArguments ( )

Implemented in Twig_Function.

◆ getSafe()

Twig_FunctionInterface::getSafe ( Twig_Node  $filterArgs)

Implemented in Twig_Function.

◆ needsContext()

Twig_FunctionInterface::needsContext ( )

Implemented in Twig_Function.

◆ needsEnvironment()

Twig_FunctionInterface::needsEnvironment ( )

Implemented in Twig_Function.

◆ setArguments()

Twig_FunctionInterface::setArguments (   $arguments)

Implemented in Twig_Function.


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