Property | Type | Description | |
---|---|---|---|
$attributes | HTML attributes | ||
$constraints | Constraints on the field | ||
$hook | |||
$index | |||
$mapping | Data for the mapping | ||
$maxlength | |||
$minlength | Text size | ||
$name | Field name | ||
$prettyname | Pretty name, for error messages | ||
$readonly | Is this field read only? | ||
$regex | Regular expression | ||
$required | Is this field required ? | ||
$type | Field type for the HTML code | ||
$value | Field value | ||
$valueChanged | Is the value changed? |
Method | Description | |
---|---|---|
__sleep ( ) | ||
__toString ( ) | ||
addConstraint ( $closure ) | ||
check ( ) | Constraints check | |
getAttribute ( $name ) | Get an attribute | |
getBaseName ( ) | ||
getHtml ( ) | ||
getIndex ( ) | ||
getMappingName ( ) | ||
getMappingValue ( ) | ||
getName ( ) | ||
getSource ( ) | ||
getValue ( ) | ||
hasAttribute ( $name ) | Does this has the attribute $name ? | |
hookName ( Closure $hook ) | ||
needJs ( ) | ||
printName ( ) | ||
push ( $name, $value = null ) | Function called by the dispatcher | |
readOnly ( ) | ||
setAttribute ( $name, $value ) | Define an attribute | |
setName ( $name ) | ||
setValue ( $value, $default = false ) | Définition de la valeur | |
source ( $values ) | ||
unsetAttribute ( $name ) | Remove the attribute $name |