企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# Abstract class **Phalcon\Mvc\View\Engine**[](# "永久链接至标题") *extends* abstract class `Phalcon\Di\Injectable` *implements*[*Phalcon\Events\EventsAwareInterface*](#), `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** (*unknown* $view, [*unknown* $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** (*unknown* $dependencyInjector) inherited from Phalcon\Di\Injectable Sets the dependency injector public **getDI** () inherited from Phalcon\Di\Injectable Returns the internal dependency injector public **setEventsManager** (*unknown* $eventsManager) inherited from Phalcon\Di\Injectable Sets the event manager public **getEventsManager** () inherited from Phalcon\Di\Injectable Returns the internal event manager public **__get** (*unknown* $propertyName) inherited from Phalcon\Di\Injectable Magic method __get | - [索引](# "总目录") - [下一页](# "Class Phalcon\Mvc\View\Engine\Php") | - [上一页](# "Class Phalcon\Mvc\View") | - [API Indice](#) »