[ Index ]
 

Code source de phpMyVisites 2.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/libs/Html/QuickForm/ -> radio.php (sommaire)

(pas de description)

Poids: 244 lignes (7 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

HTML_QuickForm_radio:: (9 méthodes):
  HTML_QuickForm_radio()
  setChecked()
  getChecked()
  toHtml()
  getFrozenHtml()
  setText()
  getText()
  onQuickFormEvent()
  exportValue()


Classe: HTML_QuickForm_radio  - X-Ref

HTML class for a radio type element

HTML_QuickForm_radio($elementName=null, $elementLabel=null, $text=null, $value=null, $attributes=null)   X-Ref
Class constructor

param: string    Input field name attribute
param: mixed     Label(s) for a field
param: string    Text to display near the radio
param: string    Input field value
param: mixed     Either a typical HTML attribute string or an associative array
return: void

setChecked($checked)   X-Ref
Sets whether radio button is checked

param: bool    $checked  Whether the field is checked or not
return: void

getChecked()   X-Ref
Returns whether radio button is checked

return: string

toHtml()   X-Ref
Returns the radio element in HTML

return: string

getFrozenHtml()   X-Ref
Returns the value of field without HTML tags

return: string

setText($text)   X-Ref
Sets the radio text

param: string    $text  Text to display near the radio button
return: void

getText()   X-Ref
Returns the radio text

return: string

onQuickFormEvent($event, $arg, &$caller)   X-Ref
Called by HTML_QuickForm whenever form event is made on this element

param: string    $event  Name of event
param: mixed     $arg    event arguments
param: object    $caller calling object
return: void

exportValue(&$submitValues, $assoc = false)   X-Ref
Returns the value attribute if the radio is checked, null if it is not




Généré le : Mon Nov 26 14:10:01 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics