Class CheckBox

Description

a checkbox object

Located in /inc/formslib/checkbox.php (line 26)

Field
   |
   --CheckBox
Method Summary
CheckBox CheckBox (string $name, [string $longname = ''], [string $description = ''])
void displayInTable ([ $cols = 3])
void selectable ()
void update ( $data)
Variables
Methods
Constructor CheckBox (line 35)

Create a new checkbox object

CheckBox CheckBox (string $name, [string $longname = ''], [string $description = ''])
  • string $name: the name of the field (db name, and html field name
  • string $longname: long name to be used in the label of the field in display
  • string $description: used in the html title or longdesc for the field
displayInTable (line 51)
void displayInTable ([ $cols = 3])
  • $cols

Redefinition of:
Field::displayInTable()
render this form widget in an html table
selectable (line 70)
void selectable ()

Redefinition of:
Field::selectable()
return an html representation of the widget
update (line 40)
void update ( $data)
  • $data

Redefinition of:
Field::update()
update the value of the object with the user-supplied data in $data

Inherited Methods

Inherited From Field

Field::Field()
Field::display()
Field::displayInTable()
Field::getValue()
Field::hidden()
Field::isValid()
Field::log()
Field::selectable()
Field::selectedValue()
Field::set()
Field::setattr()
Field::setEditable()
Field::setNamebase()
Field::sqlSetStr()
Field::text_dump()
Field::update()
Field::__clone()

Documentation generated on Tue, 06 Mar 2007 10:01:01 +0000 by phpDocumentor 1.3.0