ILIAS
release_4-3 Revision
|
Confirmation screen class. More...
Public Member Functions | |
__construct () | |
Constructor. | |
setFormAction ($a_form_action) | |
getFormAction () | |
setHeaderText ($a_headertext) | |
Set Set header text. | |
getHeaderText () | |
Get Set header text. | |
addButton ($a_txt, $a_cmd) | |
Set cancel button command and text. | |
setCancel ($a_txt, $a_cmd) | |
Set cancel button command and text. | |
setConfirm ($a_txt, $a_cmd) | |
Set confirmation button command and text. | |
addItem ($a_post_var, $a_id, $a_text, $a_img="", $a_alt="") | |
Add row item. | |
addHiddenItem ($a_post_var, $a_value) | |
Hidden items are currently not supported in a table gui. | |
getHTML () | |
Get confirmation screen HTML. | |
setFormName ($a_name) | |
Set form name. |
Private Attributes | |
$hidden_item = array() | |
$item = array() | |
$use_images = false | |
$buttons = array() | |
$form_name |
ilConfirmationGUI::__construct | ( | ) |
|
final |
Set cancel button command and text.
string | cancel text |
string | cancel command |
Definition at line 67 of file class.ilConfirmationGUI.php.
ilConfirmationGUI::addHiddenItem | ( | $a_post_var, | |
$a_value | |||
) |
Hidden items are currently not supported in a table gui.
Problem: after clicking prev/next links the information of the hidden items is lost. Add hidden item.
string | name of post variable used for id (e.g. "id[]") |
mixed | value |
Definition at line 127 of file class.ilConfirmationGUI.php.
ilConfirmationGUI::addItem | ( | $a_post_var, | |
$a_id, | |||
$a_text, | |||
$a_img = "" , |
|||
$a_alt = "" |
|||
) |
Add row item.
string | name of post variable used for id (e.g. "id[]") |
mixed | id value |
string | item text |
string | item image path |
Definition at line 105 of file class.ilConfirmationGUI.php.
|
final |
Definition at line 36 of file class.ilConfirmationGUI.php.
Referenced by getHTML().
ilConfirmationGUI::getHeaderText | ( | ) |
Get Set header text.
Definition at line 56 of file class.ilConfirmationGUI.php.
Referenced by getHTML().
|
final |
Get confirmation screen HTML.
Definition at line 137 of file class.ilConfirmationGUI.php.
References $hidden_item, $lng, getFormAction(), getHeaderText(), and ilUtil\sendQuestion().
|
final |
Set cancel button command and text.
string | cancel text |
string | cancel command |
Definition at line 79 of file class.ilConfirmationGUI.php.
|
final |
Set confirmation button command and text.
string | confirmation button text |
string | confirmation button command |
Definition at line 91 of file class.ilConfirmationGUI.php.
|
final |
Definition at line 31 of file class.ilConfirmationGUI.php.
Referenced by ilCalendarAppointmentGUI\book(), ilCalendarAppointmentGUI\cancelBooking(), ilCalendarAppointmentGUI\confirmRegister(), and ilCalendarAppointmentGUI\confirmUnregister().
ilConfirmationGUI::setFormName | ( | $a_name | ) |
Set form name.
string | $a_name |
Definition at line 186 of file class.ilConfirmationGUI.php.
ilConfirmationGUI::setHeaderText | ( | $a_headertext | ) |
Set Set header text.
string | $a_headertext | Set header text |
Definition at line 46 of file class.ilConfirmationGUI.php.
|
private |
Definition at line 20 of file class.ilConfirmationGUI.php.
|
private |
Definition at line 21 of file class.ilConfirmationGUI.php.
|
private |
Definition at line 17 of file class.ilConfirmationGUI.php.
Referenced by getHTML().
|
private |
Definition at line 18 of file class.ilConfirmationGUI.php.
|
private |
Definition at line 19 of file class.ilConfirmationGUI.php.