PHP Class yii\apidoc\commands\ApiController

Since: 2.0
Author: Carsten Brandt ([email protected])
Inheritance: extends yii\apidoc\components\BaseController
Afficher le fichier Open project: yiisoft/yii2-apidoc

Méthodes publiques

Свойство Type Description
$guide url to where the guide files are located
$guidePrefix prefix to prepend to all guide file names.

Méthodes publiques

Méthode Description
actionIndex ( array $sourceDirs, string $targetDir ) : integer Renders API documentation files
options ( $actionID )

Méthodes protégées

Méthode Description
findFiles ( $path, $except = [] )
findRenderer ( $template ) : yii\apidoc\renderers\ApiRenderer

Method Details

actionIndex() public méthode

Renders API documentation files
public actionIndex ( array $sourceDirs, string $targetDir ) : integer
$sourceDirs array
$targetDir string
Résultat integer

findFiles() protected méthode

protected findFiles ( $path, $except = [] )

findRenderer() protected méthode

protected findRenderer ( $template ) : yii\apidoc\renderers\ApiRenderer
Résultat yii\apidoc\renderers\ApiRenderer

options() public méthode

public options ( $actionID )

Property Details

$guide public_oe property

url to where the guide files are located
public $guide

$guidePrefix public_oe property

prefix to prepend to all guide file names.
public $guidePrefix