ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilAssQuestionPreviewToolbarGUI.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Services/UIComponent/Toolbar/classes/class.ilToolbarGUI.php'
;
5
12
class
ilAssQuestionPreviewToolbarGUI
extends
ilToolbarGUI
13
{
17
public
$lng
= null;
18
19
private
$resetPreviewCmd
;
20
21
public
function
__construct
(
ilLanguage
$lng
)
22
{
23
$this->lng =
$lng
;
24
25
parent::__construct();
26
}
27
28
public
function
build
()
29
{
30
$this->
addFormButton
($this->lng->txt(
'qpl_reset_preview'
), $this->
getResetPreviewCmd
(),
''
,
true
);
31
}
32
33
public
function
setResetPreviewCmd
(
$resetPreviewCmd
)
34
{
35
$this->resetPreviewCmd =
$resetPreviewCmd
;
36
}
37
38
public
function
getResetPreviewCmd
()
39
{
40
return
$this->resetPreviewCmd
;
41
}
42
}
ilAssQuestionPreviewToolbarGUI\build
build()
Definition:
class.ilAssQuestionPreviewToolbarGUI.php:28
ilAssQuestionPreviewToolbarGUI\getResetPreviewCmd
getResetPreviewCmd()
Definition:
class.ilAssQuestionPreviewToolbarGUI.php:38
ilAssQuestionPreviewToolbarGUI\$resetPreviewCmd
$resetPreviewCmd
Definition:
class.ilAssQuestionPreviewToolbarGUI.php:19
ilAssQuestionPreviewToolbarGUI
Definition:
class.ilAssQuestionPreviewToolbarGUI.php:12
ilAssQuestionPreviewToolbarGUI\$lng
$lng
Definition:
class.ilAssQuestionPreviewToolbarGUI.php:17
ilToolbarGUI\addFormButton
addFormButton($a_txt, $a_cmd, $a_acc_key="", $a_primary=false, $a_class=false)
Add form button to toolbar.
Definition:
class.ilToolbarGUI.php:234
ilToolbarGUI
Toolbar.
Definition:
class.ilToolbarGUI.php:17
ilAssQuestionPreviewToolbarGUI\setResetPreviewCmd
setResetPreviewCmd($resetPreviewCmd)
Definition:
class.ilAssQuestionPreviewToolbarGUI.php:33
ilLanguage
language handling
Definition:
class.ilLanguage.php:26
php
ilAssQuestionPreviewToolbarGUI\__construct
__construct(ilLanguage $lng)
Definition:
class.ilAssQuestionPreviewToolbarGUI.php:21
Modules
TestQuestionPool
classes
class.ilAssQuestionPreviewToolbarGUI.php
Generated on Thu Jan 16 2025 19:02:13 for ILIAS by
1.8.13 (using
Doxyfile
)