ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Modal class. More...
Public Member Functions | |
setId ($a_val) | |
Set id. More... | |
getId () | |
Get id. More... | |
setHeading ($a_val) | |
Set heading. More... | |
getHeading () | |
Get heading. More... | |
setBody ($a_val) | |
Set body. More... | |
getBody () | |
Get body. More... | |
setType ($a_val) | |
Set type. More... | |
getType () | |
Get type. More... | |
addButton (ilButtonBase $but) | |
Add button. More... | |
getButtons () | |
Get buttons. More... | |
getHTML () | |
Get HTML. More... | |
Static Public Member Functions | |
static | getInstance () |
Get instance. More... | |
static | initJS () |
Init javascript. More... | |
Data Fields | |
const | TYPE_LARGE = "large" |
const | TYPE_MEDIUM = "medium" |
const | TYPE_SMALL = "small" |
Protected Member Functions | |
__construct () | |
Constructor. More... | |
Protected Attributes | |
$heading = "" | |
$body = "" | |
$id = "" | |
$type = self::TYPE_MEDIUM | |
$buttons = array() | |
|
protected |
ilModalGUI::addButton | ( | ilButtonBase | $but | ) |
ilModalGUI::getBody | ( | ) |
Get body.
Definition at line 97 of file class.ilModalGUI.php.
References $body.
Referenced by getHTML().
ilModalGUI::getButtons | ( | ) |
Get buttons.
Definition at line 137 of file class.ilModalGUI.php.
References $buttons.
Referenced by getHTML().
ilModalGUI::getHeading | ( | ) |
Get heading.
Definition at line 77 of file class.ilModalGUI.php.
References $heading.
Referenced by getHTML().
ilModalGUI::getHTML | ( | ) |
Get HTML.
Definition at line 148 of file class.ilModalGUI.php.
References $tpl, getBody(), getButtons(), getHeading(), getId(), and getType().
ilModalGUI::getId | ( | ) |
Get id.
Definition at line 57 of file class.ilModalGUI.php.
References $id.
Referenced by getHTML().
|
static |
Get instance.
Definition at line 37 of file class.ilModalGUI.php.
Referenced by ilSurveyEvaluationGUI\buildExportModal(), ilObjForumGUI\doHistoryCheck(), ilNewsTimelineGUI\getDeleteModal(), ilNewsTimelineGUI\getEditModal(), ilInternalLinkGUI\getInitHTML(), ilObjMediaPoolGUI\getPreviewModalHTML(), ilObjStudyProgrammeTreeGUI\initAsyncUIElements(), ilExerciseManagementGUI\initIndividualDeadlineModal(), ilTermsOfServiceSignedDocumentFormElementGUI\insert(), ilClozeGapInputBuilderGUI\insert(), ilExerciseSubmissionTableGUI\parseRow(), ilTestPlayerAbstractGUI\populateDiscardSolutionModal(), ilTestPlayerAbstractGUI\populateInstantResponseModal(), ilTestPlayerAbstractGUI\populateNavWhenChangedModal(), assLongMenuGUI\populateQuestionSpecificFormPart(), ilTermsOfServiceAgreementByLanguageTableGUI\prepareRow(), ilTermsOfServiceAcceptanceHistoryTableGUI\prepareRow(), and ilBadgeRenderer\renderModal().
ilModalGUI::getType | ( | ) |
Get type.
Definition at line 117 of file class.ilModalGUI.php.
References $type.
Referenced by getHTML().
|
static |
Init javascript.
Definition at line 186 of file class.ilModalGUI.php.
References $tpl.
Referenced by ilNoteGUI\initJavascript(), ilFolderDownloadBackgroundTaskHandler\initObjectListAction(), and ilPageObjectGUI\showPage().
ilModalGUI::setBody | ( | $a_val | ) |
ilModalGUI::setHeading | ( | $a_val | ) |
ilModalGUI::setId | ( | $a_val | ) |
ilModalGUI::setType | ( | $a_val | ) |
Set type.
string | $a_val | type const ilModalGUI::TYPE_SMALL|ilModalGUI::TYPE_MEDIUM|ilModalGUI::TYPE_LARGE |
Definition at line 107 of file class.ilModalGUI.php.
|
protected |
Definition at line 15 of file class.ilModalGUI.php.
Referenced by getBody().
|
protected |
Definition at line 22 of file class.ilModalGUI.php.
Referenced by getButtons().
|
protected |
Definition at line 14 of file class.ilModalGUI.php.
Referenced by getHeading().
|
protected |
Definition at line 16 of file class.ilModalGUI.php.
Referenced by getId().
|
protected |
Definition at line 21 of file class.ilModalGUI.php.
Referenced by getType().
const ilModalGUI::TYPE_LARGE = "large" |
Definition at line 17 of file class.ilModalGUI.php.
Referenced by ilNewsTimelineGUI\getDeleteModal(), ilNewsTimelineGUI\getEditModal(), ilObjMediaPoolGUI\getPreviewModalHTML(), ilObjStudyProgrammeTreeGUI\initAsyncUIElements(), ilTermsOfServiceSignedDocumentFormElementGUI\insert(), ilTestPlayerAbstractGUI\populateInstantResponseModal(), ilTermsOfServiceAgreementByLanguageTableGUI\prepareRow(), and ilTermsOfServiceAcceptanceHistoryTableGUI\prepareRow().
const ilModalGUI::TYPE_MEDIUM = "medium" |
Definition at line 18 of file class.ilModalGUI.php.
const ilModalGUI::TYPE_SMALL = "small" |
Definition at line 19 of file class.ilModalGUI.php.
Referenced by ilBadgeRenderer\renderModal().