Browse Source

Fix #17928: Fix broken link in "Response Formatting"

tags/2.0.33
Alexander Makarov 5 years ago
parent
commit
68832c8f6d
No known key found for this signature in database
GPG Key ID: 3617B79C6A325E4A
  1. 2
      docs/guide-ja/rest-response-formatting.md
  2. 2
      docs/guide-ru/rest-response-formatting.md
  3. 2
      docs/guide-zh-CN/rest-response-formatting.md
  4. 2
      docs/guide/rest-response-formatting.md

2
docs/guide-ja/rest-response-formatting.md

@ -154,7 +154,7 @@ JSON 形式のレスポンスを生成する [[yii\web\JsonResponseFormatter|Jso
例えば、[[yii\web\JsonResponseFormatter::$prettyPrint|$prettyPrint]] オプションは、より読みやすいレスポンスのためのもので、開発時に有用なオプションです。
また、[[yii\web\JsonResponseFormatter::$encodeOptions|$encodeOptions]] によって JSON エンコーディングの出力を制御することが出来ます。
フォーマッタは、以下のように、アプリケーションの [構成情報](concept-configuration.md) の中で、`response` アプリケーション・コンポーネントの [[yii\web\Response::formatters|formatters]] プロパティの中で構成することが出来ます。
フォーマッタは、以下のように、アプリケーションの [構成情報](concept-configurations.md) の中で、`response` アプリケーション・コンポーネントの [[yii\web\Response::formatters|formatters]] プロパティの中で構成することが出来ます。
```php
'response' => [

2
docs/guide-ru/rest-response-formatting.md

@ -164,7 +164,7 @@ Content-Type: application/json; charset=UTF-8
может пригодиться для более тонкой настройки кодирования.
Свойство [[yii\web\Response::formatters|formatters]] компонента приложения `response` может быть
[сконфигурировано](concept-configuration.md) следующим образом:
[сконфигурировано](concept-configurations.md) следующим образом:
```php
'response' => [

2
docs/guide-zh-CN/rest-response-formatting.md

@ -164,7 +164,7 @@ JSON 响应将由 [[yii\web\JsonResponseFormatter|JsonResponseFormatter]] 类来
比如 [[yii\web\JsonResponseFormatter::$prettyPrint|$prettyPrint]],这对于开发更好的可读式响应更有用,
或者用 [[yii\web\JsonResponseFormatter::$encodeOptions|$encodeOptions]] 去控制 JSON 编码的输出。
格式化程序可以在 [configuration](concept-configuration.md) 的 `response` 应用程序组件 [[yii\web\Response::formatters|formatters]] 的属性进行配置,
格式化程序可以在 [configuration](concept-configurations.md) 的 `response` 应用程序组件 [[yii\web\Response::formatters|formatters]] 的属性进行配置,
如下所示:
```php

2
docs/guide/rest-response-formatting.md

@ -165,7 +165,7 @@ better readable responses, or [[yii\web\JsonResponseFormatter::$encodeOptions|$e
of the JSON encoding.
The formatter can be configured in the [[yii\web\Response::formatters|formatters]] property of the `response` application
component in the application [configuration](concept-configuration.md) like the following:
component in the application [configuration](concept-configurations.md) like the following:
```php
'response' => [

Loading…
Cancel
Save