PHP 클래스 Neos\Media\Domain\Model\ThumbnailGenerator\AbstractThumbnailGenerator

A Thumbnail Generator is used to generate thumbnail based on constraints, like priority, file extension, ... You can implement your own Generator. The output of a Generator must be an image, check existing Generators for inspiration.
상속: implements Neos\Media\Domain\Model\ThumbnailGenerator\ThumbnailGeneratorInterface
파일 보기 프로젝트 열기: neos/neos-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$environment Neos\Flow\Utility\Environment
$imagineService Imagine\Image\ImagineInterface
$options array
$priority integer The priority for this thumbnail generator.
$resourceManager Neos\Flow\ResourceManagement\ResourceManager

공개 메소드들

메소드 설명
canRefresh ( Thumbnail $thumbnail ) : boolean
getPriority ( ) : integer

보호된 메소드들

메소드 설명
getOption ( string $key ) : mixed
isExtensionSupported ( Thumbnail $thumbnail ) : boolean

메소드 상세

canRefresh() 공개 메소드

public canRefresh ( Thumbnail $thumbnail ) : boolean
$thumbnail Neos\Media\Domain\Model\Thumbnail
리턴 boolean TRUE if this ThumbnailGenerator can convert the given thumbnail, FALSE otherwise.

getOption() 보호된 메소드

protected getOption ( string $key ) : mixed
$key string
리턴 mixed

getPriority() 공개 정적인 메소드

public static getPriority ( ) : integer
리턴 integer

isExtensionSupported() 보호된 메소드

protected isExtensionSupported ( Thumbnail $thumbnail ) : boolean
$thumbnail Neos\Media\Domain\Model\Thumbnail
리턴 boolean

프로퍼티 상세

$environment 보호되어 있는 프로퍼티

protected Environment,Neos\Flow\Utility $environment
리턴 Neos\Flow\Utility\Environment

$imagineService 보호되어 있는 프로퍼티

protected ImagineInterface,Imagine\Image $imagineService
리턴 Imagine\Image\ImagineInterface

$options 보호되어 있는 프로퍼티

protected array $options
리턴 array

$priority 보호되어 있는 정적으로 프로퍼티

The priority for this thumbnail generator.
protected static int $priority
리턴 integer

$resourceManager 보호되어 있는 프로퍼티

protected ResourceManager,Neos\Flow\ResourceManagement $resourceManager
리턴 Neos\Flow\ResourceManagement\ResourceManager