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
Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$escapeOutput boolean

Méthodes publiques

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

Method Details

render() public méthode

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
Résultat string Rendered string

Property Details

$escapeOutput protected_oe property

protected bool $escapeOutput
Résultat boolean