PHP Class Neos\Media\Domain\Service\FileTypeIconService

Afficher le fichier Open project: neos/neos-development-collection Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
getDocumentIconSize ( integer $maximumWidth, integer $maximumHeight ) : integer

Method Details

getDocumentIconSize() protected static méthode

protected static getDocumentIconSize ( integer $maximumWidth, integer $maximumHeight ) : integer
$maximumWidth integer
$maximumHeight integer
Résultat integer

getIcon() public static méthode

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
Résultat array