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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.