Abstract class **Phalcon\\Mvc\\View\\Engine** ============================================= *extends* abstract class :doc:`Phalcon\\Di\\Injectable ` *implements* :doc:`Phalcon\\Events\\EventsAwareInterface `, :doc:`Phalcon\\Di\\InjectionAwareInterface ` .. role:: raw-html(raw) :format: html :raw-html:`Source on GitHub` All the template engine adapters must inherit this class. This provides basic interfacing between the engine and the Phalcon\\Mvc\\View component. Methods ------- public **__construct** (:doc:`Phalcon\\Mvc\\ViewBaseInterface ` $view, [:doc:`Phalcon\\DiInterface ` $dependencyInjector]) Phalcon\\Mvc\\View\\Engine constructor public **getContent** () Returns cached output on another view stage public *string* **partial** (*string* $partialPath, [*array* $params]) Renders a partial inside another view public **getView** () 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