You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					31 lines
				
				820 B
			
		
		
			
		
	
	
					31 lines
				
				820 B
			| 
											13 years ago
										 | <?php
 | ||
| 
											13 years ago
										 | /**
 | ||
|  |  * @link http://www.yiiframework.com/
 | ||
| 
											13 years ago
										 |  * @copyright Copyright (c) 2008 Yii Software LLC
 | ||
| 
											13 years ago
										 |  * @license http://www.yiiframework.com/license/
 | ||
|  |  */
 | ||
| 
											13 years ago
										 | 
 | ||
|  | namespace yii\base;
 | ||
|  | 
 | ||
|  | /**
 | ||
| 
											13 years ago
										 |  * ViewRenderer is the base class for view renderer classes.
 | ||
|  |  *
 | ||
|  |  * @author Qiang Xue <qiang.xue@gmail.com>
 | ||
|  |  * @since 2.0
 | ||
| 
											13 years ago
										 |  */
 | ||
|  | abstract class ViewRenderer extends Component
 | ||
|  | {
 | ||
|  | 	/**
 | ||
|  | 	 * Renders a view file.
 | ||
| 
											13 years ago
										 | 	 *
 | ||
|  | 	 * This method is invoked by [[View]] whenever it tries to render a view.
 | ||
|  | 	 * Child classes must implement this method to render the given view file.
 | ||
|  | 	 *
 | ||
|  | 	 * @param View $view the view object used for rendering the file.
 | ||
|  | 	 * @param string $file the view file.
 | ||
|  | 	 * @param array $params the parameters to be passed to the view file.
 | ||
|  | 	 * @return string the rendering result
 | ||
| 
											13 years ago
										 | 	 */
 | ||
| 
											13 years ago
										 | 	abstract public function render($view, $file, $params);
 | ||
| 
											13 years ago
										 | }
 |