143 $this->buttons[] = $button;
159 $this->parameters[] = $hiddenInputGUI;
175 $tpl =
new ilTemplate(
'tpl.tst_player_confirmation_modal.html',
true,
true,
'Modules/Test');
178 $tpl->setCurrentBlock(
'checkbox');
181 $tpl->parseCurrentBlock();
185 $tpl->setCurrentBlock(
'hidden_inputs');
186 $tpl->setVariable(
'HIDDEN_INPUT', $parameter->getToolbarHTML());
187 $tpl->parseCurrentBlock();
191 $tpl->setCurrentBlock(
'buttons');
192 $tpl->setVariable(
'BUTTON', $button->render());
193 $tpl->parseCurrentBlock();
210 return $modal->getHTML();
221 $button->setUrl(
'#');
222 $button->setId($buttonId);
setHeaderText($headerText)
setConfirmationCheckboxName($confirmationCheckboxName)
$confirmationCheckboxName
$confirmationCheckboxLabel
getConfirmationCheckboxLabel()
buildModalButtonInstance($buttonId)
addButton(ilLinkButton $button)
getConfirmationCheckboxName()
special template class to simplify handling of ITX/PEAR
isConfirmationCheckboxRequired()
static getInstance()
Get instance.
addParameter(ilHiddenInputGUI $hiddenInputGUI)
setConfirmationCheckboxLabel($confirmationCheckboxLabel)
setConfirmationText($confirmationText)