PHP Class Neos\FluidAdaptor\ViewHelpers\Validation\ResultsViewHelper

= Examples =
  • {propertyPath}
    • {error.code}: {error}
  • 1234567890: Validation errors for argument "newBlog"
  • {error.code}: {error}
  • 1234567890: Some error message
Inheritance: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
Show file Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$escapeOutput boolean

Public Methods

Method Description
render ( string $for = '', string $as = 'validationResults' ) : string Iterates through selected errors of the request.

Method Details

render() public method

Iterates through selected errors of the request.
public render ( string $for = '', string $as = 'validationResults' ) : string
$for string The name of the error name (e.g. argument name or property name). This can also be a property path (like blog.title), and will then only display the validation errors of that property.
$as string The name of the variable to store the current error
return string Rendered string

Property Details

$escapeOutput protected property

protected bool $escapeOutput
return boolean