Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Sulu
Bundle
MediaBundle
Api
Media
isTypeOf
Sulu\Bundle\MediaBundle\Api\Media::isTypeOf PHP Method
Media Class Documentation
Show file
Open project: sulu/sulu
isTypeOf()
public
method
public
isTypeOf
(
string
$type
) :
boolean
$type
string
return
boolean
public function isTypeOf($type) { return $this->getType()->getName() == $type; }
Media
__construct
addCategory
addTag
getAdditionalVersionData
getCategories
getChanged
getChanger
getCollection
getContentLanguages
getCopyright
getCreated
getCreator
getCredits
getDescription
getDownloadCounter
getFallbackLocale
getFile
getFileVersion
getFocusPointX
getFocusPointY
getFormats
getId
getLocale
getLocalizedMeta
getMeta
getMimeType
getName
getProperties
getPublishLanguages
getSize
getStorageOptions
getSubVersion
getTags
getThumbnails
getTitle
getType
getUrl
getVersion
getVersions
isAudio
isDocument
isImage
isTypeOf
isVideo
removeCategories
removeTags
setAdditionalVersionData
setChanged
setChanger
setCollection
setContentLanguages
setCopyright
setCreator
setCredits
setDescription
setFocusPointX
setFocusPointY
setFormats
setMimeType
setName
setProperties
setPublishLanguages
setSize
setStorageOptions
setTitle
setType
setUrl
setVersion