[ 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/ -> input.php (sommaire)

(pas de description)

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

Définit 1 class

HTML_QuickForm_input:: (9 méthodes):
  HTML_QuickForm_input()
  setType()
  setName()
  getName()
  setValue()
  getValue()
  toHtml()
  onQuickFormEvent()
  exportValue()


Classe: HTML_QuickForm_input  - X-Ref

Base class for input form elements

HTML_QuickForm_input($elementName=null, $elementLabel=null, $attributes=null)   X-Ref
Class constructor

param: string     Input field name attribute
param: mixed      Label(s) for the input field
param: mixed      Either a typical HTML attribute string or an associative array
return: void

setType($type)   X-Ref
Sets the element type

param: string    $type   Element type
return: void

setName($name)   X-Ref
Sets the input field name

param: string    $name   Input field name attribute
return: void

getName()   X-Ref
Returns the element name

return: string

setValue($value)   X-Ref
Sets the value of the form element

param: string    $value      Default value of the form element
return: void

getValue()   X-Ref
Returns the value of the form element

return: string

toHtml()   X-Ref
Returns the input field in HTML

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
We don't need values from button-type elements (except submit) and files




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