PHP 클래스 Neos\Media\Domain\Service\FileTypeIconService

파일 보기 프로젝트 열기: neos/neos-development-collection 1 사용 예제들

공개 메소드들

메소드 설명
getIcon ( Neos\Media\Domain\Model\AssetInterface $asset, integer $maximumWidth, integer $maximumHeight ) : array Returns an icon for a filetype within given dimensions

보호된 메소드들

메소드 설명
getDocumentIconSize ( integer $maximumWidth, integer $maximumHeight ) : integer

메소드 상세

getDocumentIconSize() 보호된 정적인 메소드

protected static getDocumentIconSize ( integer $maximumWidth, integer $maximumHeight ) : integer
$maximumWidth integer
$maximumHeight integer
리턴 integer

getIcon() 공개 정적인 메소드

Returns an icon for a filetype within given dimensions
public static getIcon ( Neos\Media\Domain\Model\AssetInterface $asset, integer $maximumWidth, integer $maximumHeight ) : array
$asset Neos\Media\Domain\Model\AssetInterface
$maximumWidth integer
$maximumHeight integer
리턴 array