## Class mr_html_filter_select

Description

MR HTML Filter Select

- author: Mark Nielsen

Located in /html/filter/select.php (line 37)

    mr_html_filter_abstract
       |
       --mr_html_filter_select

Variable Summary
array $options
Method Summary
mr_html_filter_select __construct ( $name, $label, $options, [ $advanced = false], [ $field = NULL])
void add_element ( $mform)
void preferences_defaults ()
void sql ()
Variables
array $options = array() (line 43)

Select options

- access: protected

#### Inherited Variables

Inherited from mr_html_filter_abstract

> mr_html_filter_abstract::$advanced
> mr_html_filter_abstract::$disabledif
> mr_html_filter_abstract::$field
> mr_html_filter_abstract::$helpbutton
> mr_html_filter_abstract::$label
> mr_html_filter_abstract::$name
> mr_html_filter_abstract::$preferences

Methods
Constructor __construct (line 48)

Adding an options param for the select options

- access: public

mr_html_filter_select __construct ( $name, $label, $options, [ $advanced = false], [ $field = NULL])

- $name
- $label
- $options
- $advanced
- $field

Redefinition of:

mr_html_filter_abstract::__construct()
  Construct

add_element (line 66)

Add select input

- access: public

void add_element ( $mform)

- $mform

Redefinition of:

mr_html_filter_abstract::add_element()
  Add filter form element

preferences_defaults (line 56)

First option is default

- access: public

void preferences_defaults ()

Redefinition of:

mr_html_filter_abstract::preferences_defaults()
  Filter defaults

sql (line 80)

Limit by input value

- access: public

void sql ()

Redefinition of:

mr_html_filter_abstract::sql()
  Generate this filter's SQL

#### Inherited Methods

Inherited From mr_html_filter_abstract

> mr_html_filter_abstract::__construct()
> mr_html_filter_abstract::add_disabledif()
> mr_html_filter_abstract::add_element()
> mr_html_filter_abstract::add_elements()
> mr_html_filter_abstract::add_helpbutton()
> mr_html_filter_abstract::get_element_name()
> mr_html_filter_abstract::get_field()
> mr_html_filter_abstract::get_name()
> mr_html_filter_abstract::preferences_defaults()
> mr_html_filter_abstract::preferences_delete()
> mr_html_filter_abstract::preferences_get()
> mr_html_filter_abstract::preferences_init()
> mr_html_filter_abstract::preferences_update()
> mr_html_filter_abstract::sql()
> mr_html_filter_abstract::__toString()

Documentation generated on Thu, 28 Jun 2012 16:33:51 -0700 by phpDocumentor 1.4.3