A

AreaNodeClass in namespace Latte\Compiler\Nodes
AuxiliaryNodeClass in namespace Latte\Compiler\Nodes
FragmentNode::append() — Method in class FragmentNode
AttributeNodeClass in namespace Latte\Compiler\Nodes\Html
$ ElementNode#attributesProperty in class ElementNode
ArgumentNodeClass in namespace Latte\Compiler\Nodes\Php
ArrayAccessNodeClass in namespace Latte\Compiler\Nodes\Php\Expression
ArrayItemNodeClass in namespace Latte\Compiler\Nodes\Php\Expression
ArrayNodeClass in namespace Latte\Compiler\Nodes\Php\Expression
AssignNodeClass in namespace Latte\Compiler\Nodes\Php\Expression
AssignOpNodeClass in namespace Latte\Compiler\Nodes\Php\Expression
Position::advance() — Method in class Position
PrintContext::addBlock() — Method in class PrintContext
TemplateGenerator::addMethod() — Method in class TemplateGenerator

Adds custom method to template.

TemplateGenerator::addProperty() — Method in class TemplateGenerator

Adds custom property to template.

TemplateGenerator::addConstant() — Method in class TemplateGenerator

Adds custom constant to template.

TemplateParser::addTags() — Method in class TemplateParser
Engine::applyPasses() — Method in class Engine

Calls node visitors.

Engine::addFilter() — Method in class Engine

Registers run-time filter.

Engine::addFilterLoader() — Method in class Engine

Registers filter loader.

Engine::addExtension() — Method in class Engine

Adds new extension.

Engine::addFunction() — Method in class Engine

Registers run-time function.

Engine::addProvider() — Method in class Engine

Adds new provider.

Blueprint::addProperties() — Method in class Blueprint
Blueprint::addFunctions() — Method in class Blueprint
$ EmbedNode#argsProperty in class EmbedNode
$ IncludeBlockNode#argsProperty in class IncludeBlockNode
$ IncludeFileNode#argsProperty in class IncludeFileNode
$ NAttrNode#argsProperty in class NAttrNode
NAttrNode::attrs() — Method in class NAttrNode
$ NClassNode#argsProperty in class NClassNode
$ VarNode#assignmentsProperty in class VarNode
$ VarPrintNode#allProperty in class VarPrintNode
FilterExecutor::add() — Method in class FilterExecutor

Registers run-time filter.

Template::addBlock() — Method in class Template

Creates block if doesn't exist and checks if content type is the same.

$ SandboxNode#argsProperty in class SandboxNode
RuntimeChecker::args() — Method in class RuntimeChecker
SecurityPolicy::allowTags() — Method in class SecurityPolicy
SecurityPolicy::allowFilters() — Method in class SecurityPolicy
SecurityPolicy::allowFunctions() — Method in class SecurityPolicy
SecurityPolicy::allowMethods() — Method in class SecurityPolicy
SecurityPolicy::allowProperties() — Method in class SecurityPolicy

B

BlueScreenPanelClass in namespace Latte\Bridges\Tracy

BlueScreen panels for Tracy 2.x

BlockClass in namespace Latte\Compiler
ExpressionBuilder::build() — Method in class ExpressionBuilder
BogusTagNodeClass in namespace Latte\Compiler\Nodes\Html

HTML bogus tag.

BinaryOpNodeClass in namespace Latte\Compiler\Nodes\Php\Expression
BooleanNodeClass in namespace Latte\Compiler\Nodes\Php\Scalar
$ PrintContext#blocksProperty in class PrintContext
PrintContext::beginEscape() — Method in class PrintContext
$ TemplateParser#blocksProperty in class TemplateParser
$ TemplateParser#blockLayerProperty in class TemplateParser
BlueprintClass in namespace Latte\Essential

Generates blueprint of template class.

CoreExtension::beforeCompile() — Method in class CoreExtension

Initializes before template is compiler.

Filters::bytes() — Method in class Filters

Converts to human readable file size.

Filters::breaklines() — Method in class Filters
Filters::batch() — Method in class Filters

Chunks items by returning an array of arrays with the given number of items.

BlockNodeClass in namespace Latte\Essential\Nodes

{block [local] [name]}

$ BlockNode#blockProperty in class BlockNode
$ DefineNode#blockProperty in class DefineNode
$ EmbedNode#blocksProperty in class EmbedNode
$ ForeachNode#byRefProperty in class ForeachNode
$ IncludeBlockNode#blocksProperty in class IncludeBlockNode
Extension::beforeCompile() — Method in class Extension

Initializes before template is compiler.

Extension::beforeRender() — Method in class Extension

Initializes before template is rendered.

$ FileLoader#baseDirProperty in class FileLoader
BlockClass in namespace Latte\Runtime
$ Template#blocksProperty in class Template
SandboxExtension::beforeCompile() — Method in class SandboxExtension

Initializes before template is compiler.

SandboxExtension::beforeRender() — Method in class SandboxExtension

Initializes before template is rendered.

C

CompileExceptionClass in namespace Latte

The exception occurred during Latte compilation.

$ Block#contentProperty in class Block
Escaper::check() — Method in class Escaper
ExpressionBuilder::class() — Method in class ExpressionBuilder
NodeHelpers::clone() — Method in class NodeHelpers
$ FragmentNode#childrenProperty in class FragmentNode
CommentNodeClass in namespace Latte\Compiler\Nodes\Html
$ ElementNode#customNameProperty in class ElementNode
$ ElementNode#contentProperty in class ElementNode
$ ElementNode#captureTagNameProperty in class ElementNode
ComplexTypeNodeClass in namespace Latte\Compiler\Nodes\Php
CastNodeClass in namespace Latte\Compiler\Nodes\Php\Expression
ClassConstantFetchNodeClass in namespace Latte\Compiler\Nodes\Php\Expression
CloneNodeClass in namespace Latte\Compiler\Nodes\Php\Expression
ClosureNodeClass in namespace Latte\Compiler\Nodes\Php\Expression
ClosureUseNodeClass in namespace Latte\Compiler\Nodes\Php\Expression
ConstantFetchNodeClass in namespace Latte\Compiler\Nodes\Php\Expression
$ TemplateNode#contentTypeProperty in class TemplateNode
PrintContext::callExpr() — Method in class PrintContext

Wraps the LHS of a call in parentheses if needed.

Tag::closestTag() — Method in class Tag
$ TemplateLexer#closeDelimiterProperty in class TemplateLexer
TemplateParser::checkBlockIsUnique() — Method in class TemplateParser
TokenStream::consume() — Method in class TokenStream

Consumes the current token (if is of given kind) or throws exception on end.

ContentTypeClass in namespace Latte
Engine::createTemplate() — Method in class Engine

Creates template object.

Engine::compile() — Method in class Engine

Compiles template to PHP code.

CachingIteratorClass in namespace Latte\Essential

Smarter caching iterator.

$ CachingIterator#counterProperty in class CachingIterator
$ CachingIterator#counter0Property in class CachingIterator
CachingIterator::count() — Method in class CachingIterator

Returns the count of elements.

CoreExtensionClass in namespace Latte\Essential

Basic tags and filters for Latte.

Filters::capitalize() — Method in class Filters

Capitalize string.

Filters::clamp() — Method in class Filters

Returns value clamped to the inclusive range of min and max.

Filters::ceil() — Method in class Filters
$ BlockNode#contentProperty in class BlockNode
BlockNode::create() — Method in class BlockNode
CaptureNodeClass in namespace Latte\Essential\Nodes

{capture $variable}

$ CaptureNode#contentProperty in class CaptureNode
CaptureNode::create() — Method in class CaptureNode
ContentTypeNodeClass in namespace Latte\Essential\Nodes

{contentType ...}

$ ContentTypeNode#contentTypeProperty in class ContentTypeNode
ContentTypeNode::create() — Method in class ContentTypeNode
$ DebugbreakNode#conditionProperty in class DebugbreakNode
DebugbreakNode::create() — Method in class DebugbreakNode
$ DefineNode#contentProperty in class DefineNode
DefineNode::create() — Method in class DefineNode
DoNode::create() — Method in class DoNode
DumpNode::create() — Method in class DumpNode
EmbedNode::create() — Method in class EmbedNode
ExtendsNode::create() — Method in class ExtendsNode
FirstLastSepNode::create() — Method in class FirstLastSepNode
$ ForNode#conditionProperty in class ForNode
$ ForNode#contentProperty in class ForNode
ForNode::create() — Method in class ForNode
$ ForeachNode#contentProperty in class ForeachNode
$ ForeachNode#checkArgsProperty in class ForeachNode
ForeachNode::create() — Method in class ForeachNode
$ IfChangedNode#conditionsProperty in class IfChangedNode
IfChangedNode::create() — Method in class IfChangedNode
$ IfContentNode#contentProperty in class IfContentNode
IfContentNode::create() — Method in class IfContentNode
$ IfNode#conditionProperty in class IfNode
$ IfNode#captureProperty in class IfNode
IfNode::create() — Method in class IfNode
ImportNode::create() — Method in class ImportNode
IncludeBlockNode::create() — Method in class IncludeBlockNode
IncludeFileNode::create() — Method in class IncludeFileNode
$ IterateWhileNode#conditionProperty in class IterateWhileNode
$ IterateWhileNode#contentProperty in class IterateWhileNode
IterateWhileNode::create() — Method in class IterateWhileNode
NAttrNode::create() — Method in class NAttrNode
NClassNode::create() — Method in class NClassNode
NTagNode::create() — Method in class NTagNode
NTagNode::check() — Method in class NTagNode
ParametersNode::create() — Method in class ParametersNode
PrintNode::create() — Method in class PrintNode
$ RawPhpNode#codeProperty in class RawPhpNode
RawPhpNode::create() — Method in class RawPhpNode
RollbackNode::create() — Method in class RollbackNode
$ SkipNode#conditionProperty in class SkipNode
SkipNode::create() — Method in class SkipNode
$ SpacelessNode#contentProperty in class SpacelessNode
SpacelessNode::create() — Method in class SpacelessNode
$ SwitchNode#casesProperty in class SwitchNode
SwitchNode::create() — Method in class SwitchNode
TemplatePrintNode::create() — Method in class TemplatePrintNode
TemplateTypeNode::create() — Method in class TemplateTypeNode
TraceNode::create() — Method in class TraceNode
$ TranslateNode#contentProperty in class TranslateNode
TranslateNode::create() — Method in class TranslateNode
TryNode::create() — Method in class TryNode
VarNode::create() — Method in class VarNode
VarPrintNode::create() — Method in class VarPrintNode
VarTypeNode::create() — Method in class VarTypeNode
$ WhileNode#conditionProperty in class WhileNode
$ WhileNode#contentProperty in class WhileNode
WhileNode::create() — Method in class WhileNode
Passes::customFunctionsPass() — Method in class Passes

Enable custom functions.

$ Block#contentTypeProperty in class Block
$ FilterInfo#contentTypeProperty in class FilterInfo
Filters::convertTo() — Method in class Filters

Converts ... to .

Filters::convertHtmlToHtmlAttr() — Method in class Filters

Converts HTML text to quoted attribute. The quotation marks need to be escaped.

Filters::convertHtmlToUnquotedAttr() — Method in class Filters

Converts HTML text to unquoted attribute. The quotation marks need to be escaped.

Filters::convertHtmlAttrToUnquotedAttr() — Method in class Filters

Converts HTML quoted attribute to unquoted.

Template::createTemplate() — Method in class Template

Renders template.

Template::capture() — Method in class Template

Captures output to string.

Template::copyBlockLayer() — Method in class Template
SandboxNode::create() — Method in class SandboxNode
RuntimeChecker::call() — Method in class RuntimeChecker
RuntimeChecker::callMethod() — Method in class RuntimeChecker
RuntimeChecker::closure() — Method in class RuntimeChecker
SecurityPolicy::createSafePolicy() — Method in class SecurityPolicy

D

$ LattePanel#dumpParametersProperty in class LattePanel
PhpHelpers::dump() — Method in class PhpHelpers
PhpHelpers::decodeNumber() — Method in class PhpHelpers
PhpHelpers::decodeEscapeSequences() — Method in class PhpHelpers
PrintContext::dereferenceExpr() — Method in class PrintContext

Wraps the LHS of a dereferencing operation in parentheses if needed.

Filters::date() — Method in class Filters

Date/time formatting.

Filters::dataStream() — Method in class Filters

The data: URI generator.

Filters::divisibleBy() — Method in class Filters

Is divisible by?

DebugbreakNodeClass in namespace Latte\Essential\Nodes

{debugbreak [$cond]}

DefineNodeClass in namespace Latte\Essential\Nodes

{define [local] name}

DoNodeClass in namespace Latte\Essential\Nodes

{do expression}

DumpNodeClass in namespace Latte\Essential\Nodes

{dump [$var]}

$ VarNode#defaultProperty in class VarNode
$ Filters#dateFormatProperty in class Filters

E

$ Block#escapingProperty in class Block
EscaperClass in namespace Latte\Compiler

Context-aware escaping.

Escaper::export() — Method in class Escaper
Escaper::enterContentType() — Method in class Escaper
Escaper::enterHtmlText() — Method in class Escaper
Escaper::enterHtmlTag() — Method in class Escaper
Escaper::enterHtmlAttribute() — Method in class Escaper
Escaper::enterHtmlAttributeQuote() — Method in class Escaper
Escaper::enterHtmlBogusTag() — Method in class Escaper
Escaper::enterHtmlComment() — Method in class Escaper
Escaper::escape() — Method in class Escaper
ExpressionBuilderClass in namespace Latte\Compiler
ElementNodeClass in namespace Latte\Compiler\Nodes\Html

HTML element node.

ExpressionNodeClass in namespace Latte\Compiler\Nodes\Php
EmptyNodeClass in namespace Latte\Compiler\Nodes\Php\Expression
ErrorSuppressNodeClass in namespace Latte\Compiler\Nodes\Php\Expression
EncapsedStringNodeClass in namespace Latte\Compiler\Nodes\Php\Scalar
EncapsedStringPartNodeClass in namespace Latte\Compiler\Nodes\Php\Scalar
PrintContext::encodeString() — Method in class PrintContext
Tag::expectArguments() — Method in class Tag
TemplateParser::ensureIsConsumed() — Method in class TemplateParser
EngineClass in namespace Latte

Templating engine Latte.

$ CachingIterator#emptyProperty in class CachingIterator
$ CachingIterator#evenProperty in class CachingIterator
Filters::explode() — Method in class Filters

Splits a string by a string.

Filters::even() — Method in class Filters

Is even?

$ DoNode#expressionProperty in class DoNode
$ DumpNode#expressionProperty in class DumpNode
EmbedNodeClass in namespace Latte\Essential\Nodes

{embed [block|file] name [,] [params]}

ExtendsNodeClass in namespace Latte\Essential\Nodes

{extends none | auto | "file"} {layout none | auto | "file"}

$ ExtendsNode#extendsProperty in class ExtendsNode
$ FirstLastSepNode#elseProperty in class FirstLastSepNode
$ FirstLastSepNode#elseLineProperty in class FirstLastSepNode
$ ForeachNode#expressionProperty in class ForeachNode
$ ForeachNode#elseProperty in class ForeachNode
$ ForeachNode#elseLineProperty in class ForeachNode
$ IfChangedNode#elseProperty in class IfChangedNode
$ IfChangedNode#elseLineProperty in class IfChangedNode
$ IfNode#elseProperty in class IfNode
$ IfNode#elseLineProperty in class IfNode
$ PrintNode#expressionProperty in class PrintNode
$ SkipNode#endTagProperty in class SkipNode
$ SwitchNode#expressionProperty in class SwitchNode
$ TryNode#elseProperty in class TryNode
ExceptionClass in namespace Latte
ExtensionClass in namespace Latte

Latte extension.

$ Helpers#emptyElementsProperty in class Helpers
Filters::escapeHtml() — Method in class Filters

Escapes string for use everywhere inside HTML (except for comments).

Filters::escapeHtmlText() — Method in class Filters

Escapes string for use inside HTML text.

Filters::escapeHtmlAttr() — Method in class Filters

Escapes string for use inside HTML attribute value.

Filters::escapeHtmlTag() — Method in class Filters

Escapes string for use inside HTML tag.

Filters::escapeHtmlComment() — Method in class Filters

Escapes string for use inside HTML/XML comments.

Filters::escapeXml() — Method in class Filters

Escapes string for use everywhere inside XML (except for comments).

Filters::escapeXmlAttrUnquoted() — Method in class Filters

Escapes string for use inside XML attribute name.

Filters::escapeCss() — Method in class Filters

Escapes string for use inside CSS template.

Filters::escapeJs() — Method in class Filters

Escapes variables for use inside