Class **Phalcon\\Mvc\\View\\Engine\\Volt** ========================================== *extends* abstract class :doc:`Phalcon\\Mvc\\View\\Engine ` *implements* :doc:`Phalcon\\Di\\InjectionAwareInterface `, :doc:`Phalcon\\Events\\EventsAwareInterface `, :doc:`Phalcon\\Mvc\\View\\EngineInterface ` .. role:: raw-html(raw) :format: html :raw-html:`Source on GitHub` Designer friendly and fast template engine for PHP written in Zephir/C Methods ------- public **setOptions** (*array* $options) Set Volt's options public **getOptions** () Return Volt's options public **getCompiler** () Returns the Volt's compiler public **render** (*mixed* $templatePath, *mixed* $params, [*mixed* $mustClean]) Renders a view using the template engine public **length** (*mixed* $item) Length filter. If an array/object is passed a count is performed otherwise a strlen/mb_strlen public **isIncluded** (*mixed* $needle, *mixed* $haystack) Checks if the needle is included in the haystack public **convertEncoding** (*mixed* $text, *mixed* $from, *mixed* $to) Performs a string conversion public **slice** (*mixed* $value, [*mixed* $start], [*mixed* $end]) Extracts a slice from a string/array/traversable object value public **sort** (*array* $value) Sorts an array public **callMacro** (*mixed* $name, [*array* $arguments]) Checks if a macro is defined and calls it public **__construct** (:doc:`Phalcon\\Mvc\\ViewBaseInterface ` $view, [:doc:`Phalcon\\DiInterface ` $dependencyInjector]) inherited from :doc:`Phalcon\\Mvc\\View\\Engine ` Phalcon\\Mvc\\View\\Engine constructor public **getContent** () inherited from :doc:`Phalcon\\Mvc\\View\\Engine ` Returns cached output on another view stage public *string* **partial** (*string* $partialPath, [*array* $params]) inherited from :doc:`Phalcon\\Mvc\\View\\Engine ` Renders a partial inside another view public **getView** () inherited from :doc:`Phalcon\\Mvc\\View\\Engine ` Returns the view component related to the adapter public **setDI** (:doc:`Phalcon\\DiInterface ` $dependencyInjector) inherited from :doc:`Phalcon\\Di\\Injectable ` Sets the dependency injector public **getDI** () inherited from :doc:`Phalcon\\Di\\Injectable ` Returns the internal dependency injector public **setEventsManager** (:doc:`Phalcon\\Events\\ManagerInterface ` $eventsManager) inherited from :doc:`Phalcon\\Di\\Injectable ` Sets the event manager public **getEventsManager** () inherited from :doc:`Phalcon\\Di\\Injectable ` Returns the internal event manager public **__get** (*mixed* $propertyName) inherited from :doc:`Phalcon\\Di\\Injectable ` Magic method __get