-
Notifications
You must be signed in to change notification settings - Fork 0
API DataValidator_Twig DataValidator_FieldNode
Christophe SAUVEUR edited this page Apr 21, 2024
·
1 revision
class DataValidator_FieldNode extends Twig\Node\Node implements Traversable, Stringable, IteratorAggregate, Countable
Data validator field Twig node
Since 1.0
public function __construct( $validatorName, $fieldName, $id, $idIsString, $typeOverride, $line, $tag)
Constructor
Since 1.0
Name | Type | Description |
---|---|---|
$validatorName |
string |
Validator's name in Twig context |
$fieldName |
string |
Field's name |
$id |
string |
Field's ID for the HTML output |
$idIsString |
bool |
If set, the field's ID is stored as a raw string |
$typeOverride |
string |
Field type to use to override the initial field type. If NULL, no override. |
$line |
int |
Line number of this node |
$tag |
string |
Tag for this node |
Getting Started | Framework Reference | API Reference | MFX is released under the MIT license