Class yii\apidoc\templates\bootstrap\ApiRenderer

Inheritanceyii\apidoc\templates\bootstrap\ApiRenderer » yii\apidoc\templates\html\ApiRenderer » yii\apidoc\renderers\ApiRenderer » yii\apidoc\renderers\BaseRenderer » yii\base\Component
Implementsyii\base\ViewContextInterface
Uses Traitsyii\apidoc\templates\bootstrap\RendererTrait
Available since version2.0

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
filterTypes() Returns types of a given class yii\apidoc\templates\bootstrap\RendererTrait
generateFileName() Generates file name for API page for a given type yii\apidoc\templates\html\ApiRenderer
generateLink() Generate link markup yii\apidoc\templates\html\ApiRenderer
getTypeCategory() Returns category of TypeDoc yii\apidoc\templates\bootstrap\RendererTrait
renderWithLayout() Renders file applying layout yii\apidoc\templates\html\ApiRenderer

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
GUIDE_PREFIX 'guide-' Deprecated since 2.0.1 use $guidePrefix instead which allows configuring this options yii\apidoc\renderers\BaseRenderer

Property Details

$indexView public property
public $indexView '@yii/apidoc/templates/bootstrap/views/index.php'
$layout public property
public $layout '@yii/apidoc/templates/bootstrap/layouts/api.php'

Method Details

getSourceUrl() public method

public void getSourceUrl ( $type, $line null )
$type
$line
render() public method

Renders a given \yii\apidoc\templates\bootstrap\Context.

public void render ( $context, $targetDir )
$context yii\apidoc\models\Context

The api documentation context to render.

$targetDir