TYPO3
7.6
|
Static Protected Member Functions | |
static | getIconForFileExtension ($extension, IconFactory $iconFactory) |
Additional Inherited Members | |
Static Public Member Functions inherited from AbstractViewHelper | |
static | renderStatic (array $arguments,\Closure $renderChildrenClosure,\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) |
Static Public Member Functions inherited from CompilableInterface | |
static | renderStatic (array $arguments,\Closure $renderChildrenClosure,\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) |
Protected Member Functions inherited from AbstractViewHelper | |
registerArgument ($name, $type, $description, $required=false, $defaultValue=null) | |
overrideArgument ($name, $type, $description, $required=false, $defaultValue=null) | |
callRenderMethod () | |
getLogger () | |
buildRenderChildrenClosure () | |
hasArgument ($argumentName) | |
Protected Attributes inherited from AbstractViewHelper | |
$arguments | |
$templateVariableContainer | |
$controllerContext | |
$renderingContext | |
$renderChildrenClosure = null | |
$viewHelperVariableContainer | |
$objectManager | |
$escapingInterceptorEnabled = true | |
ViewHelper to display all download links for a document
Example: <doc:formats document="{document}" />
Definition at line 31 of file FormatsViewHelper.php.
|
staticprotected |
Returns the icon associated to a given file extension (privileging black and white).
IconFactory | $iconFactory | |
string | $extension |
Definition at line 114 of file FormatsViewHelper.php.
References IconFactory\getIconForFileExtension(), and Icon\SIZE_SMALL.
render | ( | \TYPO3\CMS\Documentation\Domain\Model\DocumentTranslation | $documentTranslation | ) |
Renders all format download links.
\TYPO3\CMS\Documentation\Domain\Model\DocumentTranslation | $documentTranslation |
Definition at line 39 of file FormatsViewHelper.php.
References AbstractViewHelper\buildRenderChildrenClosure().