PHP Класс Neos\FluidAdaptor\ViewHelpers\Validation\ResultsViewHelper

= Examples =
  • {propertyPath}
    • {error.code}: {error}
  • 1234567890: Validation errors for argument "newBlog"
  • {error.code}: {error}
  • 1234567890: Some error message
Наследование: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$escapeOutput boolean

Открытые методы

Метод Описание
render ( string $for = '', string $as = 'validationResults' ) : string Iterates through selected errors of the request.

Описание методов

render() публичный Метод

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
Результат string Rendered string

Описание свойств

$escapeOutput защищенное свойство

protected bool $escapeOutput
Результат boolean