noalyss Version-9
|
Display the tabs. More...
Public Member Functions | |
__construct () | |
add (Html_Tab $p_html_tab) | |
Add Html_Tab. More... | |
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. More... | |
get_class_anchor () | |
CSS class for the A tag (anchor) More... | |
get_class_comment () | |
CSS class for the comment default "tabs". More... | |
get_class_content_div () | |
CSS class for the DIV with content (default empty) More... | |
get_class_div () | |
CSS class for the DIV containing the UL. More... | |
get_class_tab () | |
get the CSS class of tabs More... | |
get_class_tab_main () | |
get the CSS class for the UL element More... | |
get_class_tab_selected () | |
get the CSS class of tabs_selected More... | |
get_mode () | |
get the mode , possible value are row or tabs , with mode = row , the class_content_div is set to row More... | |
output () | |
print the html + javascript code of the tabs and the div More... | |
set_class_anchor ($anchor_class) | |
CSS class for the A tag (anchor) More... | |
set_class_comment ($class_comment) | |
CSS class for the comment default "tabs". More... | |
set_class_content_div ($class_content_div) | |
CSS class for the DIV with content (default empty) More... | |
set_class_div ($class_div) | |
CSS class for the DIV containing the UL. More... | |
set_class_tab ($class_tab) | |
set the CSS class of tabs, default is tabs More... | |
set_class_tab_main ($class_tab_main) | |
set the CSS class for the UL element More... | |
set_class_tab_selected ($class_tab_selected) | |
set the CSS class of tabs, default is tabs_selected More... | |
set_mode ($mode) | |
set the mode , possible values : row , tabs or accordeon More... | |
Protected Member Functions | |
print_comment ($p_index) | |
When printing row , a comment is written if not empty,. More... | |
Private Member Functions | |
print_div ($p_index) | |
Private Attributes | |
$a_tabs | |
array of html tabs More... | |
$class_anchor | |
CSS class for the UL tag. More... | |
$class_comment | |
CSS class for the DIV with content, default empty. More... | |
$class_content_div | |
CSS class for the DIV containing the UL default empty. More... | |
$class_div | |
CSS class for the A tag (anchor) default empty. More... | |
$class_tab | |
for normal tab More... | |
$class_tab_main | |
$class_tab_selected | |
for class_tab_selected More... | |
$mode | |
mode default tabs More... | |
Display the tabs.
Definition at line 35 of file output_html_tab.class.php.
Output_Html_Tab::__construct | ( | ) |
Definition at line 51 of file output_html_tab.class.php.
References set_mode().
Output_Html_Tab::add | ( | Html_Tab | $p_html_tab | ) |
Add Html_Tab.
Html_Tab | $p_html_tab |
Definition at line 199 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 248 of file output_html_tab.class.php.
References $i, $mode, $nb, $r, elseif, get_mode(), and Icon_Action\toggle_hide().
Referenced by output().
Output_Html_Tab::get_class_anchor | ( | ) |
CSS class for the A tag (anchor)
Definition at line 124 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 67 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 85 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 104 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 209 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 142 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 228 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 163 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 301 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().
|
protected |
When printing row , a comment is written if not empty,.
$p_index |
Definition at line 290 of file output_html_tab.class.php.
References get_class_comment().
Referenced by output().
|
private |
Definition at line 383 of file output_html_tab.class.php.
References $class, elseif, and get_mode().
Referenced by output().
Output_Html_Tab::set_class_anchor | ( | $anchor_class | ) |
CSS class for the A tag (anchor)
type | $anchor_class |
Definition at line 132 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 76 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 94 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 114 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 218 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 152 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 237 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 172 of file output_html_tab.class.php.
References $mode, elseif, set_class_tab(), and set_class_tab_selected().
Referenced by __construct().
|
private |
array of html tabs
Definition at line 38 of file output_html_tab.class.php.
|
private |
CSS class for the UL tag.
Definition at line 43 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 46 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 45 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 44 of file output_html_tab.class.php.
Referenced by get_class_div(), and set_class_div().
|
private |
for normal tab
Definition at line 39 of file output_html_tab.class.php.
Referenced by get_class_tab(), and set_class_tab().
|
private |
Definition at line 42 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 40 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 41 of file output_html_tab.class.php.
Referenced by build_js(), get_mode(), output(), and set_mode().