ILIAS
Release_4_4_x_branch Revision 61816
|
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) | |
Add hidden item. | |
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 | ( | ) |
Constructor.
Definition at line 27 of file class.ilConfirmationGUI.php.
Referenced by ilTestSettingsChangeConfirmationGUI\__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 | |||
) |
Add hidden item.
string | name of post variable used for id (e.g. "id[]") |
mixed | value |
Definition at line 122 of file class.ilConfirmationGUI.php.
Referenced by ilTestPassDeletionConfirmationGUI\build(), ilTestSettingsChangeConfirmationGUI\populateParametersFromPost(), and ilTestSettingsChangeConfirmationGUI\populateParametersFromPropertyForm().
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 132 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.
Referenced by ilTestPassDeletionConfirmationGUI\build().
|
final |
Set confirmation button command and text.
string | confirmation button text |
string | confirmation button command |
Definition at line 91 of file class.ilConfirmationGUI.php.
Referenced by ilTestPassDeletionConfirmationGUI\build().
|
final |
Definition at line 31 of file class.ilConfirmationGUI.php.
Referenced by ilTestPassDeletionConfirmationGUI\__construct(), ilCalendarAppointmentGUI\cancelBooking(), ilCalendarAppointmentGUI\confirmRegister(), and ilCalendarAppointmentGUI\confirmUnregister().
ilConfirmationGUI::setFormName | ( | $a_name | ) |
Set form name.
string | $a_name |
Definition at line 191 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.
Referenced by ilTestPassDeletionConfirmationGUI\build(), and ilTestSettingsChangeConfirmationGUI\build().
|
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.
Referenced by ilTestSettingsChangeConfirmationGUI\populateParametersFromPropertyForm().
|
private |
Definition at line 19 of file class.ilConfirmationGUI.php.