TextArea
extends Field
in package
Read onlyYes
Champ de formulaire TextArea
Table of Contents
Properties
Methods
- __construct() : mixed
- Création du champ
- toString() : string
- retourne le code Html
Properties
$cols
public
int
$cols
= 50
$label
public
string
$label
= ''
$rows
public
int
$rows
= 3
$text
public
string
$text
= ''
Methods
__construct()
Création du champ
public
__construct([string $label = '' ][, string $text = '' ][, int $rows = 3 ][, int $cols = 50 ]) : mixed
Parameters
- $label : string = ''
-
libellé pour indiquer ce champ dans le formulaire
- $text : string = ''
-
valeur par défaut
- $rows : int = 3
-
nbre de lignes
- $cols : int = 50
-
nbre de colonnes
toString()
retourne le code Html
public
toString(string $name) : string
Parameters
- $name : string