SearchTable Of ContentsPrevious topicNext topicClass Phalcon\Mvc\View\Engine\Php This Page |
Class Phalcon\Mvc\View\Engine¶extends 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 (Phalcon\Mvc\ViewInterface $view, Phalcon\DiInterface $dependencyInjector) Phalcon\Mvc\View\Engine constructor public array getContent () Returns cached ouput on another view stage public string partial (string $partialPath) Renders a partial inside another view public setDI (Phalcon\DiInterface $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 (Phalcon\Events\ManagerInterface $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 (string $propertyName) inherited from Phalcon\DI\Injectable Magic method __get |