Index
A
- Compiler::addMacro() — Method in class Compiler
Adds new macro with IMacro flags.
- Compiler::addMethod() — Method in class Compiler
Adds custom method to template.
- Compiler::addProperty() — Method in class Compiler
Adds custom property to template.
- Engine::addFilter() — Method in class Engine
Registers run-time filter.
- Engine::addMacro() — Method in class Engine
Adds new macro.
- Engine::addProvider() — Method in class Engine
Adds new provider.
- $ HtmlNode#attrs — Property in class HtmlNode
- $ HtmlNode#attrCode — Property in class HtmlNode
- $ MacroNode#args — Property in class MacroNode
- $ MacroNode#attrCode — Property in class MacroNode
- MacroTokens::append() — Method in class MacroTokens
Appends simple token or string (will be parsed).
- MacroSet::addMacro() — Method in class MacroSet
- FilterExecutor::add() — Method in class FilterExecutor
Registers run-time filter.
- ISnippetBridge::addSnippet() — Method in class ISnippetBridge
B
- BlockMacros — Class in namespace Latte\Macros
Block macros.
- Filters::bytes() — Method in class Filters
Converts to human readable file size.
- Filters::breaklines() — Method in class Filters
- $ Template#blocks — Property in class Template
- $ Template#blockQueue — Property in class Template
- $ Template#blockTypes — Property in class Template
C
- CompileException — Class in namespace Latte
The exception occured during Latte compilation.
- Compiler — Class in namespace Latte
Latte compiler.
- Compiler::compile() — Method in class Compiler
Compiles tokens to PHP code.
- 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#closing — Property in class HtmlNode
- $ MacroNode#closing — Property in class MacroNode
- $ MacroNode#closingCode — Property in class MacroNode
- $ MacroNode#content — Property in class MacroNode
- $ MacroNode#context — Property in class MacroNode
- CoreMacros — Class in namespace Latte\Macros
Basic macros for Latte.
- MacroSet::checkExtraArgs() — Method in class MacroSet
- CachingIterator — Class in namespace Latte\Runtime
Smarter caching iterator.
- $ CachingIterator#counter — Property in class CachingIterator
- CachingIterator::count() — Method in class CachingIterator
Returns the count of elements.
- $ FilterInfo#contentType — Property in class FilterInfo
- Filters::convertTo() — Method in class Filters
Converts ... to .
- Filters::capitalize() — Method in class Filters
Capitalize string.
- $ Template#contentType — Property in class Template
- Template::createTemplate() — Method in class Template
Renders template.
- Template::checkBlockContentType() — Method in class Template
- Template::capture() — Method in class Template
Captures output to string.
- $ Token#closing — Property in class Token
- TokenIterator::currentToken() — Method in class TokenIterator
Returns current token.
- TokenIterator::currentValue() — Method in class TokenIterator
Returns current token value.
D
- $ MacroNode#data — Property in class MacroNode
- $ MacroTokens#depth — Property in class MacroTokens
- $ Parser#defaultSyntax — Property in class Parser
- PhpHelpers::dump() — Method in class PhpHelpers
- $ Filters#dateFormat — Property in class Filters
- Filters::date() — Method in class Filters
Date/time formatting.
- Filters::dataStream() — Method in class Filters
The data: URI generator.
E
- Compiler::expandTokens() — Method in class Compiler
- Compiler::expandMacro() — Method in class Compiler
Expands macro and returns node & code.
- Engine — Class in namespace Latte
Templating engine Latte.
- $ Helpers#emptyElements — Property in class Helpers
- $ HtmlNode#empty — Property in class HtmlNode
- $ HtmlNode#endLine — Property in class HtmlNode
- $ MacroNode#empty — Property in class MacroNode
- $ MacroNode#endLine — Property in class MacroNode
- PhpWriter::expandCastPass() — Method in class PhpWriter
Pseudocast (expand).
- PhpWriter::escapePass() — Method in class PhpWriter
Escapes expression in tokens.
- $ CachingIterator#empty — Property in class CachingIterator
- $ CachingIterator#even — Property in class CachingIterator
- Filters::escapeHtml() — Method in class Filters
Escapes string for use inside HTML.
- Filters::escapeHtmlText() — Method in class Filters
Escapes string for use inside HTML.
- 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 comments.
- Filters::escapeXml() — Method in class Filters
Escapes string for use inside XML 1.0 template.
- 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