Public Member Functions | |
| __construct ($oObject=null) | |
| setMessage ($tMessage) | |
| getInputHidden ($sName, $tOption=null) | |
| getToken ($sName, $sValue, $tOption=null) | |
| getInputText ($sName, $tOption=null) | |
| getInputTextarea ($sName, $tOption=null) | |
| getInputUpload ($sName, $tOption=null) | |
| getSelect ($sName, $tValue, $tOption=null) | |
| getListRadio ($sName, $tValue, $tOption=null) | |
| getInputCheckbox ($sName, $sValue, $tOption=null) | |
Protected Attributes | |
| $oObject | |
| $tMessage | |
| $isPost | |
plugin_form classe pour generer des elements de formulaire
Definition at line 23 of file plugin_form.php.
| __construct | ( | $oObject = null | ) |
constructeur public
| object | $oObject | objet en edition |
Definition at line 34 of file plugin_form.php.

| getInputCheckbox | ( | $sName, | |
| $sValue, | |||
$tOption = null |
|||
| ) |
retourne un champ input checkbox public
| string | $sName | nom du champ |
| string | $sValue | valeur du champ checkbox |
| array | $tOption | options du champ |
Definition at line 167 of file plugin_form.php.
| getInputHidden | ( | $sName, | |
$tOption = null |
|||
| ) |
retourne un champ input cache public
| string | $sName | nom du champ |
| array | $tOption | options du champ texte |
Definition at line 58 of file plugin_form.php.
| getInputText | ( | $sName, | |
$tOption = null |
|||
| ) |
retourne un champ input texte public
| string | $sName | nom du champ |
| array | $tOption | options du champ texte |
Definition at line 82 of file plugin_form.php.
| getInputTextarea | ( | $sName, | |
$tOption = null |
|||
| ) |
retourne un champ input textarea public
| string | $sName | nom du champ |
| array | $tOption | options du champ texte |
Definition at line 94 of file plugin_form.php.
| getInputUpload | ( | $sName, | |
$tOption = null |
|||
| ) |
retourne un champ upload public
| string | $sName | nom du champ |
| array | $tOption | options du champ upload |
Definition at line 107 of file plugin_form.php.
| getListRadio | ( | $sName, | |
| $tValue, | |||
$tOption = null |
|||
| ) |
retourne une liste de champs radio public
| string | $sName | nom du champ |
| array | tableau des valeurs de champ radio | |
| array | $tOption | options des champs |
Definition at line 145 of file plugin_form.php.
| getSelect | ( | $sName, | |
| $tValue, | |||
$tOption = null |
|||
| ) |
retourne un champ menu deroulant public
| string | $sName | nom du champ |
| array | tableau des valeurs du menu deroulant | |
| array | $tOption | options du champ |
Definition at line 120 of file plugin_form.php.
| getToken | ( | $sName, | |
| $sValue, | |||
$tOption = null |
|||
| ) |
retourne un champ input de jeton (xsrf) public
| string | $sName | nom du champ |
| string | $sValue | valeur du jeton |
| array | $tOption | options du champ texte |
Definition at line 70 of file plugin_form.php.
| setMessage | ( | $tMessage | ) |
initialise le tableau de message d'erreur public
| array | $tMessage | tableau de message d'erreur |
Definition at line 49 of file plugin_form.php.
1.8.6