Form_Helper

Description

Utilitaire pour les contrôles de formulaire HTML

Synopsis de la classe

Form_Helper {

  /* Constantes */
  string NULL_NAME = '<#NAME#>'

  /* Méthodes */
  public string get_array_html_checkboxes(array $array, string $selectedValues, array $selectAttributes)
  public string get_array_html_radio(array $array, string $selectedValue, array $radioAttributes)
  public string get_array_html_select(array $array, string $selectedValue, array $selectAttributes[, string $arrayKey = null[, array $extra = null]]) {
  public string get_mysql_html_select(string $pSQLSelect, string $selectedValue, array $selectAttributes[resource, $pDb = null[, array $extra = null[, callback $callback = ''[, callback $callbackOption = '']]]])
  public string get_pdo_html_select(string $pSQLSelect, string $selectedValue, array $selectAttributes[,PDO $pDb[, array $extra = null[, callback $callback = '']]])
  public string get_file_input(array $file, array $attr[, boolean $withInput = true])
  public string get_select(string $htmlFragment, string $name, string $value)
  public void print_mysql_html_select(string $pSQLSelect, string $selectedValue, array $selectedAttributes[, resource $pDb = null)
}