## Class mr_html_table_column_dynamic

Description

Model Table Column Dynamic

This column type represents a dynamic list of columns. Most methods redirect the call to all of its contained columns.

- author: Mark Nielsen

Located in /html/table/column/dynamic.php (line 41)

    mr_html_table_column
       |
       --mr_html_table_column_dynamic

Method Summary
mr_html_table_column_dynamic add_column (mr_html_table_column $column)
void add_format ( $format)
void add_heading ( &$headings)
mr_html_table_column|boolean get_column (string $name)
mr_html_table_column[] get_columns ()
void get_select_field ()
void has_heading ()
void set_config ( $name, $value)
Variables

#### Inherited Variables

Inherited from mr_html_table_column

> mr_html_table_column::$config
> mr_html_table_column::$formats

Methods
add_column (line 55)

Add a column to the model

- access: public

mr_html_table_column_dynamic add_column (mr_html_table_column $column)

- mr_html_table_column $column: The column object

add_format (line 129)

Add format to all columns

- access: public

void add_format ( $format)

- $format

Redefinition of:

mr_html_table_column::add_format()
  Add a column format

add_heading (line 98)

Add headings of all dynamic columns

- access: public

void add_heading ( &$headings)

- &$headings

Redefinition of:

mr_html_table_column::add_heading()
  Add column heading to passed param

get_column (line 66)

Get a column

- access: public

mr_html_table_column|boolean get_column (string $name)

- string $name: The column name

get_columns (line 78)

Get all columns

- access: public

mr_html_table_column[] get_columns ()
get_select_field (line 85)

Get select fields of all dynamic columns

- access: public

void get_select_field ()

Redefinition of:

mr_html_table_column::get_select_field()
  Get the select field for the SQL query

has_heading (line 107)

Check all columns for headings

- access: public

void has_heading ()

Redefinition of:

mr_html_table_column::has_heading()
  Does this column have a heading

set_config (line 119)

Set config to all columns

- access: public

void set_config ( $name, $value)

- $name
- $value

Redefinition of:

mr_html_table_column::set_config()
  A config setter - overwrites old value

#### Inherited Methods

Inherited From mr_html_table_column

> mr_html_table_column::__construct()
> mr_html_table_column::add_format()
> mr_html_table_column::add_heading()
> mr_html_table_column::get_cell()
> mr_html_table_column::get_config()
> mr_html_table_column::get_name()
> mr_html_table_column::get_select_field()
> mr_html_table_column::get_sorting()
> mr_html_table_column::has_heading()
> mr_html_table_column::set_config()

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