## Class mr_html_filter_daterange

Description

MR HTML Filter Date Range

- author: Mark Nielsen

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

    mr_html_filter_abstract
       |
       --mr_html_filter_daterange

Method Summary
void add_element ( $mform)
void get_element_name ()
void preferences_defaults ()
void preferences_update ( $data)
void sql ()
Variables

#### 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
add_element (line 73)

Add date fields and checkboxes to enable/disable

- access: public

void add_element ( $mform)

- $mform

Redefinition of:

mr_html_filter_abstract::add_element()
  Add filter form element

get_element_name (line 41)

Return the group element

- access: public

void get_element_name ()

Redefinition of:

mr_html_filter_abstract::get_element_name()
  Get the filter's primary form element's name

preferences_defaults (line 48)

Defaults for two fields

- access: public

void preferences_defaults ()

Redefinition of:

mr_html_filter_abstract::preferences_defaults()
  Filter defaults

preferences_update (line 56)

Enforce checkboxes - if not set

then set date to 0

- access: public

void preferences_update ( $data)

- $data

Redefinition of:

mr_html_filter_abstract::preferences_update()
  Update user preferences to current filter settings

sql (line 110)

Set limits on field

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