PEAR Manual
Prev |  | Next

# constructor HTML_QuickForm_select()

constructor HTML_QuickForm_select() -- Class constructor

## Synopsis

    require_once 'HTML/QuickForm/select.php';

``void constructor HTML_QuickForm_select::HTML_QuickForm_select` ([string $elementName = `NULL` [, mixed $elementLabel = `NULL` [, mixed $options = `NULL` [, mixed $attributes = `NULL`]]]])`

## Description

This package is not documented yet.

## Parameter

string `$elementName`

  Select name attribute

mixed `$elementLabel`

  Label(s) for the select

mixed `$options`

  Data to be used to populate options

mixed `$attributes`

  Either a typical HTML attribute string or an associative array

## Throws

throws no exceptions thrown

## See

see load().

## Note

since 1.0

This function can not be called statically.

Prev | Home | Next
Class Summary HTML_QuickForm_select | Up | HTML_QuickForm_select::addOption()