web\Request setAcceptableContentTypes()

setAcceptableContentTypes() public method

Sets the acceptable content types.

Please refer to getAcceptableContentTypes() on the format of the parameter.

See also:

public void setAcceptableContentTypes ( $value )
$value array

The content types that are acceptable by the end user. They should be ordered by the preference level.

doc_Yii
2016-10-30 17:16:01
Comments
Leave a Comment

Please login to continue.