ilBlogExerciseGUI:
More...
◆ __construct()
◆ downloadExcAssFile()
ilBlogExerciseGUI::downloadExcAssFile |
( |
| ) |
|
|
protected |
◆ executeCommand()
ilBlogExerciseGUI::executeCommand |
( |
| ) |
|
◆ finalize()
ilBlogExerciseGUI::finalize |
( |
| ) |
|
|
protected |
Definition at line 122 of file class.ilBlogExerciseGUI.php.
References $ctrl, $lng, ilExSubmissionObjectGUI\initGUIForSubmit(), and ilLanguage\txt().
128 $exc_gui->submitBlog($this->node_id);
130 $this->main_tpl->setOnScreenMessage(
'success',
$lng->
txt(
"blog_finalized"),
true);
131 $ilCtrl->returnToParent($this);
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
static initGUIForSubmit(int $a_ass_id, ?int $a_user_id=null)
◆ getActionButtons()
ilBlogExerciseGUI::getActionButtons |
( |
| ) |
|
◆ getDownloadSubmissionButton()
ilBlogExerciseGUI::getDownloadSubmissionButton |
( |
int |
$ass_id | ) |
|
- Exceptions
-
Definition at line 160 of file class.ilBlogExerciseGUI.php.
References $ctrl, $lng, $ui, null, ilLanguage\txt(), and ILIAS\Repository\user().
Referenced by getActionButtons().
162 : ?\ILIAS\UI\Component\Button\Standard {
172 if ($submitted?->getTimestamp() !==
"") {
173 $ilCtrl->setParameterByClass(
"ilblogexercisegui",
"ass",
$ass_id);
174 $dl_link = $ilCtrl->getLinkTargetByClass(
"ilblogexercisegui",
"downloadExcSubFile");
175 $ilCtrl->setParameterByClass(
"ilblogexercisegui",
"ass",
"");
176 return $ui->factory()->button()->standard(
$lng->
txt(
"blog_download_submission"), $dl_link);
SubmissionManager $submission
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Exercise submission //TODO: This class has many static methods related to delivered "files"...
◆ getSubmitButton()
ilBlogExerciseGUI::getSubmitButton |
( |
int |
$ass_id | ) |
|
Get submit link.
- Exceptions
-
Definition at line 138 of file class.ilBlogExerciseGUI.php.
References $ctrl, $lng, $ui, ilExcAssMemberState\getInstanceByIds(), null, ilLanguage\txt(), and ILIAS\Repository\user().
Referenced by getActionButtons().
140 : ?\ILIAS\UI\Component\Button\Primary {
147 if ($state->isSubmissionAllowed()) {
148 $ilCtrl->setParameterByClass(
"ilblogexercisegui",
"ass",
$ass_id);
149 $submit_link = $ilCtrl->getLinkTargetByClass(
"ilblogexercisegui",
"finalize");
150 $ilCtrl->setParameterByClass(
"ilblogexercisegui",
"ass",
"");
151 return $ui->factory()->button()->primary(
$lng->
txt(
"blog_finalize_blog"), $submit_link);
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static getInstanceByIds(int $a_ass_id, int $a_user_id=0)
◆ $ass_id
int ilBlogExerciseGUI::$ass_id |
|
protected |
◆ $blog_exercise
ILIAS Blog Exercise BlogExercise ilBlogExerciseGUI::$blog_exercise |
|
protected |
◆ $blog_request
◆ $ctrl
ilCtrl ilBlogExerciseGUI::$ctrl |
|
protected |
◆ $file
string ilBlogExerciseGUI::$file |
|
protected |
◆ $lng
◆ $main_tpl
◆ $node_id
int ilBlogExerciseGUI::$node_id |
|
protected |
◆ $submission
◆ $ui
ILIAS DI UIServices ilBlogExerciseGUI::$ui |
|
protected |
◆ $user
The documentation for this class was generated from the following file: