Blame view

src/vendor/1.2.5/Phalcon/Mvc/View/Engine.php 1.06 KB
1ea3b987   Administrator   maby first commit
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
48
49
50
51
  <?php 
  
  namespace Phalcon\Mvc\View {
  
  	/**
  	 * Phalcon\Mvc\View\Engine
  	 *
  	 * All the template engine adapters must inherit this class. This provides
  	 * basic interfacing between the engine and the Phalcon\Mvc\View component.
  	 */
  	
  	abstract class Engine extends \Phalcon\DI\Injectable implements \Phalcon\Events\EventsAwareInterface, \Phalcon\DI\InjectionAwareInterface {
  
  		protected $_view;
  
  		/**
  		 * \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
  		 * @param array $params
  		 * @return string
  		 */
  		public function partial($partialPath, $params=null){ }
  
  
  		/**
  		 * Returns the view component related to the adapter
  		 *
  		 * @return \Phalcon\Mvc\ViewInterface
  		 */
  		public function getView(){ }
  
  	}
  }