Public Member Functions | |
setMediaType ($mediaType) | |
| |
getMediaType () | |
setParameter ($attribute, $value) | |
| |
dropParameter ($attribute) | |
| |
hasParameter ($attribute) | |
getParameter ($attribute) | |
setParametersList ($parameters) | |
| |
getParametersList () | |
getCharset () | |
setCharset ($charset) | |
| |
import ($string) | |
| |
toString () | |
Static Public Member Functions | |
static | create () |
| |
Private Attributes | |
$mediaType = null | |
$parameters = array() | |
$charset = null |
Definition at line 16 of file ContentTypeHeader.class.php.
static ContentTypeHeader::create | ( | ) | [static] |
ContentTypeHeader::setMediaType | ( | $ | mediaType | ) |
Definition at line 34 of file ContentTypeHeader.class.php.
References $mediaType.
ContentTypeHeader::getMediaType | ( | ) |
Definition at line 41 of file ContentTypeHeader.class.php.
ContentTypeHeader::setParameter | ( | $ | attribute, | |
$ | value | |||
) |
ContentTypeHeader::dropParameter | ( | $ | attribute | ) |
ContentTypeHeader::hasParameter | ( | $ | attribute | ) |
Definition at line 69 of file ContentTypeHeader.class.php.
ContentTypeHeader::getParameter | ( | $ | attribute | ) |
Definition at line 74 of file ContentTypeHeader.class.php.
ContentTypeHeader::setParametersList | ( | $ | parameters | ) |
Definition at line 85 of file ContentTypeHeader.class.php.
References $parameters.
ContentTypeHeader::getParametersList | ( | ) |
Definition at line 94 of file ContentTypeHeader.class.php.
ContentTypeHeader::getCharset | ( | ) |
Definition at line 99 of file ContentTypeHeader.class.php.
ContentTypeHeader::setCharset | ( | $ | charset | ) |
Definition at line 107 of file ContentTypeHeader.class.php.
References $charset.
ContentTypeHeader::import | ( | $ | string | ) |
sample argument: text/html; charset="utf-8"
Definition at line 123 of file ContentTypeHeader.class.php.
ContentTypeHeader::toString | ( | ) |
Definition at line 164 of file ContentTypeHeader.class.php.
ContentTypeHeader::$mediaType = null [private] |
ContentTypeHeader::$parameters = array() [private] |
ContentTypeHeader::$charset = null [private] |