Class ContentDisposition
Representation of the Content-Disposition
header field.
<?php use ICanBoogie\HTTP\Headers\ContentDisposition; $cd = new ContentDisposition; $cd->type = attachment; $cd->filename = "Résumé en €.csv"; echo $cd; // attachment; filename*=UTF-8''R%C3%A9sum%C3%A9%20en%20%E2%82%AC.csv
- ICanBoogie\HTTP\Headers\Header implements ArrayAccess
- ┗ ICanBoogie\HTTP\Headers\ContentDisposition
Namespace: ICanBoogie\HTTP\Headers
See: http://tools.ietf.org/html/rfc2616#section-19.5.1
See: http://tools.ietf.org/html/rfc6266
Located at Headers/ContentDisposition.php
See: http://tools.ietf.org/html/rfc2616#section-19.5.1
See: http://tools.ietf.org/html/rfc6266
Located at Headers/ContentDisposition.php
Methods summary
Methods inherited from ICanBoogie\HTTP\Headers\Header
__get()
,
__set()
,
__toString()
,
__unset()
,
from()
,
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
,
parse()
Constants summary
Constants inherited from ICanBoogie\HTTP\Headers\Header
Properties summary
Properties inherited from ICanBoogie\HTTP\Headers\Header
Magic properties
public
$type
: string
The disposition-type
part of the content disposition. Alias to ICanBoogie\HTTP\Headers\Header::$value
.