PHP 인터페이스 Sulu\Bundle\MediaBundle\Media\FormatCache\FormatCacheInterface

파일 보기 프로젝트 열기: sulu/sulu 0 사용 예제들

공개 메소드들

메소드 설명
analyzedMediaUrl ( string $url ) : array Return the id and the format of a media.
clear ( ) Clears the format cache.
getMediaUrl ( integer $id, string $fileName, array $options, string $format, integer $version, integer $subVersion ) : string Return the url to an specific format of an media.
purge ( integer $id, string $fileName, array $options ) : boolean Delete the image by the given parameters.
save ( string $content, integer $id, string $fileName, array $options, string $format ) : boolean Save image and return the url to the image.

메소드 상세

analyzedMediaUrl() 공개 메소드

Return the id and the format of a media.
public analyzedMediaUrl ( string $url ) : array
$url string
리턴 array ($id, $format)

clear() 공개 메소드

Clears the format cache.
public clear ( )

getMediaUrl() 공개 메소드

Return the url to an specific format of an media.
public getMediaUrl ( integer $id, string $fileName, array $options, string $format, integer $version, integer $subVersion ) : string
$id integer
$fileName string
$options array
$format string
$version integer
$subVersion integer
리턴 string

purge() 공개 메소드

Delete the image by the given parameters.
public purge ( integer $id, string $fileName, array $options ) : boolean
$id integer
$fileName string
$options array
리턴 boolean

save() 공개 메소드

Save image and return the url to the image.
public save ( string $content, integer $id, string $fileName, array $options, string $format ) : boolean
$content string
$id integer
$fileName string
$options array
$format string
리턴 boolean