PHP Trait yii\apidoc\templates\bootstrap\RendererTrait

Afficher le fichier Open project: yiisoft/yii2-apidoc

Méthodes publiques

Свойство Type Description
$extensions official Yii extensions

Méthodes publiques

Méthode Description
getNavTypes ( yii\apidoc\models\TypeDoc $type, yii\apidoc\models\TypeDoc[] $types ) : array Returns nav TypeDocs

Méthodes protégées

Méthode Description
filterTypes ( yii\apidoc\models\TypeDoc[] $types, string $navClasses ) : array Returns types of a given class
getTypeCategory ( yii\apidoc\models\TypeDoc $type ) : string Returns category of TypeDoc

Method Details

filterTypes() protected méthode

Returns types of a given class
protected filterTypes ( yii\apidoc\models\TypeDoc[] $types, string $navClasses ) : array
$types yii\apidoc\models\TypeDoc[]
$navClasses string
Résultat array

getNavTypes() public méthode

Returns nav TypeDocs
public getNavTypes ( yii\apidoc\models\TypeDoc $type, yii\apidoc\models\TypeDoc[] $types ) : array
$type yii\apidoc\models\TypeDoc typedoc to take category from
$types yii\apidoc\models\TypeDoc[] TypeDocs to filter
Résultat array

getTypeCategory() protected méthode

Returns category of TypeDoc
protected getTypeCategory ( yii\apidoc\models\TypeDoc $type ) : string
$type yii\apidoc\models\TypeDoc
Résultat string

Property Details

$extensions public_oe property

official Yii extensions
public $extensions