Browse Source

Merge pull request #7923 from smichae/patch-2

Fixing broken doc links to ContentNegotiator [ci skip]
tags/2.0.4
Alexander Makarov 10 years ago
parent
commit
932afe9113
  1. 4
      framework/web/Response.php

4
framework/web/Response.php

@ -103,13 +103,13 @@ class Response extends \yii\base\Response
public $format = self::FORMAT_HTML;
/**
* @var string the MIME type (e.g. `application/json`) from the request ACCEPT header chosen for this response.
* This property is mainly set by [\yii\filters\ContentNegotiator]].
* This property is mainly set by [[\yii\filters\ContentNegotiator]].
*/
public $acceptMimeType;
/**
* @var array the parameters (e.g. `['q' => 1, 'version' => '1.0']`) associated with the [[acceptMimeType|chosen MIME type]].
* This is a list of name-value pairs associated with [[acceptMimeType]] from the ACCEPT HTTP header.
* This property is mainly set by [\yii\filters\ContentNegotiator]].
* This property is mainly set by [[\yii\filters\ContentNegotiator]].
*/
public $acceptParams = [];
/**

Loading…
Cancel
Save