PHP Class yii\apidoc\helpers\ApiMarkdownLaTeX

Since: 2.0
Author: Carsten Brandt ([email protected])
Inheritance: extends cebe\markdown\latex\GithubMarkdown, use trait yii\apidoc\helpers\ApiMarkdownTrait
Afficher le fichier Open project: yiisoft/yii2-apidoc Class Usage Examples

Méthodes publiques

Свойство Type Description
$renderer yii\apidoc\renderers\BaseRenderer

Protected Properties

Свойство Type Description
$renderingContext

Méthodes publiques

Méthode Description
process ( string $content, yii\apidoc\models\TypeDoc $context = null, boolean $paragraph = false ) : string Converts markdown into HTML

Méthodes protégées

Méthode Description
renderApiLink ( $block )
renderBrokenApiLink ( $block )
renderQuote ( $block ) Renders a blockquote
translateBlockType ( $type )

Method Details

process() public static méthode

Converts markdown into HTML
public static process ( string $content, yii\apidoc\models\TypeDoc $context = null, boolean $paragraph = false ) : string
$content string
$context yii\apidoc\models\TypeDoc
$paragraph boolean
Résultat string

renderQuote() protected méthode

Renders a blockquote
protected renderQuote ( $block )

translateBlockType() protected méthode

Since: 2.0.5
protected translateBlockType ( $type )

Property Details

$renderer public_oe static_oe property

public static BaseRenderer,yii\apidoc\renderers $renderer
Résultat yii\apidoc\renderers\BaseRenderer

$renderingContext protected_oe property

protected $renderingContext