PHP 클래스 Neos\Media\ViewHelpers\FileTypeIconViewHelper

= Examples = (depending on the asset, no scaling applied) filetype alt text
상속: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractTagBasedViewHelper
파일 보기 프로젝트 열기: neos/neos-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$resourceManager Neos\Flow\ResourceManagement\ResourceManager
$tagName string name of the tag to be created by this view helper

공개 메소드들

메소드 설명
initializeArguments ( ) : void
render ( Neos\Media\Domain\Model\AssetInterface $file, integer | null $width = null, integer | null $height = null ) : string Renders an HTML tag for a filetype icon for a given Neos.Media's asset instance

메소드 상세

initializeArguments() 공개 메소드

public initializeArguments ( ) : void
리턴 void

render() 공개 메소드

Renders an HTML tag for a filetype icon for a given Neos.Media's asset instance
public render ( Neos\Media\Domain\Model\AssetInterface $file, integer | null $width = null, integer | null $height = null ) : string
$file Neos\Media\Domain\Model\AssetInterface
$width integer | null
$height integer | null
리턴 string

프로퍼티 상세

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

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

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

name of the tag to be created by this view helper
protected string $tagName
리턴 string