Class **Phalcon\\Mvc\\View\\Engine** ==================================== *extends* :doc:`Phalcon\\DI\\Injectable ` *implements* :doc:`Phalcon\\Events\\EventsAwareInterface `, :doc:`Phalcon\\DI\\InjectionAwareInterface ` 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\\ViewInterface ` $view, [:doc:`Phalcon\\DiInterface ` $dependencyInjector]) Phalcon\\Mvc\\View\\Engine constructor public *array* **getContent** () Returns cached ouput on another view stage public *string* **partial** (*string* $partialPath, [*array* $params]) Renders a partial inside another view public :doc:`Phalcon\\Mvc\\ViewInterface ` **getView** () Returns the view component related to the adapter public **setDI** (:doc:`Phalcon\\DiInterface ` $dependencyInjector) inherited from Phalcon\\DI\\Injectable Sets the dependency injector public :doc:`Phalcon\\DiInterface ` **getDI** () inherited from Phalcon\\DI\\Injectable Returns the internal dependency injector public **setEventsManager** (:doc:`Phalcon\\Events\\ManagerInterface ` $eventsManager) inherited from Phalcon\\DI\\Injectable Sets the event manager public :doc:`Phalcon\\Events\\ManagerInterface ` **getEventsManager** () inherited from Phalcon\\DI\\Injectable Returns the internal event manager public **__get** (*string* $propertyName) inherited from Phalcon\\DI\\Injectable Magic method __get