## Class mr_html_filter_autocomplete

Description

MR HTML Filter Autocomplete

- author: Mark Nielsen

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

    mr_html_filter_abstract
       |
       --mr_html_filter_autocomplete

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

Autocomplete 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 49)

Adding an options param for the select options

- access: public

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

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

Redefinition of:

mr_html_filter_abstract::__construct()
  Construct

add_element (line 57)

Add text input

- access: public

void add_element ( $mform)

- $mform

Redefinition of:

mr_html_filter_abstract::add_element()
  Add filter form element

sql (line 76)

Search 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:46 -0700 by phpDocumentor 1.4.3