SproutCMS

This is the code documentation for the SproutCMS project

function acceptsAtQuality()

Returns quality factor at which the client accepts content type.

Usage

integer|float Request::acceptsAtQuality ( [ string $type [, boolean $explicit_check ]] );

Arguments

  1. string $type = NULL
    content type (e.g. "image/jpg", "jpg")
  2. boolean $explicit_check = FALSE
    set to TRUE to disable wildcard checking

Return value

  • integer
  • float