PHP Class Frontend\Core\Engine\FormFieldErrorNode

Inheritance: extends Twig_Node
Datei anzeigen Open project: forkcms/forkcms

Public Methods

Method Description
__construct ( string $form, string $field, integer $lineno, string $tag )
compile ( Twig_Compiler $compiler )

Method Details

__construct() public method

public __construct ( string $form, string $field, integer $lineno, string $tag )
$form string Name of the template var holding the form this field error belongs to.
$field string Name of the field of which we need to render the error.
$lineno integer Line number in the template source file.
$tag string the name of the template tag.

compile() public method

public compile ( Twig_Compiler $compiler )
$compiler Twig_Compiler