Twig API
Index
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

A

Twig_Autoloader::autoload() — Method in class Twig_Autoloader
Handles autoloading of classes.
Twig_Compiler::addIndentation() — Method in class Twig_Compiler
Appends an indentation to the current PHP code after compilation.
Twig_Compiler::addDebugInfo() — Method in class Twig_Compiler
Adds debugging information.
Twig_Environment::addExtension() — Method in class Twig_Environment
Registers an extension.
Twig_Environment::addTokenParser() — Method in class Twig_Environment
Registers a Token Parser.
Twig_Environment::addNodeVisitor() — Method in class Twig_Environment
Registers a Node Visitor.
Twig_Environment::addFilter() — Method in class Twig_Environment
Registers a Filter.
Twig_Environment::addTest() — Method in class Twig_Environment
Registers a Test.
Twig_Environment::addFunction() — Method in class Twig_Environment
Registers a Function.
Twig_Environment::addGlobal() — Method in class Twig_Environment
Registers a Global.
Twig_Extension_Staging::addFunction() — Method in class Twig_Extension_Staging
Twig_Extension_Staging::addFilter() — Method in class Twig_Extension_Staging
Twig_Extension_Staging::addNodeVisitor() — Method in class Twig_Extension_Staging
Twig_Extension_Staging::addTokenParser() — Method in class Twig_Extension_Staging
Twig_Extension_Staging::addGlobal() — Method in class Twig_Extension_Staging
Twig_Extension_Staging::addTest() — Method in class Twig_Extension_Staging
Twig_Loader_Chain::addLoader() — Method in class Twig_Loader_Chain
Adds a loader instance.
Twig_Loader_Filesystem::addPath() — Method in class Twig_Loader_Filesystem
Adds a path where templates are stored.
Twig_NodeTraverser::addVisitor() — Method in class Twig_NodeTraverser
Adds a visitor.
Twig_Node_Expression_Array::addElement() — Method in class Twig_Node_Expression_Array
Twig_Parser::addHandler() — Method in class Twig_Parser
Twig_Parser::addNodeVisitor() — Method in class Twig_Parser
Twig_Parser::addTrait() — Method in class Twig_Parser
Twig_Parser::addImportedSymbol() — Method in class Twig_Parser
Twig_Test_NodeTestCase::assertNodeCompilation() — Method in class Twig_Test_NodeTestCase
Twig_TokenParserBroker::addTokenParser() — Method in class Twig_TokenParserBroker
Adds a TokenParser.
Twig_TokenParserBroker::addTokenParserBroker() — Method in class Twig_TokenParserBroker
Adds a TokenParserBroker.

C

Twig_Compiler::compile() — Method in class Twig_Compiler
Compiles a node.
Twig_CompilerInterface::compile() — Method in class Twig_CompilerInterface
Compiles a node.
Twig_Environment::clearTemplateCache() — Method in class Twig_Environment
Clears the internal template cache.
Twig_Environment::clearCacheFiles() — Method in class Twig_Environment
Clears the template cache files on the filesystem.
Twig_Environment::compile() — Method in class Twig_Environment
Compiles a Node.
Twig_Environment::compileSource() — Method in class Twig_Environment
Compiles a template source code.
Twig_Environment::computeAlternatives() — Method in class Twig_Environment
Twig_Extension_Sandbox::checkSecurity() — Method in class Twig_Extension_Sandbox
Twig_Extension_Sandbox::checkMethodAllowed() — Method in class Twig_Extension_Sandbox
Twig_Extension_Sandbox::checkPropertyAllowed() — Method in class Twig_Extension_Sandbox
Twig_FilterInterface::compile() — Method in class Twig_FilterInterface
Compiles a filter.
Twig_Filter_Function::compile() — Method in class Twig_Filter_Function
Compiles a filter.
Twig_Filter_Method::compile() — Method in class Twig_Filter_Method
Compiles a filter.
Twig_Filter_Node::compile() — Method in class Twig_Filter_Node
Compiles a filter.
Twig_FunctionInterface::compile() — Method in class Twig_FunctionInterface
Compiles a function.
Twig_Function_Function::compile() — Method in class Twig_Function_Function
Compiles a function.
Twig_Function_Method::compile() — Method in class Twig_Function_Method
Compiles a function.
Twig_Function_Node::compile() — Method in class Twig_Function_Node
Compiles a function.
Twig_Markup::count() — Method in class Twig_Markup
Twig_Node::compile() — Method in class Twig_Node
Compiles the node to PHP.
Twig_Node::count() — Method in class Twig_Node
Twig_NodeInterface::compile() — Method in class Twig_NodeInterface
Compiles the node to PHP.
Twig_Node_AutoEscape::compile() — Method in class Twig_Node_AutoEscape
Compiles the node to PHP.
Twig_Node_Block::compile() — Method in class Twig_Node_Block
Compiles the node to PHP.
Twig_Node_BlockReference::compile() — Method in class Twig_Node_BlockReference
Compiles the node to PHP.
Twig_Node_Do::compile() — Method in class Twig_Node_Do
Compiles the node to PHP.
Twig_Node_Expression_Array::compile() — Method in class Twig_Node_Expression_Array
Compiles the node to PHP.
Twig_Node_Expression_AssignName::compile() — Method in class Twig_Node_Expression_AssignName
Twig_Node_Expression_Binary::compile() — Method in class Twig_Node_Expression_Binary
Compiles the node to PHP.
Twig_Node_Expression_Binary_FloorDiv::compile() — Method in class Twig_Node_Expression_Binary_FloorDiv
Compiles the node to PHP.
Twig_Node_Expression_Binary_In::compile() — Method in class Twig_Node_Expression_Binary_In
Compiles the node to PHP.
Twig_Node_Expression_Binary_NotIn::compile() — Method in class Twig_Node_Expression_Binary_NotIn
Compiles the node to PHP.
Twig_Node_Expression_Binary_Power::compile() — Method in class Twig_Node_Expression_Binary_Power
Compiles the node to PHP.
Twig_Node_Expression_Binary_Range::compile() — Method in class Twig_Node_Expression_Binary_Range
Compiles the node to PHP.
Twig_Node_Expression_BlockReference::compile() — Method in class Twig_Node_Expression_BlockReference
Compiles the node to PHP.
Twig_Node_Expression_Conditional::compile() — Method in class Twig_Node_Expression_Conditional
Twig_Node_Expression_Constant::compile() — Method in class Twig_Node_Expression_Constant
Twig_Node_Expression_ExtensionReference::compile() — Method in class Twig_Node_Expression_ExtensionReference
Compiles the node to PHP.
Twig_Node_Expression_Filter::compile() — Method in class Twig_Node_Expression_Filter
Twig_Node_Expression_Filter_Default::compile() — Method in class Twig_Node_Expression_Filter_Default
Twig_Node_Expression_Function::compile() — Method in class Twig_Node_Expression_Function
Twig_Node_Expression_GetAttr::compile() — Method in class Twig_Node_Expression_GetAttr
Twig_Node_Expression_MethodCall::compile() — Method in class Twig_Node_Expression_MethodCall
Twig_Node_Expression_Name::compile() — Method in class Twig_Node_Expression_Name
Twig_Node_Expression_Parent::compile() — Method in class Twig_Node_Expression_Parent
Compiles the node to PHP.
Twig_Node_Expression_TempName::compile() — Method in class Twig_Node_Expression_TempName
Twig_Node_Expression_Test::compile() — Method in class Twig_Node_Expression_Test
Twig_Node_Expression_Test_Constant::compile() — Method in class Twig_Node_Expression_Test_Constant
Twig_Node_Expression_Test_Defined::compile() — Method in class Twig_Node_Expression_Test_Defined
Twig_Node_Expression_Test_Divisibleby::compile() — Method in class Twig_Node_Expression_Test_Divisibleby
Twig_Node_Expression_Test_Even::compile() — Method in class Twig_Node_Expression_Test_Even
Twig_Node_Expression_Test_Null::compile() — Method in class Twig_Node_Expression_Test_Null
Twig_Node_Expression_Test_Odd::compile() — Method in class Twig_Node_Expression_Test_Odd
Twig_Node_Expression_Test_Sameas::compile() — Method in class Twig_Node_Expression_Test_Sameas
Twig_Node_Expression_Unary::compile() — Method in class Twig_Node_Expression_Unary
Twig_Node_Flush::compile() — Method in class Twig_Node_Flush
Compiles the node to PHP.
Twig_Node_For::compile() — Method in class Twig_Node_For
Compiles the node to PHP.
Twig_Node_ForLoop::compile() — Method in class Twig_Node_ForLoop
Compiles the node to PHP.
Twig_Node_If::compile() — Method in class Twig_Node_If
Compiles the node to PHP.
Twig_Node_Import::compile() — Method in class Twig_Node_Import
Compiles the node to PHP.
Twig_Node_Include::compile() — Method in class Twig_Node_Include
Compiles the node to PHP.
Twig_Node_Macro::compile() — Method in class Twig_Node_Macro
Compiles the node to PHP.
Twig_Node_Module::compile() — Method in class Twig_Node_Module
Compiles the node to PHP.
Twig_Node_Print::compile() — Method in class Twig_Node_Print
Compiles the node to PHP.
Twig_Node_Sandbox::compile() — Method in class Twig_Node_Sandbox
Compiles the node to PHP.
Twig_Node_SandboxedPrint::compile() — Method in class Twig_Node_SandboxedPrint
Compiles the node to PHP.
Twig_Node_Set::compile() — Method in class Twig_Node_Set
Compiles the node to PHP.
Twig_Node_SetTemp::compile() — Method in class Twig_Node_SetTemp
Compiles the node to PHP.
Twig_Node_Spaceless::compile() — Method in class Twig_Node_Spaceless
Compiles the node to PHP.
Twig_Node_Text::compile() — Method in class Twig_Node_Text
Compiles the node to PHP.
Twig_Sandbox_SecurityPolicy::checkSecurity() — Method in class Twig_Sandbox_SecurityPolicy
Twig_Sandbox_SecurityPolicy::checkMethodAllowed() — Method in class Twig_Sandbox_SecurityPolicy
Twig_Sandbox_SecurityPolicy::checkPropertyAllowed() — Method in class Twig_Sandbox_SecurityPolicy
Twig_Sandbox_SecurityPolicyInterface::checkSecurity() — Method in class Twig_Sandbox_SecurityPolicyInterface
Twig_Sandbox_SecurityPolicyInterface::checkMethodAllowed() — Method in class Twig_Sandbox_SecurityPolicyInterface
Twig_Sandbox_SecurityPolicyInterface::checkPropertyAllowed() — Method in class Twig_Sandbox_SecurityPolicyInterface
Twig_Template::clearCache() — Method in class Twig_Template
This method is only useful when testing Twig.
Twig_TestInterface::compile() — Method in class Twig_TestInterface
Compiles a test.
Twig_Test_Function::compile() — Method in class Twig_Test_Function
Compiles a test.
Twig_Test_Method::compile() — Method in class Twig_Test_Method
Compiles a test.
Twig_Test_Node::compile() — Method in class Twig_Test_Node
Compiles a test.

D

Twig_Environment::disableDebug() — Method in class Twig_Environment
Disables debugging mode.
Twig_Environment::disableAutoReload() — Method in class Twig_Environment
Disables the auto_reload option.
Twig_Environment::disableStrictVariables() — Method in class Twig_Environment
Disables the strict_variables option.
Twig_Environment::display() — Method in class Twig_Environment
Displays a template.
Twig_Extension_Sandbox::disableSandbox() — Method in class Twig_Extension_Sandbox
Twig_Template::displayParentBlock() — Method in class Twig_Template
Displays a parent block.
Twig_Template::displayBlock() — Method in class Twig_Template
Displays a block.
Twig_Template::display() — Method in class Twig_Template
Displays the template with the given context.
Twig_TemplateInterface::display() — Method in class Twig_TemplateInterface
Displays the template with the given context.
Twig_TokenParser_AutoEscape::decideBlockEnd() — Method in class Twig_TokenParser_AutoEscape
Twig_TokenParser_Block::decideBlockEnd() — Method in class Twig_TokenParser_Block
Twig_TokenParser_Embed::decideBlockEnd() — Method in class Twig_TokenParser_Embed
Twig_TokenParser_Filter::decideBlockEnd() — Method in class Twig_TokenParser_Filter
Twig_TokenParser_For::decideForFork() — Method in class Twig_TokenParser_For
Twig_TokenParser_For::decideForEnd() — Method in class Twig_TokenParser_For
Twig_TokenParser_If::decideIfFork() — Method in class Twig_TokenParser_If
Twig_TokenParser_If::decideIfEnd() — Method in class Twig_TokenParser_If
Twig_TokenParser_Macro::decideBlockEnd() — Method in class Twig_TokenParser_Macro
Twig_TokenParser_Sandbox::decideBlockEnd() — Method in class Twig_TokenParser_Sandbox
Twig_TokenParser_Set::decideBlockEnd() — Method in class Twig_TokenParser_Set
Twig_TokenParser_Spaceless::decideSpacelessEnd() — Method in class Twig_TokenParser_Spaceless

E

Twig_Environment::enableDebug() — Method in class Twig_Environment
Enables debugging mode.
Twig_Environment::enableAutoReload() — Method in class Twig_Environment
Enables the auto_reload option.
Twig_Environment::enableStrictVariables() — Method in class Twig_Environment
Enables the strict_variables option.
Twig_ExistsLoaderInterface::exists() — Method in class Twig_ExistsLoaderInterface
Check if we have the source code of a template, given its name.
Twig_Extension_Sandbox::enableSandbox() — Method in class Twig_Extension_Sandbox
Twig_Extension_Sandbox::ensureToStringAllowed() — Method in class Twig_Extension_Sandbox
Twig_Loader_Array::exists() — Method in class Twig_Loader_Array
Check if we have the source code of a template, given its name.
Twig_Loader_Chain::exists() — Method in class Twig_Loader_Chain
Check if we have the source code of a template, given its name.
Twig_Loader_Filesystem::exists() — Method in class Twig_Loader_Filesystem
Check if we have the source code of a template, given its name.
Twig_Loader_String::exists() — Method in class Twig_Loader_String
Check if we have the source code of a template, given its name.
Twig_NodeVisitorInterface::enterNode() — Method in class Twig_NodeVisitorInterface
Called before child nodes are visited.
Twig_NodeVisitor_Escaper::enterNode() — Method in class Twig_NodeVisitor_Escaper
Called before child nodes are visited.
Twig_NodeVisitor_Optimizer::enterNode() — Method in class Twig_NodeVisitor_Optimizer
Called before child nodes are visited.
Twig_NodeVisitor_SafeAnalysis::enterNode() — Method in class Twig_NodeVisitor_SafeAnalysis
Called before child nodes are visited.
Twig_NodeVisitor_Sandbox::enterNode() — Method in class Twig_NodeVisitor_Sandbox
Called before child nodes are visited.
Twig_Parser::embedTemplate() — Method in class Twig_Parser
Twig_TokenStream::expect() — Method in class Twig_TokenStream
Tests a token and returns it or throws a syntax error.

G

Twig_Compiler::getFilename() — Method in class Twig_Compiler
Twig_Compiler::getEnvironment() — Method in class Twig_Compiler
Returns the environment instance related to this compiler.
Twig_Compiler::getSource() — Method in class Twig_Compiler
Gets the current PHP code after compilation.
Twig_Compiler::getDebugInfo() — Method in class Twig_Compiler
Twig_CompilerInterface::getSource() — Method in class Twig_CompilerInterface
Gets the current PHP code after compilation.
Twig_Environment::getBaseTemplateClass() — Method in class Twig_Environment
Gets the base template class for compiled templates.
Twig_Environment::getCache() — Method in class Twig_Environment
Gets the cache directory or false if cache is disabled.
Twig_Environment::getCacheFilename() — Method in class Twig_Environment
Gets the cache filename for a given template.
Twig_Environment::getTemplateClass() — Method in class Twig_Environment
Gets the template class associated with the given string.
Twig_Environment::getTemplateClassPrefix() — Method in class Twig_Environment
Gets the template class prefix.
Twig_Environment::getLexer() — Method in class Twig_Environment
Gets the Lexer instance.
Twig_Environment::getParser() — Method in class Twig_Environment
Gets the Parser instance.
Twig_Environment::getCompiler() — Method in class Twig_Environment
Gets the Compiler instance.
Twig_Environment::getLoader() — Method in class Twig_Environment
Gets the Loader instance.
Twig_Environment::getCharset() — Method in class Twig_Environment
Gets the default template charset.
Twig_Environment::getExtension() — Method in class Twig_Environment
Gets an extension by name.
Twig_Environment::getExtensions() — Method in class Twig_Environment
Returns all registered extensions.
Twig_Environment::getTokenParsers() — Method in class Twig_Environment
Gets the registered Token Parsers.
Twig_Environment::getTags() — Method in class Twig_Environment
Gets registered tags.
Twig_Environment::getNodeVisitors() — Method in class Twig_Environment
Gets the registered Node Visitors.
Twig_Environment::getFilter() — Method in class Twig_Environment
Get a filter by name.
Twig_Environment::getFilters() — Method in class Twig_Environment
Gets the registered Filters.
Twig_Environment::getTests() — Method in class Twig_Environment
Gets the registered Tests.
Twig_Environment::getTest() — Method in class Twig_Environment
Gets a test by name.
Twig_Environment::getFunction() — Method in class Twig_Environment
Get a function by name.
Twig_Environment::getFunctions() — Method in class Twig_Environment
Gets registered functions.
Twig_Environment::getGlobals() — Method in class Twig_Environment
Gets the registered Globals.
Twig_Environment::getUnaryOperators() — Method in class Twig_Environment
Gets the registered unary Operators.
Twig_Environment::getBinaryOperators() — Method in class Twig_Environment
Gets the registered binary Operators.
Twig_Error::getRawMessage() — Method in class Twig_Error
Gets the raw message.
Twig_Error::getTemplateFile() — Method in class Twig_Error
Gets the filename where the error occurred.
Twig_Error::getTemplateLine() — Method in class Twig_Error
Gets the template line where the error occurred.
Twig_Error::guess() — Method in class Twig_Error
Twig_ExpressionParser::getFunctionNode() — Method in class Twig_ExpressionParser
Twig_Extension::getTokenParsers() — Method in class Twig_Extension
Returns the token parser instances to add to the existing list.
Twig_Extension::getNodeVisitors() — Method in class Twig_Extension
Returns the node visitor instances to add to the existing list.
Twig_Extension::getFilters() — Method in class Twig_Extension
Returns a list of filters to add to the existing list.
Twig_Extension::getTests() — Method in class Twig_Extension
Returns a list of tests to add to the existing list.
Twig_Extension::getFunctions() — Method in class Twig_Extension
Returns a list of functions to add to the existing list.
Twig_Extension::getOperators() — Method in class Twig_Extension
Returns a list of operators to add to the existing list.
Twig_Extension::getGlobals() — Method in class Twig_Extension
Returns a list of global variables to add to the existing list.
Twig_ExtensionInterface::getTokenParsers() — Method in class Twig_ExtensionInterface
Returns the token parser instances to add to the existing list.
Twig_ExtensionInterface::getNodeVisitors() — Method in class Twig_ExtensionInterface
Returns the node visitor instances to add to the existing list.
Twig_ExtensionInterface::getFilters() — Method in class Twig_ExtensionInterface
Returns a list of filters to add to the existing list.
Twig_ExtensionInterface::getTests() — Method in class Twig_ExtensionInterface
Returns a list of tests to add to the existing list.
Twig_ExtensionInterface::getFunctions() — Method in class Twig_ExtensionInterface
Returns a list of functions to add to the existing list.
Twig_ExtensionInterface::getOperators() — Method in class Twig_ExtensionInterface
Returns a list of operators to add to the existing list.
Twig_ExtensionInterface::getGlobals() — Method in class Twig_ExtensionInterface
Returns a list of global variables to add to the existing list.
Twig_ExtensionInterface::getName() — Method in class Twig_ExtensionInterface
Returns the name of the extension.
Twig_Extension_Core::getDateFormat() — Method in class Twig_Extension_Core
Gets the default format to be used by the date filter.
Twig_Extension_Core::getTimezone() — Method in class Twig_Extension_Core
Gets the default timezone to be used by the date filter.
Twig_Extension_Core::getNumberFormat() — Method in class Twig_Extension_Core
Get the default format used by the number_format filter.
Twig_Extension_Core::getTokenParsers() — Method in class Twig_Extension_Core
Returns the token parser instance to add to the existing list.
Twig_Extension_Core::getFilters() — Method in class Twig_Extension_Core
Returns a list of filters to add to the existing list.
Twig_Extension_Core::getFunctions() — Method in class Twig_Extension_Core
Returns a list of global functions to add to the existing list.
Twig_Extension_Core::getTests() — Method in class Twig_Extension_Core
Returns a list of tests to add to the existing list.
Twig_Extension_Core::getOperators() — Method in class Twig_Extension_Core
Returns a list of operators to add to the existing list.
Twig_Extension_Core::getName() — Method in class Twig_Extension_Core
Returns the name of the extension.
Twig_Extension_Debug::getFunctions() — Method in class Twig_Extension_Debug
Returns a list of global functions to add to the existing list.
Twig_Extension_Debug::getName() — Method in class Twig_Extension_Debug
Returns the name of the extension.
Twig_Extension_Escaper::getTokenParsers() — Method in class Twig_Extension_Escaper
Returns the token parser instances to add to the existing list.
Twig_Extension_Escaper::getNodeVisitors() — Method in class Twig_Extension_Escaper
Returns the node visitor instances to add to the existing list.
Twig_Extension_Escaper::getFilters() — Method in class Twig_Extension_Escaper
Returns a list of filters to add to the existing list.
Twig_Extension_Escaper::getDefaultStrategy() — Method in class Twig_Extension_Escaper
Gets the default strategy to use when not defined by the user.
Twig_Extension_Escaper::getName() — Method in class Twig_Extension_Escaper
Returns the name of the extension.
Twig_Extension_Optimizer::getNodeVisitors() — Method in class Twig_Extension_Optimizer
Returns the node visitor instances to add to the existing list.
Twig_Extension_Optimizer::getName() — Method in class Twig_Extension_Optimizer
Returns the name of the extension.
Twig_Extension_Sandbox::getTokenParsers() — Method in class Twig_Extension_Sandbox
Returns the token parser instances to add to the existing list.
Twig_Extension_Sandbox::getNodeVisitors() — Method in class Twig_Extension_Sandbox
Returns the node visitor instances to add to the existing list.
Twig_Extension_Sandbox::getSecurityPolicy() — Method in class Twig_Extension_Sandbox
Twig_Extension_Sandbox::getName() — Method in class Twig_Extension_Sandbox
Returns the name of the extension.
Twig_Extension_Staging::getFunctions() — Method in class Twig_Extension_Staging
Returns a list of functions to add to the existing list.
Twig_Extension_Staging::getFilters() — Method in class Twig_Extension_Staging
Returns a list of filters to add to the existing list.
Twig_Extension_Staging::getNodeVisitors() — Method in class Twig_Extension_Staging
Returns the node visitor instances to add to the existing list.
Twig_Extension_Staging::getTokenParsers() — Method in class Twig_Extension_Staging
Returns the token parser instances to add to the existing list.
Twig_Extension_Staging::getGlobals() — Method in class Twig_Extension_Staging
Returns a list of global variables to add to the existing list.
Twig_Extension_Staging::getTests() — Method in class Twig_Extension_Staging
Returns a list of tests to add to the existing list.
Twig_Extension_Staging::getName() — Method in class Twig_Extension_Staging
Returns the name of the extension.
Twig_Extension_StringLoader::getFunctions() — Method in class Twig_Extension_StringLoader
Returns a list of functions to add to the existing list.
Twig_Extension_StringLoader::getName() — Method in class Twig_Extension_StringLoader
Returns the name of the extension.
Twig_Filter::getArguments() — Method in class Twig_Filter
Twig_Filter::getSafe() — Method in class Twig_Filter
Twig_Filter::getPreservesSafety() — Method in class Twig_Filter
Twig_Filter::getPreEscape() — Method in class Twig_Filter
Twig_Filter::getCallable() — Method in class Twig_Filter
Twig_FilterCallableInterface::getCallable() — Method in class Twig_FilterCallableInterface
Twig_FilterInterface::getSafe() — Method in class Twig_FilterInterface
Twig_FilterInterface::getPreservesSafety() — Method in class Twig_FilterInterface
Twig_FilterInterface::getPreEscape() — Method in class Twig_FilterInterface
Twig_FilterInterface::getArguments() — Method in class Twig_FilterInterface
Twig_Filter_Node::getClass() — Method in class Twig_Filter_Node
Twig_Function::getArguments() — Method in class Twig_Function
Twig_Function::getSafe() — Method in class Twig_Function
Twig_Function::getCallable() — Method in class Twig_Function
Twig_FunctionCallableInterface::getCallable() — Method in class Twig_FunctionCallableInterface
Twig_FunctionInterface::getSafe() — Method in class Twig_FunctionInterface
Twig_FunctionInterface::getArguments() — Method in class Twig_FunctionInterface
Twig_Function_Node::getClass() — Method in class Twig_Function_Node
Twig_LoaderInterface::getSource() — Method in class Twig_LoaderInterface
Gets the source code of a template, given its name.
Twig_LoaderInterface::getCacheKey() — Method in class Twig_LoaderInterface
Gets the cache key to use for the cache for a given template name.
Twig_Loader_Array::getSource() — Method in class Twig_Loader_Array
Gets the source code of a template, given its name.
Twig_Loader_Array::getCacheKey() — Method in class Twig_Loader_Array
Gets the cache key to use for the cache for a given template name.
Twig_Loader_Chain::getSource() — Method in class Twig_Loader_Chain
Gets the source code of a template, given its name.
Twig_Loader_Chain::getCacheKey() — Method in class Twig_Loader_Chain
Gets the cache key to use for the cache for a given template name.
Twig_Loader_Filesystem::getPaths() — Method in class Twig_Loader_Filesystem
Returns the paths to the templates.
Twig_Loader_Filesystem::getNamespaces() — Method in class Twig_Loader_Filesystem
Returns the path namespaces.
Twig_Loader_Filesystem::getSource() — Method in class Twig_Loader_Filesystem
Gets the source code of a template, given its name.
Twig_Loader_Filesystem::getCacheKey() — Method in class Twig_Loader_Filesystem
Gets the cache key to use for the cache for a given template name.
Twig_Loader_String::getSource() — Method in class Twig_Loader_String
Gets the source code of a template, given its name.
Twig_Loader_String::getCacheKey() — Method in class Twig_Loader_String
Gets the cache key to use for the cache for a given template name.
Twig_Node::getLine() — Method in class Twig_Node
Twig_Node::getNodeTag() — Method in class Twig_Node
Twig_Node::getAttribute() — Method in class Twig_Node
Gets an attribute.
Twig_Node::getNode() — Method in class Twig_Node
Gets a node by name.
Twig_Node::getIterator() — Method in class Twig_Node
Twig_NodeInterface::getLine() — Method in class Twig_NodeInterface
Twig_NodeInterface::getNodeTag() — Method in class Twig_NodeInterface
Twig_NodeVisitorInterface::getPriority() — Method in class Twig_NodeVisitorInterface
Returns the priority for this visitor.
Twig_NodeVisitor_Escaper::getPriority() — Method in class Twig_NodeVisitor_Escaper
Returns the priority for this visitor.
Twig_NodeVisitor_Optimizer::getPriority() — Method in class Twig_NodeVisitor_Optimizer
Returns the priority for this visitor.
Twig_NodeVisitor_SafeAnalysis::getSafe() — Method in class Twig_NodeVisitor_SafeAnalysis
Twig_NodeVisitor_SafeAnalysis::getPriority() — Method in class Twig_NodeVisitor_SafeAnalysis
Returns the priority for this visitor.
Twig_NodeVisitor_Sandbox::getPriority() — Method in class Twig_NodeVisitor_Sandbox
Returns the priority for this visitor.
Twig_Node_Expression_Array::getKeyValuePairs() — Method in class Twig_Node_Expression_Array
Twig_Parser::getEnvironment() — Method in class Twig_Parser
Twig_Parser::getVarName() — Method in class Twig_Parser
Twig_Parser::getFilename() — Method in class Twig_Parser
Twig_Parser::getBlockStack() — Method in class Twig_Parser
Twig_Parser::getBlock() — Method in class Twig_Parser
Twig_Parser::getImportedSymbol() — Method in class Twig_Parser
Twig_Parser::getExpressionParser() — Method in class Twig_Parser
Gets the expression parser.
Twig_Parser::getParent() — Method in class Twig_Parser
Twig_Parser::getStream() — Method in class Twig_Parser
Gets the token stream.
Twig_Parser::getCurrentToken() — Method in class Twig_Parser
Gets the current token.
Twig_SimpleFilter::getName() — Method in class Twig_SimpleFilter
Twig_SimpleFilter::getCallable() — Method in class Twig_SimpleFilter
Twig_SimpleFilter::getNodeClass() — Method in class Twig_SimpleFilter
Twig_SimpleFilter::getArguments() — Method in class Twig_SimpleFilter
Twig_SimpleFilter::getSafe() — Method in class Twig_SimpleFilter
Twig_SimpleFilter::getPreservesSafety() — Method in class Twig_SimpleFilter
Twig_SimpleFilter::getPreEscape() — Method in class Twig_SimpleFilter
Twig_SimpleFunction::getName() — Method in class Twig_SimpleFunction
Twig_SimpleFunction::getCallable() — Method in class Twig_SimpleFunction
Twig_SimpleFunction::getNodeClass() — Method in class Twig_SimpleFunction
Twig_SimpleFunction::getArguments() — Method in class Twig_SimpleFunction
Twig_SimpleFunction::getSafe() — Method in class Twig_SimpleFunction
Twig_SimpleTest::getName() — Method in class Twig_SimpleTest
Twig_SimpleTest::getCallable() — Method in class Twig_SimpleTest
Twig_SimpleTest::getNodeClass() — Method in class Twig_SimpleTest
Twig_Template::getTemplateName() — Method in class Twig_Template
Returns the template name.
Twig_Template::getEnvironment() — Method in class Twig_Template
Returns the bound environment for this template.
Twig_Template::getParent() — Method in class Twig_Template
Returns the parent template.
Twig_Template::getBlockNames() — Method in class Twig_Template
Returns all block names.
Twig_Template::getBlocks() — Method in class Twig_Template
Returns all blocks.
Twig_TemplateInterface::getEnvironment() — Method in class Twig_TemplateInterface
Returns the bound environment for this template.
Twig_Test::getCallable() — Method in class Twig_Test
Twig_TestCallableInterface::getCallable() — Method in class Twig_TestCallableInterface
Twig_Test_IntegrationTestCase::getTests() — Method in class Twig_Test_IntegrationTestCase
Twig_Test_Node::getClass() — Method in class Twig_Test_Node
Twig_Test_NodeTestCase::getTests() — Method in class Twig_Test_NodeTestCase
Twig_Token::getLine() — Method in class Twig_Token
Gets the line.
Twig_Token::getType() — Method in class Twig_Token
Gets the token type.
Twig_Token::getValue() — Method in class Twig_Token
Gets the token value.
Twig_TokenParserBroker::getTokenParser() — Method in class Twig_TokenParserBroker
Gets a TokenParser suitable for a tag.
Twig_TokenParserBroker::getParsers() — Method in class Twig_TokenParserBroker
Twig_TokenParserBroker::getParser() — Method in class Twig_TokenParserBroker
Gets the Twig_ParserInterface.
Twig_TokenParserBrokerInterface::getTokenParser() — Method in class Twig_TokenParserBrokerInterface
Gets a TokenParser suitable for a tag.
Twig_TokenParserBrokerInterface::getParser() — Method in class Twig_TokenParserBrokerInterface
Gets the Twig_ParserInterface.
Twig_TokenParserInterface::getTag() — Method in class Twig_TokenParserInterface
Gets the tag name associated with this token parser.
Twig_TokenParser_AutoEscape::getTag() — Method in class Twig_TokenParser_AutoEscape
Gets the tag name associated with this token parser.
Twig_TokenParser_Block::getTag() — Method in class Twig_TokenParser_Block
Gets the tag name associated with this token parser.
Twig_TokenParser_Do::getTag() — Method in class Twig_TokenParser_Do
Gets the tag name associated with this token parser.
Twig_TokenParser_Embed::getTag() — Method in class Twig_TokenParser_Embed
Gets the tag name associated with this token parser.
Twig_TokenParser_Extends::getTag() — Method in class Twig_TokenParser_Extends
Gets the tag name associated with this token parser.
Twig_TokenParser_Filter::getTag() — Method in class Twig_TokenParser_Filter
Gets the tag name associated with this token parser.
Twig_TokenParser_Flush::getTag() — Method in class Twig_TokenParser_Flush
Gets the tag name associated with this token parser.
Twig_TokenParser_For::getTag() — Method in class Twig_TokenParser_For
Gets the tag name associated with this token parser.
Twig_TokenParser_From::getTag() — Method in class Twig_TokenParser_From
Gets the tag name associated with this token parser.
Twig_TokenParser_If::getTag() — Method in class Twig_TokenParser_If
Gets the tag name associated with this token parser.
Twig_TokenParser_Import::getTag() — Method in class Twig_TokenParser_Import
Gets the tag name associated with this token parser.
Twig_TokenParser_Include::getTag() — Method in class Twig_TokenParser_Include
Gets the tag name associated with this token parser.
Twig_TokenParser_Macro::getTag() — Method in class Twig_TokenParser_Macro
Gets the tag name associated with this token parser.
Twig_TokenParser_Sandbox::getTag() — Method in class Twig_TokenParser_Sandbox
Gets the tag name associated with this token parser.
Twig_TokenParser_Set::getTag() — Method in class Twig_TokenParser_Set
Gets the tag name associated with this token parser.
Twig_TokenParser_Spaceless::getTag() — Method in class Twig_TokenParser_Spaceless
Gets the tag name associated with this token parser.
Twig_TokenParser_Use::getTag() — Method in class Twig_TokenParser_Use
Gets the tag name associated with this token parser.
Twig_TokenStream::getCurrent() — Method in class Twig_TokenStream
Gets the current token
Twig_TokenStream::getFilename() — Method in class Twig_TokenStream
Gets the filename associated with this stream

H

Twig_Environment::hasExtension() — Method in class Twig_Environment
Returns true if the given extension is registered.
Twig_Node::hasAttribute() — Method in class Twig_Node
Returns true if the attribute is defined.
Twig_Node::hasNode() — Method in class Twig_Node
Returns true if the node with the given identifier exists.
Twig_Node_Expression_Array::hasElement() — Method in class Twig_Node_Expression_Array
Twig_Parser::hasBlock() — Method in class Twig_Parser
Twig_Parser::hasMacro() — Method in class Twig_Parser
Twig_Parser::hasTraits() — Method in class Twig_Parser
Twig_Template::hasBlock() — Method in class Twig_Template
Returns whether a block exists or not.

I

Twig_Compiler::indent() — Method in class Twig_Compiler
Indents the generated code.
Twig_Environment::isDebug() — Method in class Twig_Environment
Checks if debug mode is enabled.
Twig_Environment::isAutoReload() — Method in class Twig_Environment
Checks if the auto_reload option is enabled.
Twig_Environment::isStrictVariables() — Method in class Twig_Environment
Checks if the strict_variables option is enabled.
Twig_Environment::isTemplateFresh() — Method in class Twig_Environment
Returns true if the template is still fresh.
Twig_Environment::initRuntime() — Method in class Twig_Environment
Initializes the runtime environment.
Twig_Extension::initRuntime() — Method in class Twig_Extension
Initializes the runtime environment.
Twig_ExtensionInterface::initRuntime() — Method in class Twig_ExtensionInterface
Initializes the runtime environment.
Twig_Extension_Sandbox::isSandboxed() — Method in class Twig_Extension_Sandbox
Twig_Extension_Sandbox::isSandboxedGlobally() — Method in class Twig_Extension_Sandbox
Twig_LoaderInterface::isFresh() — Method in class Twig_LoaderInterface
Returns true if the template is still fresh.
Twig_Loader_Array::isFresh() — Method in class Twig_Loader_Array
Returns true if the template is still fresh.
Twig_Loader_Chain::isFresh() — Method in class Twig_Loader_Chain
Returns true if the template is still fresh.
Twig_Loader_Filesystem::isFresh() — Method in class Twig_Loader_Filesystem
Returns true if the template is still fresh.
Twig_Loader_String::isFresh() — Method in class Twig_Loader_String
Returns true if the template is still fresh.
Twig_Node_Expression_Name::isSpecial() — Method in class Twig_Node_Expression_Name
Twig_Node_Expression_Name::isSimple() — Method in class Twig_Node_Expression_Name
Twig_Parser::isMainScope() — Method in class Twig_Parser
Twig_Template::isTraitable() — Method in class Twig_Template
Twig_TokenStream::injectTokens() — Method in class Twig_TokenStream
Twig_TokenStream::isEOF() — Method in class Twig_TokenStream
Checks if end of stream was reached

L

Twig_Environment::loadTemplate() — Method in class Twig_Environment
Loads a template by name.
Twig_NodeVisitorInterface::leaveNode() — Method in class Twig_NodeVisitorInterface
Called after child nodes are visited.
Twig_NodeVisitor_Escaper::leaveNode() — Method in class Twig_NodeVisitor_Escaper
Called after child nodes are visited.
Twig_NodeVisitor_Optimizer::leaveNode() — Method in class Twig_NodeVisitor_Optimizer
Called after child nodes are visited.
Twig_NodeVisitor_SafeAnalysis::leaveNode() — Method in class Twig_NodeVisitor_SafeAnalysis
Called after child nodes are visited.
Twig_NodeVisitor_Sandbox::leaveNode() — Method in class Twig_NodeVisitor_Sandbox
Called after child nodes are visited.
Twig_TokenStream::look() — Method in class Twig_TokenStream
Looks at the next token.

M

Twig_Environment::mergeGlobals() — Method in class Twig_Environment
Merges a context with the defined globals.

N

Twig_Filter::needsEnvironment() — Method in class Twig_Filter
Twig_Filter::needsContext() — Method in class Twig_Filter
Twig_FilterInterface::needsEnvironment() — Method in class Twig_FilterInterface
Twig_FilterInterface::needsContext() — Method in class Twig_FilterInterface
Twig_Function::needsEnvironment() — Method in class Twig_Function
Twig_Function::needsContext() — Method in class Twig_Function
Twig_FunctionInterface::needsEnvironment() — Method in class Twig_FunctionInterface
Twig_FunctionInterface::needsContext() — Method in class Twig_FunctionInterface
Twig_SimpleFilter::needsEnvironment() — Method in class Twig_SimpleFilter
Twig_SimpleFilter::needsContext() — Method in class Twig_SimpleFilter
Twig_SimpleFunction::needsEnvironment() — Method in class Twig_SimpleFunction
Twig_SimpleFunction::needsContext() — Method in class Twig_SimpleFunction
Twig_TokenStream::next() — Method in class Twig_TokenStream
Sets the pointer to the next token and returns the old one.

O

Twig_Compiler::outdent() — Method in class Twig_Compiler
Outdents the generated code.
Twig_Node_Expression_Binary::operator() — Method in class Twig_Node_Expression_Binary
Twig_Node_Expression_Binary_Add::operator() — Method in class Twig_Node_Expression_Binary_Add
Twig_Node_Expression_Binary_And::operator() — Method in class Twig_Node_Expression_Binary_And
Twig_Node_Expression_Binary_BitwiseAnd::operator() — Method in class Twig_Node_Expression_Binary_BitwiseAnd
Twig_Node_Expression_Binary_BitwiseOr::operator() — Method in class Twig_Node_Expression_Binary_BitwiseOr
Twig_Node_Expression_Binary_BitwiseXor::operator() — Method in class Twig_Node_Expression_Binary_BitwiseXor
Twig_Node_Expression_Binary_Concat::operator() — Method in class Twig_Node_Expression_Binary_Concat
Twig_Node_Expression_Binary_Div::operator() — Method in class Twig_Node_Expression_Binary_Div
Twig_Node_Expression_Binary_Equal::operator() — Method in class Twig_Node_Expression_Binary_Equal
Twig_Node_Expression_Binary_FloorDiv::operator() — Method in class Twig_Node_Expression_Binary_FloorDiv
Twig_Node_Expression_Binary_Greater::operator() — Method in class Twig_Node_Expression_Binary_Greater
Twig_Node_Expression_Binary_GreaterEqual::operator() — Method in class Twig_Node_Expression_Binary_GreaterEqual
Twig_Node_Expression_Binary_In::operator() — Method in class Twig_Node_Expression_Binary_In
Twig_Node_Expression_Binary_Less::operator() — Method in class Twig_Node_Expression_Binary_Less
Twig_Node_Expression_Binary_LessEqual::operator() — Method in class Twig_Node_Expression_Binary_LessEqual
Twig_Node_Expression_Binary_Mod::operator() — Method in class Twig_Node_Expression_Binary_Mod
Twig_Node_Expression_Binary_Mul::operator() — Method in class Twig_Node_Expression_Binary_Mul
Twig_Node_Expression_Binary_NotEqual::operator() — Method in class Twig_Node_Expression_Binary_NotEqual
Twig_Node_Expression_Binary_NotIn::operator() — Method in class Twig_Node_Expression_Binary_NotIn
Twig_Node_Expression_Binary_Or::operator() — Method in class Twig_Node_Expression_Binary_Or
Twig_Node_Expression_Binary_Power::operator() — Method in class Twig_Node_Expression_Binary_Power
Twig_Node_Expression_Binary_Range::operator() — Method in class Twig_Node_Expression_Binary_Range
Twig_Node_Expression_Binary_Sub::operator() — Method in class Twig_Node_Expression_Binary_Sub
Twig_Node_Expression_Unary::operator() — Method in class Twig_Node_Expression_Unary
Twig_Node_Expression_Unary_Neg::operator() — Method in class Twig_Node_Expression_Unary_Neg
Twig_Node_Expression_Unary_Not::operator() — Method in class Twig_Node_Expression_Unary_Not
Twig_Node_Expression_Unary_Pos::operator() — Method in class Twig_Node_Expression_Unary_Pos

P

Twig_Environment::parse() — Method in class Twig_Environment
Parses a token stream.
Twig_ExpressionParser::parseExpression() — Method in class Twig_ExpressionParser
Twig_ExpressionParser::parsePrimaryExpression() — Method in class Twig_ExpressionParser
Twig_ExpressionParser::parseStringExpression() — Method in class Twig_ExpressionParser
Twig_ExpressionParser::parseArrayExpression() — Method in class Twig_ExpressionParser
Twig_ExpressionParser::parseHashExpression() — Method in class Twig_ExpressionParser
Twig_ExpressionParser::parsePostfixExpression() — Method in class Twig_ExpressionParser
Twig_ExpressionParser::parseSubscriptExpression() — Method in class Twig_ExpressionParser
Twig_ExpressionParser::parseFilterExpression() — Method in class Twig_ExpressionParser
Twig_ExpressionParser::parseFilterExpressionRaw() — Method in class Twig_ExpressionParser
Twig_ExpressionParser::parseArguments() — Method in class Twig_ExpressionParser
Parses arguments.
Twig_ExpressionParser::parseAssignmentExpression() — Method in class Twig_ExpressionParser
Twig_ExpressionParser::parseMultitargetExpression() — Method in class Twig_ExpressionParser
Twig_Extension_Core::parseNotTestExpression() — Method in class Twig_Extension_Core
Twig_Extension_Core::parseTestExpression() — Method in class Twig_Extension_Core
Twig_Loader_Filesystem::prependPath() — Method in class Twig_Loader_Filesystem
Prepends a path where templates are stored.
Twig_Parser::parse() — Method in class Twig_Parser
Converts a token stream to a node tree.
Twig_Parser::peekBlockStack() — Method in class Twig_Parser
Twig_Parser::popBlockStack() — Method in class Twig_Parser
Twig_Parser::pushBlockStack() — Method in class Twig_Parser
Twig_Parser::pushLocalScope() — Method in class Twig_Parser
Twig_Parser::popLocalScope() — Method in class Twig_Parser
Twig_ParserInterface::parse() — Method in class Twig_ParserInterface
Converts a token stream to a node tree.
Twig_TokenParserInterface::parse() — Method in class Twig_TokenParserInterface
Parses a token and returns a node.
Twig_TokenParser_AutoEscape::parse() — Method in class Twig_TokenParser_AutoEscape
Parses a token and returns a node.
Twig_TokenParser_Block::parse() — Method in class Twig_TokenParser_Block
Parses a token and returns a node.
Twig_TokenParser_Do::parse() — Method in class Twig_TokenParser_Do
Parses a token and returns a node.
Twig_TokenParser_Embed::parse() — Method in class Twig_TokenParser_Embed
Parses a token and returns a node.
Twig_TokenParser_Extends::parse() — Method in class Twig_TokenParser_Extends
Parses a token and returns a node.
Twig_TokenParser_Filter::parse() — Method in class Twig_TokenParser_Filter
Parses a token and returns a node.
Twig_TokenParser_Flush::parse() — Method in class Twig_TokenParser_Flush
Parses a token and returns a node.
Twig_TokenParser_For::parse() — Method in class Twig_TokenParser_For
Parses a token and returns a node.
Twig_TokenParser_From::parse() — Method in class Twig_TokenParser_From
Parses a token and returns a node.
Twig_TokenParser_If::parse() — Method in class Twig_TokenParser_If
Parses a token and returns a node.
Twig_TokenParser_Import::parse() — Method in class Twig_TokenParser_Import
Parses a token and returns a node.
Twig_TokenParser_Include::parse() — Method in class Twig_TokenParser_Include
Parses a token and returns a node.
Twig_TokenParser_Macro::parse() — Method in class Twig_TokenParser_Macro
Parses a token and returns a node.
Twig_TokenParser_Sandbox::parse() — Method in class Twig_TokenParser_Sandbox
Parses a token and returns a node.
Twig_TokenParser_Set::parse() — Method in class Twig_TokenParser_Set
Parses a token and returns a node.
Twig_TokenParser_Spaceless::parse() — Method in class Twig_TokenParser_Spaceless
Parses a token and returns a node.
Twig_TokenParser_Use::parse() — Method in class Twig_TokenParser_Use
Parses a token and returns a node.

R

Twig_Autoloader::register() — Method in class Twig_Autoloader
Registers Twig_Autoloader as an SPL autoloader.
Twig_Compiler::raw() — Method in class Twig_Compiler
Adds a raw string to the compiled code.
Twig_Compiler::repr() — Method in class Twig_Compiler
Returns a PHP representation of a given value.
Twig_Environment::render() — Method in class Twig_Environment
Renders a template.
Twig_Environment::resolveTemplate() — Method in class Twig_Environment
Twig_Environment::removeExtension() — Method in class Twig_Environment
Removes an extension by name.
Twig_Environment::registerUndefinedFilterCallback() — Method in class Twig_Environment
Twig_Environment::registerUndefinedFunctionCallback() — Method in class Twig_Environment
Twig_Node::removeAttribute() — Method in class Twig_Node
Removes an attribute.
Twig_Node::removeNode() — Method in class Twig_Node
Removes a node by name.
Twig_Template::renderParentBlock() — Method in class Twig_Template
Renders a parent block.
Twig_Template::renderBlock() — Method in class Twig_Template
Renders a block.
Twig_Template::render() — Method in class Twig_Template
Renders the template with the given context and returns it as string.
Twig_TemplateInterface::render() — Method in class Twig_TemplateInterface
Renders the template with the given context and returns it as string.
Twig_TokenParserBroker::removeTokenParser() — Method in class Twig_TokenParserBroker
Removes a TokenParser.
Twig_TokenParserBroker::removeTokenParserBroker() — Method in class Twig_TokenParserBroker
Removes a TokenParserBroker.

S

Twig_Compiler::subcompile() — Method in class Twig_Compiler
Twig_Compiler::string() — Method in class Twig_Compiler
Adds a quoted string to the compiled code.
Twig_Environment::setBaseTemplateClass() — Method in class Twig_Environment
Sets the base template class for compiled templates.
Twig_Environment::setCache() — Method in class Twig_Environment
Sets the cache directory or false if cache is disabled.
Twig_Environment::setLexer() — Method in class Twig_Environment
Sets the Lexer instance.
Twig_Environment::setParser() — Method in class Twig_Environment
Sets the Parser instance.
Twig_Environment::setCompiler() — Method in class Twig_Environment
Sets the Compiler instance.
Twig_Environment::setLoader() — Method in class Twig_Environment
Sets the Loader instance.
Twig_Environment::setCharset() — Method in class Twig_Environment
Sets the default template charset.
Twig_Environment::setExtensions() — Method in class Twig_Environment
Registers an array of extensions.
Twig_Error::setTemplateFile() — Method in class Twig_Error
Sets the filename where the error occurred.
Twig_Error::setTemplateLine() — Method in class Twig_Error
Sets the template line where the error occurred.
Twig_Extension_Core::setDateFormat() — Method in class Twig_Extension_Core
Sets the default format to be used by the date filter.
Twig_Extension_Core::setTimezone() — Method in class Twig_Extension_Core
Sets the default timezone to be used by the date filter.
Twig_Extension_Core::setNumberFormat() — Method in class Twig_Extension_Core
Sets the default format to be used by the number_format filter.
Twig_Extension_Escaper::setDefaultStrategy() — Method in class Twig_Extension_Escaper
Sets the default strategy to use when not defined by the user.
Twig_Extension_Sandbox::setSecurityPolicy() — Method in class Twig_Extension_Sandbox
Twig_Filter::setArguments() — Method in class Twig_Filter
Twig_FilterInterface::setArguments() — Method in class Twig_FilterInterface
Twig_Function::setArguments() — Method in class Twig_Function
Twig_FunctionInterface::setArguments() — Method in class Twig_FunctionInterface
Twig_Loader_Array::setTemplate() — Method in class Twig_Loader_Array
Adds or overrides a template.
Twig_Loader_Filesystem::setPaths() — Method in class Twig_Loader_Filesystem
Sets the paths where templates are stored.
Twig_Node::setAttribute() — Method in class Twig_Node
Sets an attribute.
Twig_Node::setNode() — Method in class Twig_Node
Sets a node.
Twig_NodeVisitor_SafeAnalysis::setSafeVars() — Method in class Twig_NodeVisitor_SafeAnalysis
Twig_Node_Module::setIndex() — Method in class Twig_Node_Module
Twig_Parser::subparse() — Method in class Twig_Parser
Twig_Parser::setBlock() — Method in class Twig_Parser
Twig_Parser::setMacro() — Method in class Twig_Parser
Twig_Parser::setParent() — Method in class Twig_Parser
Twig_Sandbox_SecurityPolicy::setAllowedTags() — Method in class Twig_Sandbox_SecurityPolicy
Twig_Sandbox_SecurityPolicy::setAllowedFilters() — Method in class Twig_Sandbox_SecurityPolicy
Twig_Sandbox_SecurityPolicy::setAllowedMethods() — Method in class Twig_Sandbox_SecurityPolicy
Twig_Sandbox_SecurityPolicy::setAllowedProperties() — Method in class Twig_Sandbox_SecurityPolicy
Twig_Sandbox_SecurityPolicy::setAllowedFunctions() — Method in class Twig_Sandbox_SecurityPolicy
Twig_SimpleFilter::setArguments() — Method in class Twig_SimpleFilter
Twig_SimpleFunction::setArguments() — Method in class Twig_SimpleFunction
Twig_TokenParser::setParser() — Method in class Twig_TokenParser
Sets the parser associated with this token parser
Twig_TokenParserBroker::setParser() — Method in class Twig_TokenParserBroker
Calls Twig_TokenParserInterface::setParser on all parsers the implementation knows of.
Twig_TokenParserBrokerInterface::setParser() — Method in class Twig_TokenParserBrokerInterface
Calls Twig_TokenParserInterface::setParser on all parsers the implementation knows of.
Twig_TokenParserInterface::setParser() — Method in class Twig_TokenParserInterface
Sets the parser associated with this token parser

T

Twig_Autoloader
Autoloads Twig classes.
Twig_Compiler
Compiles a node to PHP code.
Twig_CompilerInterface
Interface implemented by compiler classes.
Twig_Environment
Stores the Twig configuration.
Twig_Environment::tokenize() — Method in class Twig_Environment
Tokenizes a source code.
Twig_Error
Twig base exception.
Twig_Error_Loader
Exception thrown when an error occurs during template loading.
Twig_Error_Runtime
Exception thrown when an error occurs at runtime.
Twig_Error_Syntax
Exception thrown when a syntax error occurs during lexing or parsing of a template.
Twig_ExistsLoaderInterface
Adds an exists() method for loaders.
Twig_ExpressionParser
Parses expressions.
Twig_Extension
Twig_ExtensionInterface
Interface implemented by extension classes.
Twig_Extension_Core
Twig_Extension_Debug
Twig_Extension_Escaper
Twig_Extension_Optimizer
Twig_Extension_Sandbox
Twig_Extension_Staging
Internal class.
Twig_Extension_StringLoader
Twig_Filter
Represents a template filter.
Twig_FilterCallableInterface
Represents a callable template filter.
Twig_FilterInterface
Represents a template filter.
Twig_Filter_Function
Represents a function template filter.
Twig_Filter_Method
Represents a method template filter.
Twig_Filter_Node
Represents a template filter as a node.
Twig_Function
Represents a template function.
Twig_FunctionCallableInterface
Represents a callable template function.
Twig_FunctionInterface
Represents a template function.
Twig_Function_Function
Represents a function template function.
Twig_Function_Method
Represents a method template function.
Twig_Function_Node
Represents a template function as a node.
Twig_Lexer
Lexes a template string.
Twig_Lexer::tokenize() — Method in class Twig_Lexer
Tokenizes a source code.
Twig_LexerInterface
Interface implemented by lexer classes.
Twig_LexerInterface::tokenize() — Method in class Twig_LexerInterface
Tokenizes a source code.
Twig_LoaderInterface
Interface all loaders must implement.
Twig_Loader_Array
Loads a template from an array.
Twig_Loader_Chain
Loads templates from other loaders.
Twig_Loader_Filesystem
Loads template from the filesystem.
Twig_Loader_String
Loads a template from a string.
Twig_Markup
Marks a content as safe.
Twig_Node
Represents a node in the AST.
Twig_Node::toXml() — Method in class Twig_Node
Twig_NodeInterface
Represents a node in the AST.
Twig_NodeOutputInterface
Represents a displayable node in the AST.
Twig_NodeTraverser
Twig_NodeTraverser is a node traverser.
Twig_NodeTraverser::traverse() — Method in class Twig_NodeTraverser
Traverses a node and calls the registered visitors.
Twig_NodeVisitorInterface
Twig_NodeVisitorInterface is the interface the all node visitor classes must implement.
Twig_NodeVisitor_Escaper
TwigNodeVisitorEscaper implements output escaping.
Twig_NodeVisitor_Optimizer
TwigNodeVisitorOptimizer tries to optimizes the AST.
Twig_NodeVisitor_SafeAnalysis
Twig_NodeVisitor_Sandbox
TwigNodeVisitorSandbox implements sandboxing.
Twig_Node_AutoEscape
Represents an autoescape node.
Twig_Node_Block
Represents a block node.
Twig_Node_BlockReference
Represents a block call node.
Twig_Node_Body
Represents a body node.
Twig_Node_Do
Represents a do node.
Twig_Node_Embed
Represents an embed node.
Twig_Node_Expression
Abstract class for all nodes that represents an expression.
Twig_Node_Expression_Array
Twig_Node_Expression_AssignName
Twig_Node_Expression_Binary
Twig_Node_Expression_Binary_Add
Twig_Node_Expression_Binary_And
Twig_Node_Expression_Binary_BitwiseAnd
Twig_Node_Expression_Binary_BitwiseOr
Twig_Node_Expression_Binary_BitwiseXor
Twig_Node_Expression_Binary_Concat
Twig_Node_Expression_Binary_Div
Twig_Node_Expression_Binary_Equal
Twig_Node_Expression_Binary_FloorDiv
Twig_Node_Expression_Binary_Greater
Twig_Node_Expression_Binary_GreaterEqual
Twig_Node_Expression_Binary_In
Twig_Node_Expression_Binary_Less
Twig_Node_Expression_Binary_LessEqual
Twig_Node_Expression_Binary_Mod
Twig_Node_Expression_Binary_Mul
Twig_Node_Expression_Binary_NotEqual
Twig_Node_Expression_Binary_NotIn
Twig_Node_Expression_Binary_Or
Twig_Node_Expression_Binary_Power
Twig_Node_Expression_Binary_Range
Twig_Node_Expression_Binary_Sub
Twig_Node_Expression_BlockReference
Represents a block call node.
Twig_Node_Expression_Call
Twig_Node_Expression_Conditional
Twig_Node_Expression_Constant
Twig_Node_Expression_ExtensionReference
Represents an extension call node.
Twig_Node_Expression_Filter
Twig_Node_Expression_Filter_Default
Returns the value or the default value when it is undefined or empty.
Twig_Node_Expression_Function
Twig_Node_Expression_GetAttr
Twig_Node_Expression_MethodCall
Twig_Node_Expression_Name
Twig_Node_Expression_Parent
Represents a parent node.
Twig_Node_Expression_TempName
Twig_Node_Expression_Test
Twig_Node_Expression_Test_Constant
Checks if a variable is the exact same value as a constant.
Twig_Node_Expression_Test_Defined
Checks if a variable is defined in the current context.
Twig_Node_Expression_Test_Divisibleby
Checks if a variable is divisible by a number.
Twig_Node_Expression_Test_Even
Checks if a number is even.
Twig_Node_Expression_Test_Null
Checks that a variable is null.
Twig_Node_Expression_Test_Odd
Checks if a number is odd.
Twig_Node_Expression_Test_Sameas
Checks if a variable is the same as another one (=== in PHP).
Twig_Node_Expression_Unary
Twig_Node_Expression_Unary_Neg
Twig_Node_Expression_Unary_Not
Twig_Node_Expression_Unary_Pos
Twig_Node_Flush
Represents a flush node.
Twig_Node_For
Represents a for node.
Twig_Node_ForLoop
Internal node used by the for node.
Twig_Node_If
Represents an if node.
Twig_Node_Import
Represents an import node.
Twig_Node_Include
Represents an include node.
Twig_Node_Macro
Represents a macro node.
Twig_Node_Module
Represents a module node.
Twig_Node_Print
Represents a node that outputs an expression.
Twig_Node_Sandbox
Represents a sandbox node.
Twig_Node_SandboxedModule
Represents a module node.
Twig_Node_SandboxedPrint
TwigNodeSandboxedPrint adds a check for the __toString() method when the variable is an object and the sandbox is activated.
Twig_Node_Set
Represents a set node.
Twig_Node_SetTemp
Twig_Node_Spaceless
Represents a spaceless node.
Twig_Node_Text
Represents a text node.
Twig_Parser
Default parser implementation.
Twig_ParserInterface
Interface implemented by parser classes.
Twig_Sandbox_SecurityError
Exception thrown when a security error occurs at runtime.
Twig_Sandbox_SecurityPolicy
Represents a security policy which need to be enforced when sandbox mode is enabled.
Twig_Sandbox_SecurityPolicyInterface
Interfaces that all security policy classes must implements.
Twig_SimpleFilter
Represents a template filter.
Twig_SimpleFunction
Represents a template function.
Twig_SimpleTest
Represents a template test.
Twig_Template
Default base class for compiled templates.
Twig_TemplateInterface
Interface implemented by all compiled templates.
Twig_Test
Represents a template test.
Twig_TestCallableInterface
Represents a callable template test.
Twig_TestInterface
Represents a template test.
Twig_Test_Function
Represents a function template test.
Twig_Test_IntegrationTestCase
Integration test helper
Twig_Test_IntegrationTestCase::testIntegration() — Method in class Twig_Test_IntegrationTestCase
Twig_Test_Method
Represents a method template test.
Twig_Test_Node
Represents a template test as a Node.
Twig_Test_NodeTestCase
Twig_Test_NodeTestCase::testCompile() — Method in class Twig_Test_NodeTestCase
Twig_Token
Represents a Token.
Twig_Token::test() — Method in class Twig_Token
Tests the current token for a type and/or a value.
Twig_Token::typeToString() — Method in class Twig_Token
Returns the constant representation (internal) of a given type.
Twig_Token::typeToEnglish() — Method in class Twig_Token
Returns the english representation of a given type.
Twig_TokenParser
Base class for all token parsers.
Twig_TokenParserBroker
Default implementation of a token parser broker.
Twig_TokenParserBrokerInterface
Interface implemented by token parser brokers.
Twig_TokenParserInterface
Interface implemented by token parsers.
Twig_TokenParser_AutoEscape
Marks a section of a template to be escaped or not.
Twig_TokenParser_Block
Marks a section of a template as being reusable.
Twig_TokenParser_Do
Evaluates an expression, discarding the returned value.
Twig_TokenParser_Embed
Embeds a template.
Twig_TokenParser_Extends
Extends a template by another one.
Twig_TokenParser_Filter
Filters a section of a template by applying filters.
Twig_TokenParser_Flush
Flushes the output to the client.
Twig_TokenParser_For
Loops over each item of a sequence.
Twig_TokenParser_From
Imports macros.
Twig_TokenParser_If
Tests a condition.
Twig_TokenParser_Import
Imports macros.
Twig_TokenParser_Include
Includes a template.
Twig_TokenParser_Macro
Defines a macro.
Twig_TokenParser_Sandbox
Marks a section of a template as untrusted code that must be evaluated in the sandbox mode.
Twig_TokenParser_Set
Defines a variable.
Twig_TokenParser_Spaceless
Remove whitespaces between HTML tags.
Twig_TokenParser_Use
Imports blocks defined in another template into the current template.
Twig_TokenStream
Represents a token stream.
Twig_TokenStream::test() — Method in class Twig_TokenStream
Tests the current token

W

Twig_Compiler::write() — Method in class Twig_Compiler
Writes a string to the compiled code by adding indentation.

_

Twig_Compiler::__construct() — Method in class Twig_Compiler
Constructor.
Twig_Environment::__construct() — Method in class Twig_Environment
Constructor.
Twig_Error::__construct() — Method in class Twig_Error
Constructor.
Twig_Error::__call() — Method in class Twig_Error
For PHP < 5.3.0, provides access to the getPrevious() method.
Twig_Error_Loader::__construct() — Method in class Twig_Error_Loader
Constructor.
Twig_ExpressionParser::__construct() — Method in class Twig_ExpressionParser
Twig_Extension_Escaper::__construct() — Method in class Twig_Extension_Escaper
Twig_Extension_Optimizer::__construct() — Method in class Twig_Extension_Optimizer
Twig_Extension_Sandbox::__construct() — Method in class Twig_Extension_Sandbox
Twig_Filter::__construct() — Method in class Twig_Filter
Twig_Filter_Function::__construct() — Method in class Twig_Filter_Function
Twig_Filter_Method::__construct() — Method in class Twig_Filter_Method
Twig_Filter_Node::__construct() — Method in class Twig_Filter_Node
Twig_Function::__construct() — Method in class Twig_Function
Twig_Function_Function::__construct() — Method in class Twig_Function_Function
Twig_Function_Method::__construct() — Method in class Twig_Function_Method
Twig_Function_Node::__construct() — Method in class Twig_Function_Node
Twig_Lexer::__construct() — Method in class Twig_Lexer
Twig_Loader_Array::__construct() — Method in class Twig_Loader_Array
Constructor.
Twig_Loader_Chain::__construct() — Method in class Twig_Loader_Chain
Constructor.
Twig_Loader_Filesystem::__construct() — Method in class Twig_Loader_Filesystem
Constructor.
Twig_Markup::__construct() — Method in class Twig_Markup
Twig_Markup::__toString() — Method in class Twig_Markup
Twig_Node::__construct() — Method in class Twig_Node
Constructor.
Twig_Node::__toString() — Method in class Twig_Node
Twig_NodeTraverser::__construct() — Method in class Twig_NodeTraverser
Constructor.
Twig_NodeVisitor_Escaper::__construct() — Method in class Twig_NodeVisitor_Escaper
Twig_NodeVisitor_Optimizer::__construct() — Method in class Twig_NodeVisitor_Optimizer
Constructor.
Twig_Node_AutoEscape::__construct() — Method in class Twig_Node_AutoEscape
Constructor.
Twig_Node_Block::__construct() — Method in class Twig_Node_Block
Constructor.
Twig_Node_BlockReference::__construct() — Method in class Twig_Node_BlockReference
Constructor.
Twig_Node_Do::__construct() — Method in class Twig_Node_Do
Constructor.
Twig_Node_Embed::__construct() — Method in class Twig_Node_Embed
Constructor.
Twig_Node_Expression_Array::__construct() — Method in class Twig_Node_Expression_Array
Twig_Node_Expression_Binary::__construct() — Method in class Twig_Node_Expression_Binary
Twig_Node_Expression_BlockReference::__construct() — Method in class Twig_Node_Expression_BlockReference
Twig_Node_Expression_Conditional::__construct() — Method in class Twig_Node_Expression_Conditional
Twig_Node_Expression_Constant::__construct() — Method in class Twig_Node_Expression_Constant
Twig_Node_Expression_ExtensionReference::__construct() — Method in class Twig_Node_Expression_ExtensionReference
Twig_Node_Expression_Filter::__construct() — Method in class Twig_Node_Expression_Filter
Twig_Node_Expression_Filter_Default::__construct() — Method in class Twig_Node_Expression_Filter_Default
Twig_Node_Expression_Function::__construct() — Method in class Twig_Node_Expression_Function
Twig_Node_Expression_GetAttr::__construct() — Method in class Twig_Node_Expression_GetAttr
Twig_Node_Expression_MethodCall::__construct() — Method in class Twig_Node_Expression_MethodCall
Twig_Node_Expression_Name::__construct() — Method in class Twig_Node_Expression_Name
Twig_Node_Expression_Parent::__construct() — Method in class Twig_Node_Expression_Parent
Twig_Node_Expression_TempName::__construct() — Method in class Twig_Node_Expression_TempName
Twig_Node_Expression_Test::__construct() — Method in class Twig_Node_Expression_Test
Twig_Node_Expression_Test_Defined::__construct() — Method in class Twig_Node_Expression_Test_Defined
Twig_Node_Expression_Unary::__construct() — Method in class Twig_Node_Expression_Unary
Twig_Node_Flush::__construct() — Method in class Twig_Node_Flush
Constructor.
Twig_Node_For::__construct() — Method in class Twig_Node_For
Constructor.
Twig_Node_ForLoop::__construct() — Method in class Twig_Node_ForLoop
Constructor.
Twig_Node_If::__construct() — Method in class Twig_Node_If
Constructor.
Twig_Node_Import::__construct() — Method in class Twig_Node_Import
Constructor.
Twig_Node_Include::__construct() — Method in class Twig_Node_Include
Constructor.
Twig_Node_Macro::__construct() — Method in class Twig_Node_Macro
Constructor.
Twig_Node_Module::__construct() — Method in class Twig_Node_Module
Constructor.
Twig_Node_Print::__construct() — Method in class Twig_Node_Print
Constructor.
Twig_Node_Sandbox::__construct() — Method in class Twig_Node_Sandbox
Constructor.
Twig_Node_SandboxedModule::__construct() — Method in class Twig_Node_SandboxedModule
Constructor.
Twig_Node_SandboxedPrint::__construct() — Method in class Twig_Node_SandboxedPrint
Constructor.
Twig_Node_Set::__construct() — Method in class Twig_Node_Set
Constructor.
Twig_Node_SetTemp::__construct() — Method in class Twig_Node_SetTemp
Constructor.
Twig_Node_Spaceless::__construct() — Method in class Twig_Node_Spaceless
Constructor.
Twig_Node_Text::__construct() — Method in class Twig_Node_Text
Constructor.
Twig_Parser::__construct() — Method in class Twig_Parser
Constructor.
Twig_Sandbox_SecurityPolicy::__construct() — Method in class Twig_Sandbox_SecurityPolicy
Twig_SimpleFilter::__construct() — Method in class Twig_SimpleFilter
Twig_SimpleFunction::__construct() — Method in class Twig_SimpleFunction
Twig_SimpleTest::__construct() — Method in class Twig_SimpleTest
Twig_Template::__construct() — Method in class Twig_Template
Constructor.
Twig_Test::__construct() — Method in class Twig_Test
Twig_Test_Function::__construct() — Method in class Twig_Test_Function
Twig_Test_Method::__construct() — Method in class Twig_Test_Method
Twig_Test_Node::__construct() — Method in class Twig_Test_Node
Twig_Token::__construct() — Method in class Twig_Token
Constructor.
Twig_Token::__toString() — Method in class Twig_Token
Returns a string representation of the token.
Twig_TokenParserBroker::__construct() — Method in class Twig_TokenParserBroker
Constructor.
Twig_TokenStream::__construct() — Method in class Twig_TokenStream
Constructor.
Twig_TokenStream::__toString() — Method in class Twig_TokenStream
Returns a string representation of the token stream.