A

Compiler::addMacro() — Method in class Compiler

Adds new macro with Macro flags.

Compiler::addMethod() — Method in class Compiler

Adds custom method to template.

Compiler::addProperty() — Method in class Compiler

Adds custom property to template.

Compiler::addConstant() — Method in class Compiler

Adds custom constant to template.

Engine::addFilter() — Method in class Engine

Registers run-time filter.

Engine::addFilterLoader() — Method in class Engine

Registers filter loader.

Engine::addMacro() — Method in class Engine

Adds new macro.

Engine::addFunction() — Method in class Engine

Registers run-time function.

Engine::addProvider() — Method in class Engine

Adds new provider.

$ HtmlNode#attrsProperty in class HtmlNode
$ HtmlNode#attrCodeProperty in class HtmlNode
$ MacroNode#argsProperty in class MacroNode
$ MacroNode#attrCodeProperty in class MacroNode
MacroTokens::append() — Method in class MacroTokens

Appends simple token or string (will be parsed).

MacroSet::addMacro() — Method in class MacroSet
Blueprint::addProperties() — Method in class Blueprint
Blueprint::addFunctions() — Method in class Blueprint
FilterExecutor::add() — Method in class FilterExecutor

Registers run-time filter.

SnippetBridge::addSnippet() — Method in class SnippetBridge
Template::addBlock() — Method in class Template

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

SecurityPolicy::allowMacros() — 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

$ FileLoader#baseDirProperty in class FileLoader
BlockMacrosClass in namespace Latte\Macros

Block macros.

BlockClass in namespace Latte\Runtime
BlueprintClass in namespace Latte\Runtime

Generates blueprint of template class.

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.

C

CompileExceptionClass in namespace Latte

The exception occured during Latte compilation.

CompilerClass in namespace Latte

Latte compiler.

Compiler::compile() — Method in class Compiler

Compiles tokens to PHP file

Compiler::closeMacro() — Method in class Compiler

Generates code for {/macro ...} to the output.

Engine::createTemplate() — Method in class Engine

Creates template object.

Engine::compile() — Method in class Engine

Compiles template to PHP code.

Helpers::checkCallback() — Method in class Helpers

Checks callback.

$ HtmlNode#closingProperty in class HtmlNode
$ MacroNode#closingProperty in class MacroNode
$ MacroNode#closingCodeProperty in class MacroNode
$ MacroNode#contentProperty in class MacroNode
$ MacroNode#contextProperty in class MacroNode
MacroNode::closest() — Method in class MacroNode
CoreMacrosClass in namespace Latte\Macros

Basic macros for Latte.

MacroSet::checkExtraArgs() — Method in class MacroSet
$ Block#contentTypeProperty in class Block
$ Block#codeProperty in class Block
$ Block#commentProperty in class Block
CachingIteratorClass in namespace Latte\Runtime

Smarter caching iterator.

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

Returns the count of elements.

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

Converts ... to .

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
Filters::checkTagSwitch() — Method in class Filters
Template::createTemplate() — Method in class Template

Renders template.

Template::capture() — Method in class Template

Captures output to string.

Template::copyBlockLayer() — Method in class Template
Template::call() — Method in class Template
SecurityPolicy::createSafePolicy() — Method in class SecurityPolicy
$ Token#closingProperty in class Token
TokenIterator::currentToken() — Method in class TokenIterator

Returns current token.

TokenIterator::currentValue() — Method in class TokenIterator

Returns current token value.

TokenIterator::consumeValue() — Method in class TokenIterator

Returns next expected token or throws exception.

D

$ LattePanel#dumpParametersProperty in class LattePanel
$ HtmlNode#dataProperty in class HtmlNode
$ MacroNode#dataProperty in class MacroNode
$ MacroTokens#depthProperty in class MacroTokens
$ Parser#defaultSyntaxProperty in class Parser
PhpHelpers::dump() — Method in class PhpHelpers
DefaultsClass in namespace Latte\Runtime
$ Filters#dateFormatProperty in class Filters
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?

E

Compiler::expandTokens() — Method in class Compiler
Compiler::expandMacro() — Method in class Compiler

Expands macro and returns node & code.

EngineClass in namespace Latte

Templating engine Latte.

$ Helpers#emptyElementsProperty in class Helpers
$ HtmlNode#emptyProperty in class HtmlNode
$ HtmlNode#endLineProperty in class HtmlNode
$ MacroNode#emptyProperty in class MacroNode
$ MacroNode#endLineProperty in class MacroNode
PhpWriter::expandCastPass() — Method in class PhpWriter

Pseudocast (expand).

PhpWriter::escapePass() — Method in class PhpWriter

Escapes expression in tokens.

$ CachingIterator#emptyProperty in class CachingIterator
$ CachingIterator#evenProperty in class CachingIterator
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::escapeHtmlAttrConv() — Method in class Filters

Escapes HTML for use inside HTML attribute.

Filters::escapeHtmlAttrUnquoted() — Method in class Filters

Escapes string for use inside HTML attribute name.

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