EngineInterface.php
835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
namespace Phalcon\Mvc\View {
/**
* Phalcon\Mvc\View\EngineInterface initializer
*/
interface EngineInterface {
/**
* \Phalcon\Mvc\View\Engine constructor
*
* @param \Phalcon\Mvc\ViewInterface $view
* @param \Phalcon\DiInterface $dependencyInjector
*/
public function __construct($view, $dependencyInjector=null);
/**
* Returns cached ouput on another view stage
*
* @return array
*/
public function getContent();
/**
* Renders a partial inside another view
*
* @param string $partialPath
* @return string
*/
public function partial($partialPath);
/**
* Renders a view using the template engine
*
* @param string $path
* @param array $params
* @param boolean $mustClean
*/
public function render($path, $params, $mustClean=null);
}
}