@@ -26,6 +26,9 @@ discard block |
||
| 26 | 26 | return Yii::$app->charset ?: mb_internal_encoding(); |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | + /** |
|
| 30 | + * @param string $char |
|
| 31 | + */ |
|
| 29 | 32 | public function renderH($title, $char) |
| 30 | 33 | { |
| 31 | 34 | $res = $title . "\n"; |
@@ -44,6 +47,9 @@ discard block |
||
| 44 | 47 | return $this->renderH($title, '-'); |
| 45 | 48 | } |
| 46 | 49 | |
| 50 | + /** |
|
| 51 | + * @param string $text |
|
| 52 | + */ |
|
| 47 | 53 | public function renderText($text) |
| 48 | 54 | { |
| 49 | 55 | $text = trim($text); |
@@ -68,6 +74,9 @@ discard block |
||
| 68 | 74 | return $text ? "\n## $section\n\n$text\n" : ''; |
| 69 | 75 | } |
| 70 | 76 | |
| 77 | + /** |
|
| 78 | + * @param string $file |
|
| 79 | + */ |
|
| 71 | 80 | public function getSection($file, $default = null) |
| 72 | 81 | { |
| 73 | 82 | $view = Yii::$app->getView(); |