Pimcore\Model\Asset::getMimetype PHP 메소드

getMimetype() 공개 메소드

public getMimetype ( ) : string
리턴 string
    public function getMimetype()
    {
        return $this->mimetype;
    }

Usage Example

예제 #1
0
 /**
  * Returns the mimetype of the asset
  *
  * @return string
  */
 function getContentType()
 {
     return $this->asset->getMimetype();
 }