yii\apidoc\helpers\ApiMarkdownTrait - Yii2 类参考手册
Trait yii\apidoc\helpers\ApiMarkdownTrait
全部
| 方法 Methods
| Implemented by | yii\apidoc\helpers\ApiMarkdown, yii\apidoc\helpers\ApiMarkdownLaTeX |
|---|
Class ApiMarkdownTrait
Protected Methods
隐藏继承的方法 Hide inherited methods
| 方法 Method | 简介 Description | 定义在 Defined By |
|---|---|---|
| consumeQuote() | Consume lines for a blockquote element | yii\apidoc\helpers\ApiMarkdownTrait |
| parseApiLinks() | yii\apidoc\helpers\ApiMarkdownTrait | |
| renderApiLink() | Renders API link | yii\apidoc\helpers\ApiMarkdownTrait |
| renderBrokenApiLink() | Renders API link that is broken i.e. points nowhere | yii\apidoc\helpers\ApiMarkdownTrait |
| renderQuote() | Renders a blockquote | yii\apidoc\helpers\ApiMarkdownTrait |
| translateBlockType() | yii\apidoc\helpers\ApiMarkdownTrait |
方法详情 Method Details
Consume lines for a blockquote element
| protected void consumeQuote ( $lines, $current ) | ||
| $lines | ||
| $current | ||
| protected void parseApiLinks ( $text ) | ||
| $text | ||
Renders API link
| protected string renderApiLink ( $block ) | ||
| $block | array | |
Renders API link that is broken i.e. points nowhere
| protected string renderBrokenApiLink ( $block ) | ||
| $block | array | |
Renders a blockquote
| protected void renderQuote ( $block ) | ||
| $block | ||
| protected abstract void translateBlockType ( $type ) | ||
| $type | ||