Table Of ContentsPrevious topicNext topicClass Phalcon\Mvc\View\Engine\Php > This Page |
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 string getContent () Returns cached ouput on another view stage public string partial (unknown $partialPath, [unknown $params]) Renders a partial inside another view public Phalcon\Mvc\ViewInterface getView () Returns the view component related to the adapter public setDI (unknown $dependencyInjector) inherited from Phalcon\Di\Injectable Sets the dependency injector public Phalcon\DiInterface 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 Phalcon\Events\ManagerInterface getEventsManager () inherited from Phalcon\Di\Injectable Returns the internal event manager public __get (unknown $propertyName) inherited from Phalcon\Di\Injectable Magic method __get |