filters\ContentNegotiator $formatParam

$formatParam public property

The name of the GET parameter that specifies the response format. Note that if the specified format does not exist in $formats, a yii\web\UnsupportedMediaTypeHttpException exception will be thrown. If the parameter value is empty or if this property is null, the response format will be determined based on the Accept HTTP header only.

See also $formats.

public string $formatParam = '_format'
doc_Yii
2016-10-30 17:02:32
Comments
Leave a Comment

Please login to continue.