Class: Table
Source Location: /blogs/inc/_core/ui/_uiwidget.class.php
Class Table
Class Overview
|
Class Table Located in /blogs/inc/_core/ui/_uiwidget.class.php [line 232] Widget | --TableAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
| Inherited Properties | Inherited Methods | Inherited Constants |
|---|---|---|
|
Inherited From Widget |
Inherited From Widget
|
[ Top ]
Property Summary
| mixed | $displayed_cols_count | Number of cols already displayed (in current line) |
| mixed | $displayed_lines_count | Number of lines already displayed |
| array | $fadeout_array | |
| mixed | $fadeout_count | |
| boolean | $is_fadeout_line | |
| mixed | $nb_cols | Number of cols. |
| mixed | $no_results_text | |
| mixed | $total_pages | Total number of pages |
[ Top ]
Method Summary
| Table | Table() | Constructor |
| void | display_body_end() | |
| void | display_body_start() | |
| void | display_col_end() | |
| void | display_col_headers() | Display column headers |
| void | display_col_start() | |
| void | display_head() | Display list/table head. |
| void | display_init() | Initialize things in order to be ready for displaying. |
| void | display_line_end() | |
| void | display_line_start() | |
| void | display_list_end() | Display list/table end. |
| void | display_list_start() | Display list/table start. |
| string | replace_callback() | Widget callback for template vars. |
[ Top ]
Methods
Constructor Table [line 274]
|
Constructor
Parameters:| string | $ui_template: | template name to get from $AdminUI |
[ Top ]
display_head [line 387]
|
Display list/table head.
This includes list head/title and column headers. EXPERIMENTAL: also dispays <tfoot>
API Tags:
| Access: | protected |
Redefined in descendants as:
- Results::display_head() : Display list/table head.
[ Top ]
display_init [line 290]
|
Initialize things in order to be ready for displaying.
Lazy fills $this->params
Parameters:| array | $display_params: | ***please document*** |
| array | $fadeout: | Fadeout settings array( 'key column' => array of values ) or 'session' |
Redefined in descendants as:
- Results::display_init() : Initialize things in order to be ready for displaying.
[ Top ]
display_line_start [line 704]
|
| $is_last: | ||
| $is_fadeout_line: |
[ Top ]
display_list_end [line 367]
|
Display list/table end.
Typically outputs </ul> or </table>
Redefined in descendants as:
- ResultSel::display_list_end() : Display list/table end followed by </form> closing.
[ Top ]
display_list_start [line 347]
|
Display list/table start.
Typically outputs UL or TABLE tags.
Redefined in descendants as:
- ResultSel::display_list_start() : Display list/table start preceeded by <form> opening.
[ Top ]
replace_callback [line 806]
|
Widget callback for template vars.
This allows to replace template vars, see Widget::replace_callback().
Parameters:| $matches: |
Redefinition of:
- Widget::replace_callback()
- Callback function used to replace only necessary values in template.
Redefined in descendants as:
- Results::replace_callback() : Widget callback for template vars.
[ Top ]
