Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Neos
Flow
ResourceManagement
PersistentResource
setMediaType
Neos\Flow\ResourceManagement\PersistentResource::setMediaType PHP Méthode
PersistentResource Class Documentation
Afficher le fichier
Open project: neos/flow-development-collection
setMediaType()
public
méthode
Explicitly sets the Media Type for this resource
public
setMediaType
(
string
$mediaType
) :
void
$mediaType
string
The IANA Media Type
Résultat
void
public function setMediaType($mediaType) { $this->mediaType = $mediaType; }
PersistentResource
__toString
createTemporaryLocalCopy
disableLifecycleEvents
getCacheEntryIdentifier
getCollectionName
getFileExtension
getFileSize
getFilename
getHash
getMd5
getMediaType
getRelativePublicationPath
getResourcePointer
getSha1
getStream
initializeObject
isDeleted
postPersist
preRemove
setCollectionName
setDeleted
setFileSize
setFilename
setHash
setMd5
setMediaType
setRelativePublicationPath
setResourcePointer
setSha1
shutdownObject
throwExceptionIfProtected