Class MediaType
MediaTypes
Diese Klasse baut auf der MIME-Klasse auf und erweitert die MIME-Funktionaliät unter anderem um einen Qualitätsfaktor und weitere Parameter.
- Alvine\Core\Alvine implements Serializable uses Alvine\Core\SerializableImplementation
- Alvine\Types\Mime\MIMEType
- Alvine\Types\MediaType
Namespace: Alvine\Types
Package: Alvine\Types
Category: Framework
License: Licence
Author: schukai GmbH info@schukai.de
Version: Release: $Revision: 3776 $
Since: 20130601
Link: Alvine
Located at types/MediaType.class.php
Package: Alvine\Types
Category: Framework
License: Licence
Author: schukai GmbH info@schukai.de
Version: Release: $Revision: 3776 $
Since: 20130601
Link: Alvine
Located at types/MediaType.class.php
public
|
#
__construct( integer|string $type, string $subtype = null, float $quality = 1.0, array|null $parameter = null )
Neue Klasse erstellen |
public
float
|
|
public
array
|
__toString(),
getContentType(),
getDefaultMimeType(),
getMimeType(),
getSubType(),
getType()
|
__call(),
__clone(),
__get(),
__set(),
equals(),
getClass(),
getClone(),
getClosure(),
getHashCode(),
getID(),
getShortID(),
isCallable(),
isInstanceOf(),
propertyExists()
|
serialize(),
unserialize()
|
checkAndAdjustSerialisation(),
serialize(),
unserialize()
|
APPLICATION,
APPLICATION_KEY,
AUDIO,
AUDIO_KEY,
DEFAULT_KEY,
IMAGE,
IMAGE_KEY,
MESSAGE,
MESSAGE_KEY,
MODEL,
MODEL_KEY,
MULTIPART,
MULTIPART_KEY,
OTHER,
OTHER_KEY,
TEXT,
TEXT_KEY,
VIDEO,
VIDEO_KEY
|
APIVERSION,
IDENTIFICATION,
SERIALVERSION,
VERSION
|
protected
float
|
$quality
Die Gewichtung kann einen Wert von 0 bis 1 annehmen. Der Standardwert ist 1.0 |
#
1.0
|
$subtype,
$type,
$typeMap
|
$hash,
$properties
|