PHP Class Neos\Neos\Fusion\Helper\RenderingHelper

These helpers are *WORK IN PROGRESS* and *NOT STABLE YET*
Inheritance: implements Neos\Eel\ProtectedContextAwareInterface
Show file Open project: neos/neos

Protected Properties

Property Type Description
$contentDimensionsConfiguration array
$nodeTypeManager Neos\ContentRepository\Domain\Service\NodeTypeManager

Public Methods

Method Description
allowsCallOfMethod ( string $methodName ) : boolean All methods are considered safe
injectConfigurationManager ( ConfigurationManager $configurationManager ) : void
labelForNodeType ( string $nodeTypeName ) : string Render the label for the given $nodeTypeName
renderDimensions ( array $dimensions ) : string Render a human-readable description for the passed $dimensions

Protected Methods

Method Description
findPresetInDimension ( array $dimensionConfiguration, string $dimensionValue ) : array

Method Details

allowsCallOfMethod() public method

All methods are considered safe
public allowsCallOfMethod ( string $methodName ) : boolean
$methodName string
return boolean

findPresetInDimension() protected method

protected findPresetInDimension ( array $dimensionConfiguration, string $dimensionValue ) : array
$dimensionConfiguration array
$dimensionValue string
return array the preset matching $dimensionValue

injectConfigurationManager() public method

public injectConfigurationManager ( ConfigurationManager $configurationManager ) : void
$configurationManager Neos\Flow\Configuration\ConfigurationManager
return void

labelForNodeType() public method

Render the label for the given $nodeTypeName
public labelForNodeType ( string $nodeTypeName ) : string
$nodeTypeName string
return string

renderDimensions() public method

Render a human-readable description for the passed $dimensions
public renderDimensions ( array $dimensions ) : string
$dimensions array
return string

Property Details

$contentDimensionsConfiguration protected property

protected array $contentDimensionsConfiguration
return array

$nodeTypeManager protected property

protected NodeTypeManager,Neos\ContentRepository\Domain\Service $nodeTypeManager
return Neos\ContentRepository\Domain\Service\NodeTypeManager