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.
		
		
		
		
			
				
					32 lines
				
				757 B
			
		
		
			
		
	
	
					32 lines
				
				757 B
			| 
											12 years ago
										 | <?php
 | ||
|  | /**
 | ||
| 
											12 years ago
										 |  * @link http://www.yiiframework.com/
 | ||
|  |  * @copyright Copyright (c) 2008 Yii Software LLC
 | ||
|  |  * @license http://www.yiiframework.com/license/
 | ||
| 
											12 years ago
										 |  */
 | ||
|  | 
 | ||
| 
											12 years ago
										 | namespace yii\apidoc\templates;
 | ||
| 
											12 years ago
										 | 
 | ||
|  | use Yii;
 | ||
|  | use yii\base\Component;
 | ||
|  | use yii\console\Controller;
 | ||
| 
											12 years ago
										 | use yii\apidoc\models\Context;
 | ||
| 
											12 years ago
										 | use yii\web\AssetManager;
 | ||
| 
											12 years ago
										 | use yii\web\View;
 | ||
|  | 
 | ||
| 
											12 years ago
										 | /**
 | ||
|  |  * Base class for all API documentation renderers
 | ||
|  |  *
 | ||
|  |  * @author Carsten Brandt <mail@cebe.cc>
 | ||
|  |  * @since 2.0
 | ||
|  |  */
 | ||
| 
											12 years ago
										 | abstract class BaseRenderer extends Component
 | ||
|  | {
 | ||
|  | 	/**
 | ||
| 
											12 years ago
										 | 	 * Renders a given [[Context]].
 | ||
|  | 	 *
 | ||
|  | 	 * @param Context $context the api documentation context to render.
 | ||
|  | 	 * @param Controller $controller the apidoc controller instance. Can be used to control output.
 | ||
| 
											12 years ago
										 | 	 */
 | ||
|  | 	public abstract function render($context, $controller);
 | ||
| 
											12 years ago
										 | }
 |