|
noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
|
Display the tabs. More...
Collaboration diagram for Output_Html_Tab:Public Member Functions | |
| __construct () | |
| add (Html_Tab $p_html_tab) | |
| Add Html_Tab. | |
| build_js ($p_not_hidden) | |
| Build the javascript to change the class name of the selected tab, hide other div and show the selected one. | |
| get_class_anchor () | |
| CSS class for the A tag (anchor) | |
| get_class_comment () | |
| CSS class for the comment default "tabs". | |
| get_class_content_div () | |
| CSS class for the DIV with content (default empty) | |
| get_class_div () | |
| CSS class for the DIV containing the UL. | |
| get_class_tab () | |
| get the CSS class of tabs | |
| get_class_tab_main () | |
| get the CSS class for the UL element | |
| get_class_tab_selected () | |
| get the CSS class of tabs_selected | |
| get_mode () | |
| get the mode , possible value are row or tabs , with mode = row , the class_content_div is set to row | |
| output () | |
| print the html + javascript code of the tabs and the div | |
| set_class_anchor ($anchor_class) | |
| CSS class for the A tag (anchor) | |
| set_class_comment ($class_comment) | |
| CSS class for the comment default "tabs". | |
| set_class_content_div ($class_content_div) | |
| CSS class for the DIV with content (default empty) | |
| set_class_div ($class_div) | |
| CSS class for the DIV containing the UL. | |
| set_class_tab ($class_tab) | |
| set the CSS class of tabs, default is tabs | |
| set_class_tab_main ($class_tab_main) | |
| set the CSS class for the UL element | |
| set_class_tab_selected ($class_tab_selected) | |
| set the CSS class of tabs, default is tabs_selected | |
| set_mode ($mode) | |
| set the mode , possible values : row , tabs or accordeon | |
Protected Member Functions | |
| print_comment ($p_index) | |
| When printing row , a comment is written if not empty,. | |
Private Member Functions | |
| print_div ($p_index) | |
Private Attributes | |
| $a_tabs | |
| array of html tabs | |
| $class_anchor | |
| CSS class for the UL tag. | |
| $class_comment | |
| CSS class for the DIV with content, default empty. | |
| $class_content_div | |
| CSS class for the DIV containing the UL default empty. | |
| $class_div | |
| CSS class for the A tag (anchor) default empty. | |
| $class_tab | |
| for normal tab | |
| $class_tab_main | |
| $class_tab_selected | |
| for class_tab_selected | |
| $mode | |
| mode default tabs | |
Display the tabs.
Definition at line 89 of file output_html_tab.class.php.
| Output_Html_Tab::__construct | ( | ) |
Definition at line 105 of file output_html_tab.class.php.
References set_mode().
Here is the call graph for this function:| Output_Html_Tab::add | ( | Html_Tab | $p_html_tab | ) |
Add Html_Tab.
| Html_Tab | $p_html_tab |
Definition at line 253 of file output_html_tab.class.php.
| Output_Html_Tab::build_js | ( | $p_not_hidden | ) |
Build the javascript to change the class name of the selected tab, hide other div and show the selected one.
| string | $p_not_hidden | id of the showed tab |
Definition at line 302 of file output_html_tab.class.php.
References $i, $mode, $nb, $r, elseif, get_mode(), and Icon_Action\toggle_hide().
Referenced by output().
Here is the call graph for this function:| Output_Html_Tab::get_class_anchor | ( | ) |
CSS class for the A tag (anchor)
Definition at line 178 of file output_html_tab.class.php.
References $class_anchor.
| Output_Html_Tab::get_class_comment | ( | ) |
CSS class for the comment default "tabs".
Definition at line 121 of file output_html_tab.class.php.
References $class_comment.
Referenced by print_comment().
| Output_Html_Tab::get_class_content_div | ( | ) |
CSS class for the DIV with content (default empty)
Definition at line 139 of file output_html_tab.class.php.
References $class_content_div.
| Output_Html_Tab::get_class_div | ( | ) |
CSS class for the DIV containing the UL.
Definition at line 158 of file output_html_tab.class.php.
References $class_div.
| Output_Html_Tab::get_class_tab | ( | ) |
get the CSS class of tabs
Definition at line 263 of file output_html_tab.class.php.
References $class_tab.
Referenced by output().
| Output_Html_Tab::get_class_tab_main | ( | ) |
get the CSS class for the UL element
Definition at line 196 of file output_html_tab.class.php.
References $class_tab_main.
| Output_Html_Tab::get_class_tab_selected | ( | ) |
get the CSS class of tabs_selected
Definition at line 282 of file output_html_tab.class.php.
References $class_tab_selected.
| Output_Html_Tab::get_mode | ( | ) |
get the mode , possible value are row or tabs , with mode = row , the class_content_div is set to row
Definition at line 217 of file output_html_tab.class.php.
References $mode.
Referenced by build_js(), output(), and print_div().
| Output_Html_Tab::output | ( | ) |
print the html + javascript code of the tabs and the div
Definition at line 355 of file output_html_tab.class.php.
References $i, $mode, $nb, $script, build_js(), get_class_tab(), get_mode(), print, print_comment(), and print_div().
Here is the call graph for this function:
|
protected |
When printing row , a comment is written if not empty,.
| $p_index |
Definition at line 344 of file output_html_tab.class.php.
References get_class_comment().
Referenced by output().
Here is the call graph for this function:
|
private |
Definition at line 437 of file output_html_tab.class.php.
References $class, elseif, and get_mode().
Referenced by output().
Here is the call graph for this function:| Output_Html_Tab::set_class_anchor | ( | $anchor_class | ) |
CSS class for the A tag (anchor)
| type | $anchor_class |
Definition at line 186 of file output_html_tab.class.php.
| Output_Html_Tab::set_class_comment | ( | $class_comment | ) |
CSS class for the comment default "tabs".
Definition at line 130 of file output_html_tab.class.php.
References $class_comment.
| Output_Html_Tab::set_class_content_div | ( | $class_content_div | ) |
CSS class for the DIV with content (default empty)
| string | $class_content_div |
Definition at line 148 of file output_html_tab.class.php.
References $class_content_div.
| Output_Html_Tab::set_class_div | ( | $class_div | ) |
CSS class for the DIV containing the UL.
Definition at line 168 of file output_html_tab.class.php.
References $class_div.
| Output_Html_Tab::set_class_tab | ( | $class_tab | ) |
set the CSS class of tabs, default is tabs
| mixed | $class_tab |
Definition at line 272 of file output_html_tab.class.php.
References $class_tab.
Referenced by set_mode().
| Output_Html_Tab::set_class_tab_main | ( | $class_tab_main | ) |
set the CSS class for the UL element
Definition at line 206 of file output_html_tab.class.php.
References $class_tab_main.
| Output_Html_Tab::set_class_tab_selected | ( | $class_tab_selected | ) |
set the CSS class of tabs, default is tabs_selected
| mixed | $class_tab_selected |
Definition at line 291 of file output_html_tab.class.php.
References $class_tab_selected.
Referenced by set_mode().
| Output_Html_Tab::set_mode | ( | $mode | ) |
set the mode , possible values : row , tabs or accordeon
| string | $mode | possible values : row , tabs or accordeon |
Definition at line 226 of file output_html_tab.class.php.
References $mode, _, elseif, set_class_tab(), and set_class_tab_selected().
Referenced by __construct().
Here is the call graph for this function:
|
private |
array of html tabs
Definition at line 92 of file output_html_tab.class.php.
|
private |
CSS class for the UL tag.
Definition at line 97 of file output_html_tab.class.php.
Referenced by get_class_anchor().
|
private |
CSS class for the DIV with content, default empty.
Definition at line 100 of file output_html_tab.class.php.
Referenced by get_class_comment(), and set_class_comment().
|
private |
CSS class for the DIV containing the UL default empty.
Definition at line 99 of file output_html_tab.class.php.
Referenced by get_class_content_div(), and set_class_content_div().
|
private |
CSS class for the A tag (anchor) default empty.
Definition at line 98 of file output_html_tab.class.php.
Referenced by get_class_div(), and set_class_div().
|
private |
for normal tab
Definition at line 93 of file output_html_tab.class.php.
Referenced by get_class_tab(), and set_class_tab().
|
private |
Definition at line 96 of file output_html_tab.class.php.
Referenced by get_class_tab_main(), and set_class_tab_main().
|
private |
for class_tab_selected
Definition at line 94 of file output_html_tab.class.php.
Referenced by get_class_tab_selected(), and set_class_tab_selected().
|
private |
mode default tabs
Definition at line 95 of file output_html_tab.class.php.
Referenced by build_js(), get_mode(), output(), and set_mode().