PHP Class Neos\Media\Domain\Service\FileTypeIconService

Show file Open project: neos/neos-development-collection Class Usage Examples

Public Methods

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

Protected Methods

Method Description
getDocumentIconSize ( integer $maximumWidth, integer $maximumHeight ) : integer

Method Details

getDocumentIconSize() protected static method

protected static getDocumentIconSize ( integer $maximumWidth, integer $maximumHeight ) : integer
$maximumWidth integer
$maximumHeight integer
return integer

getIcon() public static method

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
return array