Documentation

Table Of Contents

Previous topic

< Abstract class Phalcon\Mvc\View\Engine

Next topic

Class Phalcon\Mvc\View\Engine\Volt >

This Page

Class Phalcon\Mvc\View\Engine\Php

extends abstract class Phalcon\Mvc\View\Engine

implements Phalcon\Di\InjectionAwareInterface, Phalcon\Events\EventsAwareInterface, Phalcon\Mvc\View\EngineInterface

Adapter to use PHP itself as templating engine

Methods

public render (unknown $path, unknown $params, [unknown $mustClean])

Renders a view using the template engine

public __construct (unknown $view, [unknown $dependencyInjector]) inherited from Phalcon\Mvc\View\Engine

Phalcon\Mvc\View\Engine constructor

public string getContent () inherited from Phalcon\Mvc\View\Engine

Returns cached ouput on another view stage

public string partial (unknown $partialPath, [unknown $params]) inherited from Phalcon\Mvc\View\Engine

Renders a partial inside another view

public Phalcon\Mvc\ViewInterface getView () inherited from Phalcon\Mvc\View\Engine

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

Follow along: