| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Toolbar. More...
 Collaboration diagram for ilToolbarGUI:
 Collaboration diagram for ilToolbarGUI:| Public Member Functions | |
| __construct () | |
| setFormAction ($a_val, $a_multipart=false, $a_target="") | |
| Set form action (if form action is set, toolbar is wrapped into form tags. | |
| getFormAction () | |
| Get form action. | |
| setLeadingImage ($a_img, $a_alt) | |
| Set leading image. | |
| addButton ($a_txt, $a_cmd, $a_target="", $a_acc_key="", $a_additional_attrs= '') | |
| Add button to toolbar. | |
| addFormButton ($a_txt, $a_cmd, $a_acc_key="") | |
| Add form button to toolbar. | |
| addInputItem (ilToolbarItem $a_item, $a_output_label=false) | |
| Add input item. | |
| addSeparator () | |
| Add separator. | |
| addSpacer () | |
| Add spacer. | |
| setOpenFormTag ($a_val) | |
| Set open form tag. | |
| getOpenFormTag () | |
| Get open form tag. | |
| setCloseFormTag ($a_val) | |
| Set close form tag. | |
| getCloseFormTag () | |
| Get close form tag. | |
| getHTML () | |
| Get toolbar html. | |
| Data Fields | |
| $items = array() | |
| $open_form_tag = true | |
| $close_form_tag = true | |
| $form_target = "" | |
Toolbar.
The toolbar currently only supports a list of buttons as links.
A default toolbar object is available in the $ilToolbar global object.
Definition at line 13 of file class.ilToolbarGUI.php.
| ilToolbarGUI::__construct | ( | ) | 
Definition at line 20 of file class.ilToolbarGUI.php.
| ilToolbarGUI::addButton | ( | $a_txt, | |
| $a_cmd, | |||
| $a_target = "", | |||
| $a_acc_key = "", | |||
| $a_additional_attrs = '' | |||
| ) | 
Add button to toolbar.
| string | text | 
| string | link href / submit command | 
| string | frame target | 
| string | access key | 
Definition at line 63 of file class.ilToolbarGUI.php.
Referenced by ilBookingScheduleGUI\render(), ilBookingObjectGUI\render(), and ilBookingTypeGUI\render().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilToolbarGUI::addFormButton | ( | $a_txt, | |
| $a_cmd, | |||
| $a_acc_key = "" | |||
| ) | 
Add form button to toolbar.
| string | text | 
| string | link href / submit command | 
| string | access key | 
Definition at line 76 of file class.ilToolbarGUI.php.
| ilToolbarGUI::addInputItem | ( | ilToolbarItem | $a_item, | 
| $a_output_label = false | |||
| ) | 
Add input item.
Definition at line 85 of file class.ilToolbarGUI.php.
| ilToolbarGUI::addSeparator | ( | ) | 
Add separator.
Definition at line 93 of file class.ilToolbarGUI.php.
| ilToolbarGUI::addSpacer | ( | ) | 
Add spacer.
Definition at line 101 of file class.ilToolbarGUI.php.
| ilToolbarGUI::getCloseFormTag | ( | ) | 
Get close form tag.
Definition at line 141 of file class.ilToolbarGUI.php.
References $close_form_tag.
Referenced by getHTML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilToolbarGUI::getFormAction | ( | ) | 
Get form action.
Definition at line 42 of file class.ilToolbarGUI.php.
Referenced by getHTML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilToolbarGUI::getHTML | ( | ) | 
Get toolbar html.
Definition at line 149 of file class.ilToolbarGUI.php.
References $lng, $tpl, ilAccessKeyGUI\getAttribute(), getCloseFormTag(), getFormAction(), and getOpenFormTag().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilToolbarGUI::getOpenFormTag | ( | ) | 
Get open form tag.
Definition at line 121 of file class.ilToolbarGUI.php.
References $open_form_tag.
Referenced by getHTML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilToolbarGUI::setCloseFormTag | ( | $a_val | ) | 
Set close form tag.
| boolean | close form tag | 
Definition at line 131 of file class.ilToolbarGUI.php.
| ilToolbarGUI::setFormAction | ( | $a_val, | |
| $a_multipart = false, | |||
| $a_target = "" | |||
| ) | 
Set form action (if form action is set, toolbar is wrapped into form tags.
| string | form action | 
Definition at line 30 of file class.ilToolbarGUI.php.
| ilToolbarGUI::setLeadingImage | ( | $a_img, | |
| $a_alt | |||
| ) | 
Set leading image.
Definition at line 50 of file class.ilToolbarGUI.php.
| ilToolbarGUI::setOpenFormTag | ( | $a_val | ) | 
Set open form tag.
| boolean | open form tag | 
Definition at line 111 of file class.ilToolbarGUI.php.
| ilToolbarGUI::$close_form_tag = true | 
Definition at line 17 of file class.ilToolbarGUI.php.
Referenced by getCloseFormTag().
| ilToolbarGUI::$form_target = "" | 
Definition at line 18 of file class.ilToolbarGUI.php.
| ilToolbarGUI::$items = array() | 
Definition at line 15 of file class.ilToolbarGUI.php.
| ilToolbarGUI::$open_form_tag = true | 
Definition at line 16 of file class.ilToolbarGUI.php.
Referenced by getOpenFormTag().