Documentation

Interface Phalcon\Mvc\View\EngineInterface

Source on GitHub

Phalcon\Mvc\View\EngineInterface initializer

Methods

abstract public array getContent ()

Returns cached ouput on another view stage

abstract public startSection (string $name)

Start a new section block

abstract public string stopSection ()

Stop the current section block

abstract public string|null section (string $name, [unknown $defaultValue])

Returns the content for a section block

abstract public string partial (string $partialPath)

Renders a partial inside another view

abstract public render (string $path, array $params, [boolean $mustClean])

Renders a view using the template engine

abstract public Phalcon\Mvc\View\EngineInterface addMethod (string $name, callable $handler)

Adds a user-defined method

abstract public mixed __call (string $method, [array $arguments])

Handles method calls when a method is not implemented