Summary
- File
- Package hierarchy Builder\Table
- Class hierarchy \HTMLTableModel \SQLHTMLTableModel
This class allows you to manage easily html tables.
This class allows you to manage easily html tables.
__construct( $table, $id, array $columns, \HTMLTableSortingRule $default_sorting_rule, $rows_per_page = self::DEFAULT_PAGINATION)
| $table | ||
| $id | ||
| array | $columns | |
| \HTMLTableSortingRule | $default_sorting_rule | |
| $rows_per_page |
| None found |
set_html_table(\HTMLTable $html_table)
| \HTMLTable | $html_table |
| None found |
has_id()
{@inheritdoc}
| None found |
get_id()
{@inheritdoc}
| None found |
has_caption()
{@inheritdoc}
| None found |
get_caption()
{@inheritdoc}
| None found |
is_footer_displayed()
{@inheritdoc}
| None found |
is_pagination_activated()
{@inheritdoc}
| None found |
get_nb_rows_per_page()
{@inheritdoc}
| None found |
has_nb_rows_options()
{@inheritdoc}
| None found |
get_nb_rows_options()
{@inheritdoc}
| None found |
get_columns()
{@inheritdoc}
| None found |
default_sort_rule()
{@inheritdoc}
| None found |
is_sort_parameter_allowed( $parameter)
{@inheritdoc}
| $parameter |
| None found |
is_filter_allowed( $id, $value)
{@inheritdoc}
| $id | ||
| $value |
| None found |
get_filter( $id)
{@inheritdoc}
| $id |
| None found |
get_filters()
{@inheritdoc}
| None found |
get_permanent_filter( $id)
{@inheritdoc}
| $id |
| None found |
get_permanent_filters()
{@inheritdoc}
| None found |
set_id( $id)
| $id |
| None found |
set_caption( $caption)
| $caption |
| None found |
hide_footer()
| None found |
has_footer_css_class()
| None found |
get_footer_css_class()
| None found |
set_footer_css_class( $class)
| $class |
| None found |
add_footer_css_class( $class)
| $class |
| None found |
set_nb_rows_options(array $nb_rows_options)
| array | $nb_rows_options |
| None found |
add_filter(\HTMLTableFilter $filter)
| \HTMLTableFilter | $filter |
| None found |
add_permanent_filter( $filter)
| $filter |
| None found |
delete_last_column()
| None found |
get_number_of_matching_rows()
| None found |
get_sql_results( $sql_join = false, $select = array('*'))
| $sql_join | ||
| $select |
| None found |
get_sql_from( $sql_join)
| $sql_join |
| None found |
add_column(\HTMLTableColumn $column)
| \HTMLTableColumn | $column |
| None found |
get_filtered_clause(array $filters)
| array | $filters |
| None found |
get_permanent_filtered_clause(array $permanent_filters)
| array | $permanent_filters |
| None found |
get_order_clause(\HTMLTableSortingRule $rule)
| \HTMLTableSortingRule | $rule |
| None found |
get_sort_parameter_column(\HTMLTableSortingRule $rule)
| \HTMLTableSortingRule | $rule |
| None found |
$html_table : \HTMLTable
| None found |
$table :
| None found |
$parameters :
| None found |
$id :
| None found |
$caption :
| None found |
$rows_per_page :
| None found |
$nb_rows_options :
| None found |
$default_sorting_rule :
| None found |
$allowed_sort_parameters :
| None found |
$filters :
| None found |
$permanent_filters :
| None found |
$display_footer :
| None found |
$footer_css_class :
| None found |
$columns : array<mixed,\HTMLTableColumn>
| None found |
NO_PAGINATION = 0
| None found |
DEFAULT_PAGINATION = 25
| None found |