Pimcore\Model\Asset\Image::isVectorGraphic PHP 메소드

isVectorGraphic() 공개 메소드

public isVectorGraphic ( ) : boolean
리턴 boolean
    public function isVectorGraphic()
    {
        // we use a simple file-extension check, for performance reasons
        if (preg_match("@\\.(svgz?|eps|pdf|ps|ai|indd)\$@", $this->getFilename())) {
            return true;
        }
        return false;
    }