Class DropList

Description

a dropdown selection list using a ChoiceList

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

Field
   |
   --ChoiceList
      |
      --DropList
Method Summary
DropList DropList (string $name, [string $description = ''])
void display ()
void format ( $data)
void selectable ()
void selectedValue ()
Variables
Methods
Constructor DropList (line 34)

Create a new dropdown list object

DropList DropList (string $name, [string $description = ''])
  • string $name: the name of the field (db name, and html field name
  • string $description: used in the html title or longdesc for the field
display (line 40)
void display ()

Redefinition of:
ChoiceList::display()
format (line 44)
void format ( $data)
  • $data

Redefinition of:
ChoiceList::format()
A test text-based format function for the object.
selectable (line 59)
void selectable ()

Redefinition of:
Field::selectable()
return an html representation of the widget
selectedValue (line 68)
void selectedValue ()

Redefinition of:
ChoiceList::selectedValue()

Inherited Methods

Inherited From ChoiceList

ChoiceList::ChoiceList()
ChoiceList::append()
ChoiceList::connectDB()
ChoiceList::display()
ChoiceList::displayInTable()
ChoiceList::format()
ChoiceList::getValue()
ChoiceList::isValid()
ChoiceList::prepend()
ChoiceList::selectedValue()
ChoiceList::set()
ChoiceList::setDefault()
ChoiceList::setFormat()
ChoiceList::setValuesArray()
ChoiceList::sqlSetStr()
ChoiceList::text_dump()
ChoiceList::update()
ChoiceList::__clone()

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:23 +0000 by phpDocumentor 1.3.0