Input
extends Field
in package
Read onlyYes
Champ de formulaire input
Table of Contents
Properties
Methods
- __construct() : mixed
- Création du champ
- toString() : string
- retourne le code Html
Properties
$label
public
string
$label
= ''
$size
public
int
$size
= 10
$type
public
string
$type
= 'text'
$value
public
string
$value
= ''
Methods
__construct()
Création du champ
public
__construct([string $label = '' ][, string $type = 'text' ][, int $size = 10 ][, string $value = '' ]) : mixed
Parameters
- $label : string = ''
-
libellé de ce champ dans le formulaire
- $type : string = 'text'
-
type d'entrée
- $size : int = 10
-
taille de l'entrée
- $value : string = ''
-
valeur par défaut
toString()
retourne le code Html
public
toString(string $name) : string
Parameters
- $name : string