public compileForElse () Generates a ‘forelse’ PHP code
public compile (mixed $templatePath, [mixed $extendsMode]) Compiles a template into a file applying the compiler
public addExtension (mixed $extension) Registers a Volt’s extension
public compileCache (array $statement, [mixed $extendsMode]) Compiles a “cache” statement returning PHP code
public setOption (string $option, mixed $value) Sets a single compiler option
public compileElseIf (array $statement) Compiles a “elseif” statement returning PHP code
public array parse (string $viewCode) Parses a Volt template returning its intermediate representation
public addFunction (mixed $name, mixed $definition) Register a new function in the compiler
public getFunctions () Register the user registered functions
public setDI (Phalcon\DiInterface $dependencyInjector)
Page 1 of 4