IsResourceViewHelper

final class \TYPO3\CMS\Adminpanel\ViewHelpers\IsResourceViewHelper

Extends
AbstractViewHelper

ViewHelper to check whether the given value is a PHP resource. Fluid's casting expression ("{value as resource}") does not support "resource" as a target type, so this can't be done with a cast expression.

  <adm:isResource value="{someVar}" />

Table of Contents

Methods

initializeArguments()  : void
render()  : bool

Methods

initializeArguments()

public initializeArguments() : void

render()

public render() : bool

Return values

bool
On this page