Here is the process to determine the format:
* format defined by the user (with setRequestFormat())
* _format request attribute
* $default
public static getRequestFormat ( string $default = 'html' ) : string | ||
$default | string | The default format |
return | string | The request format |