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
11 years ago
|
<?php
|
||
|
/**
|
||
11 years ago
|
* @link http://www.yiiframework.com/
|
||
|
* @copyright Copyright (c) 2008 Yii Software LLC
|
||
|
* @license http://www.yiiframework.com/license/
|
||
11 years ago
|
*/
|
||
|
|
||
11 years ago
|
namespace yii\apidoc\templates;
|
||
11 years ago
|
|
||
|
use Yii;
|
||
|
use yii\base\Component;
|
||
|
use yii\console\Controller;
|
||
11 years ago
|
use yii\apidoc\models\Context;
|
||
11 years ago
|
use yii\web\AssetManager;
|
||
11 years ago
|
use yii\web\View;
|
||
|
|
||
11 years ago
|
/**
|
||
|
* Base class for all API documentation renderers
|
||
|
*
|
||
|
* @author Carsten Brandt <mail@cebe.cc>
|
||
|
* @since 2.0
|
||
|
*/
|
||
11 years ago
|
abstract class BaseRenderer extends Component
|
||
|
{
|
||
|
/**
|
||
11 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.
|
||
11 years ago
|
*/
|
||
|
public abstract function render($context, $controller);
|
||
11 years ago
|
}
|