Class ContentDispositionHeader
Representation of the Content-Disposition
header field.
<?php use ICanBoogie\HTTP\ContentDispositionHeader; $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\Header implements ArrayAccess
- ICanBoogie\HTTP\ContentDispositionHeader
Namespace: ICanBoogie\HTTP
See: http://tools.ietf.org/html/rfc2616#section-19.5.1
See: http://tools.ietf.org/html/rfc6266
Located at vendor/icanboogie/http/lib/headers/content-disposition.php
See: http://tools.ietf.org/html/rfc2616#section-19.5.1
See: http://tools.ietf.org/html/rfc6266
Located at vendor/icanboogie/http/lib/headers/content-disposition.php
Methods summary
public
|
Methods inherited from ICanBoogie\HTTP\Header
__get()
,
__set()
,
__toString()
,
__unset()
,
from()
,
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
,
parse()
Magic methods summary
Constants summary
Constants inherited from ICanBoogie\HTTP\Header
Properties summary
Properties inherited from ICanBoogie\HTTP\Header
Magic properties
public
string
|
$type |
|
#
The |
public
string
|
$filename |
|
#
The |