yii\apidoc\helpers\ApiMarkdownLaTeX - Yii2 类参考手册

Class yii\apidoc\helpers\ApiMarkdownLaTeX

Inheritanceyii\apidoc\helpers\ApiMarkdownLaTeX » cebe\markdown\latex\GithubMarkdown
Uses Traitsyii\apidoc\helpers\ApiMarkdownTrait
Available since version2.0

A Markdown helper with support for class reference links.

Public Properties

隐藏继承的属性 Hide inherited properties

属性Property类型 Type简介 Description定义在 Defined By
$renderer yii\apidoc\renderers\BaseRenderer yii\apidoc\helpers\ApiMarkdownLaTeX

Protected Properties

隐藏继承的属性 Hide inherited properties

属性Property类型 Type简介 Description定义在 Defined By
$renderingContext yii\apidoc\helpers\ApiMarkdownLaTeX

Public Methods

隐藏继承的方法 Hide inherited methods

方法 Method简介 Description定义在 Defined By
process() Converts markdown into HTML yii\apidoc\helpers\ApiMarkdownLaTeX

属性详情 Property Details

$renderer public static property
$renderingContext protected property
protected $renderingContext null

方法详情 Method Details

process() public static method

Converts markdown into HTML

public static string process ( $content, $context null, $paragraph false )
$content string
$context yii\apidoc\models\TypeDoc
$paragraph boolean
renderApiLink() protected method

protected void renderApiLink ( $block )
$block
renderBrokenApiLink() protected method

protected void renderBrokenApiLink ( $block )
$block
renderQuote() protected method

Renders a blockquote

protected void renderQuote ( $block )
$block
translateBlockType() protected method (available since version 2.0.5)

protected void translateBlockType ( $type )
$type