PHP Класс Neos\Media\Domain\Service\FileTypeIconService

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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