Index
A
- AreaNode — Class in namespace Latte\Compiler\Nodes
- AuxiliaryNode — Class in namespace Latte\Compiler\Nodes
- FragmentNode::append() — Method in class FragmentNode
- AttributeNode — Class in namespace Latte\Compiler\Nodes\Html
- $ ElementNode#attributes — Property in class ElementNode
- ArgumentNode — Class in namespace Latte\Compiler\Nodes\Php
- ArrayItemNode — Class in namespace Latte\Compiler\Nodes\Php
- ArrayAccessNode — Class in namespace Latte\Compiler\Nodes\Php\Expression
- ArrayItemNode — Class in namespace Latte\Compiler\Nodes\Php\Expression
- ArrayNode — Class in namespace Latte\Compiler\Nodes\Php\Expression
- AssignNode — Class in namespace Latte\Compiler\Nodes\Php\Expression
- AssignOpNode — Class in namespace Latte\Compiler\Nodes\Php\Expression
- AuxiliaryNode — Class in namespace Latte\Compiler\Nodes\Php\Expression
- Position::advance() — Method in class Position
- PrintContext::addBlock() — Method in class PrintContext
- PrintContext::argumentsAsArray() — 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.
- AuxiliaryIterator — Class in namespace Latte\Essential
Iterates over key-value pairs.
- Blueprint::addProperties() — Method in class Blueprint
- Blueprint::addFunctions() — Method in class Blueprint
- $ EmbedNode#args — Property in class EmbedNode
- $ ImportNode#args — Property in class ImportNode
- $ IncludeBlockNode#args — Property in class IncludeBlockNode
- $ IncludeFileNode#args — Property in class IncludeFileNode
- $ NAttrNode#args — Property in class NAttrNode
- NAttrNode::attrs() — Method in class NAttrNode
- $ NClassNode#args — Property in class NClassNode
- $ VarNode#assignments — Property in class VarNode
- $ VarPrintNode#all — Property in class VarPrintNode
- FilterExecutor::add() — Method in class FilterExecutor
Registers run-time filter.
- FunctionExecutor::add() — Method in class FunctionExecutor
Registers run-time function.
- Template::addBlock() — Method in class Template
Creates block if doesn't exist and checks if content type is the same.
- $ SandboxNode#args — Property 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
- BlueScreenPanel — Class in namespace Latte\Bridges\Tracy
BlueScreen panels for Tracy 2.x
- LattePanel::beforeRender() — Method in class LattePanel
- TracyExtension::beforeRender() — Method in class TracyExtension
Initializes before template is rendered.
- Block — Class in namespace Latte\Compiler
- ExpressionBuilder::build() — Method in class ExpressionBuilder
- BogusTagNode — Class in namespace Latte\Compiler\Nodes\Html
HTML bogus tag.
- $ ElementNode#breakable — Property in class ElementNode
- BinaryOpNode — Class in namespace Latte\Compiler\Nodes\Php\Expression
- BooleanNode — Class in namespace Latte\Compiler\Nodes\Php\Scalar
- $ PrintContext#blocks — Property in class PrintContext
- PrintContext::beginEscape() — Method in class PrintContext
- $ TemplateParser#blocks — Property in class TemplateParser
- $ TemplateParser#blockLayer — Property in class TemplateParser
- Blueprint — Class in namespace Latte\Essential
Generates blueprint of template class.
- CoreExtension::beforeCompile() — Method in class CoreExtension
Initializes before template is compiler.
- CoreExtension::beforeRender() — Method in class CoreExtension
Initializes before template is rendered.
- 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.
- BlockNode — Class in namespace Latte\Essential\Nodes
{block [local] [name]}
- $ BlockNode#block — Property in class BlockNode
- $ DefineNode#block — Property in class DefineNode
- $ EmbedNode#blocks — Property in class EmbedNode
- $ ForeachNode#byRef — Property in class ForeachNode
- $ IncludeBlockNode#blocks — Property 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#baseDir — Property in class FileLoader
- Block — Class in namespace Latte\Runtime
- $ Template#blocks — Property 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
- CompileException — Class in namespace Latte
The exception occurred during Latte compilation.
- $ Block#content — Property in class Block
- Escaper::check() — Method in class Escaper
- ExpressionBuilder::class() — Method in class ExpressionBuilder
- NodeHelpers::clone() — Method in class NodeHelpers
- $ FragmentNode#children — Property in class FragmentNode
- CommentNode — Class in namespace Latte\Compiler\Nodes\Html
- $ ElementNode#content — Property in class ElementNode
- $ ElementNode#captureTagName — Property in class ElementNode
- ClosureUseNode — Class in namespace Latte\Compiler\Nodes\Php
- ComplexTypeNode — Class in namespace Latte\Compiler\Nodes\Php
- CastNode — Class in namespace Latte\Compiler\Nodes\Php\Expression
- ClassConstantFetchNode — Class in namespace Latte\Compiler\Nodes\Php\Expression
- CloneNode — Class in namespace Latte\Compiler\Nodes\Php\Expression
- ClosureNode — Class in namespace Latte\Compiler\Nodes\Php\Expression
- ConstantFetchNode — Class in namespace Latte\Compiler\Nodes\Php\Expression
- $ TemplateNode#contentType — Property in class TemplateNode
- PhpHelpers::checkCode() — Method in class PhpHelpers
- PrintContext::callExpr() — Method in class PrintContext
Wraps the LHS of a call in parentheses if needed.
- Tag::closestTag() — Method in class Tag
- TagParser::checkFunctionName() — Method in class TagParser
- TagParser::convertArrayToList() — Method in class TagParser
- 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.
- ContentType — Class in namespace Latte
- Engine::createTemplate() — Method in class Engine
Creates template object.
- Engine::compile() — Method in class Engine
Compiles template to PHP code.
- AuxiliaryIterator::count() — Method in class AuxiliaryIterator
- Blueprint::clickableFile() — Method in class Blueprint
- CachingIterator — Class in namespace Latte\Essential
Smarter caching iterator.
- $ CachingIterator#counter — Property in class CachingIterator
- $ CachingIterator#counter0 — Property in class CachingIterator
- CachingIterator::count() — Method in class CachingIterator
Returns the count of elements.
- CoreExtension — Class 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#content — Property in class BlockNode
- BlockNode::create() — Method in class BlockNode
- CaptureNode — Class in namespace Latte\Essential\Nodes
{capture $variable}
- $ CaptureNode#content — Property in class CaptureNode
- CaptureNode::create() — Method in class CaptureNode
- ContentTypeNode — Class in namespace Latte\Essential\Nodes
{contentType ...}
- $ ContentTypeNode#contentType — Property in class ContentTypeNode
- ContentTypeNode::create() — Method in class ContentTypeNode
- $ DebugbreakNode#condition — Property in class DebugbreakNode
- DebugbreakNode::create() — Method in class DebugbreakNode
- $ DefineNode#content — Property 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#condition — Property in class ForNode
- $ ForNode#content — Property in class ForNode
- ForNode::create() — Method in class ForNode
- $ ForeachNode#content — Property in class ForeachNode
- $ ForeachNode#checkArgs — Property in class ForeachNode
- ForeachNode::create() — Method in class ForeachNode
- $ IfChangedNode#conditions — Property in class IfChangedNode
- IfChangedNode::create() — Method in class IfChangedNode
- $ IfContentNode#content — Property in class IfContentNode
- IfContentNode::create() — Method in class IfContentNode
- $ IfNode#condition — Property in class IfNode
- $ IfNode#capture — Property 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#condition — Property in class IterateWhileNode
- $ IterateWhileNode#content — Property in class IterateWhileNode
- IterateWhileNode::create() — Method in class IterateWhileNode
- $ JumpNode#condition — Property in class JumpNode
- JumpNode::create() — Method in class JumpNode
- NAttrNode::create() — Method in class NAttrNode
- NClassNode::create() — Method in class NClassNode
- $ NElseNode#content — Property in class NElseNode
- NElseNode::create() — Method in class NElseNode
- 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#code — Property in class RawPhpNode
- RawPhpNode::create() — Method in class RawPhpNode
- RollbackNode::create() — Method in class RollbackNode
- $ SpacelessNode#content — Property in class SpacelessNode
- SpacelessNode::create() — Method in class SpacelessNode
- $ SwitchNode#cases — Property 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#content — Property 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#condition — Property in class WhileNode
- $ WhileNode#content — Property in class WhileNode
- WhileNode::create() — Method in class WhileNode
- Passes::customFunctionsPass() — Method in class Passes
Enable custom functions.
- $ Block#contentType — Property in class Block
- $ FilterInfo#contentType — Property in class FilterInfo
- Filters::convertTo() — Method in class Filters
Converts ... to .
- Filters::convertJSToHtmlRawText() — Method in class Filters
Converts JS and CSS for usage in