ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Confirmation screen class. More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
setFormAction ($a_form_action) | |
getFormAction () | |
setHeaderText ($a_headertext) | |
Set Set header text. More... | |
getHeaderText () | |
Get Set header text. More... | |
addButton ($a_txt, $a_cmd) | |
Set cancel button command and text. More... | |
setCancel ($a_txt, $a_cmd, $a_id="") | |
Set cancel button command and text. More... | |
setConfirm ($a_txt, $a_cmd, $a_id="") | |
Set confirmation button command and text. More... | |
addItem ( $a_post_var, $a_id, $a_text, $a_img="", $a_alt="") | |
Add row item. More... | |
addHiddenItem ($a_post_var, $a_value) | |
Add hidden item. More... | |
getHTML () | |
Get confirmation screen HTML. More... | |
setFormName ($a_name) | |
Set form name. More... | |
Protected Attributes | |
$lng | |
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 75 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 135 of file class.ilConfirmationGUI.php.
Referenced by ilTestCorrectionsGUI\addHiddenItemsFromArray(), ilDclTextRecordFieldModel\addHiddenItemsToConfirmation(), ilDclFileuploadRecordFieldModel\addHiddenItemsToConfirmation(), ilDclMobRecordFieldModel\addHiddenItemsToConfirmation(), ilDclBaseRecordFieldModel\addHiddenItemsToConfirmation(), 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 115 of file class.ilConfirmationGUI.php.
|
final |
Definition at line 44 of file class.ilConfirmationGUI.php.
Referenced by getHTML().
ilConfirmationGUI::getHeaderText | ( | ) |
Get Set header text.
Definition at line 64 of file class.ilConfirmationGUI.php.
Referenced by getHTML().
|
final |
Get confirmation screen HTML.
Definition at line 145 of file class.ilConfirmationGUI.php.
References $hidden_item, $lng, getFormAction(), getHeaderText(), ilSubmitButton\getInstance(), and ilUtil\sendQuestion().
|
final |
Set cancel button command and text.
string | cancel text |
string | cancel command |
Definition at line 87 of file class.ilConfirmationGUI.php.
Referenced by ilTestPassDeletionConfirmationGUI\build(), and ilTestAnswerOptionalQuestionsConfirmationGUI\build().
|
final |
Set confirmation button command and text.
string | confirmation button text |
string | confirmation button command |
Definition at line 100 of file class.ilConfirmationGUI.php.
Referenced by ilTestPassDeletionConfirmationGUI\build(), and ilTestAnswerOptionalQuestionsConfirmationGUI\build().
|
final |
Definition at line 39 of file class.ilConfirmationGUI.php.
Referenced by ilTestPassDeletionConfirmationGUI\__construct(), ilCalendarAppointmentGUI\cancelBooking(), ilCalendarAppointmentGUI\confirmRegister(), and ilCalendarAppointmentGUI\confirmUnregister().
ilConfirmationGUI::setFormName | ( | $a_name | ) |
ilConfirmationGUI::setHeaderText | ( | $a_headertext | ) |
Set Set header text.
string | $a_headertext | Set header text |
Definition at line 54 of file class.ilConfirmationGUI.php.
Referenced by ilTestPassDeletionConfirmationGUI\build(), ilTestAnswerOptionalQuestionsConfirmationGUI\build(), and ilTestSettingsChangeConfirmationGUI\build().
|
private |
Definition at line 25 of file class.ilConfirmationGUI.php.
|
private |
Definition at line 26 of file class.ilConfirmationGUI.php.
|
private |
Definition at line 22 of file class.ilConfirmationGUI.php.
Referenced by getHTML().
|
private |
Definition at line 23 of file class.ilConfirmationGUI.php.
Referenced by ilTestSettingsChangeConfirmationGUI\populateParametersFromPropertyForm().
|
protected |
Definition at line 20 of file class.ilConfirmationGUI.php.
Referenced by getHTML().
|
private |
Definition at line 24 of file class.ilConfirmationGUI.php.