ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilBadgeHandlerGUI.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3
13
class
ilBadgeHandlerGUI
14
{
18
protected
$ctrl
;
19
20
24
public
function
__construct
()
25
{
26
global
$DIC
;
27
28
$this->ctrl = $DIC->ctrl();
29
}
30
31
public
function
executeCommand
()
32
{
33
$ilCtrl
=
$this->ctrl
;
34
35
if
(
$ilCtrl
->isAsynch()) {
36
$cmd =
$ilCtrl
->getCmd();
37
echo $this->$cmd();
38
exit
();
39
}
40
}
41
42
protected
function
render
()
43
{
44
include_once
"Services/Badge/classes/class.ilBadgeRenderer.php"
;
45
$rnd =
ilBadgeRenderer::initFromId
(trim(
$_GET
[
"id"
]));
46
if
($rnd) {
47
return
$rnd->renderModal();
48
}
49
}
50
}
$DIC
global $DIC
Definition:
saml.php:7
$_GET
$_GET["client_id"]
Definition:
cfg.phpunit.template.php:12
$ilCtrl
global $ilCtrl
Definition:
ilias.php:18
ilBadgeHandlerGUI\$ctrl
$ctrl
Definition:
class.ilBadgeHandlerGUI.php:18
ilBadgeHandlerGUI\__construct
__construct()
Constructor.
Definition:
class.ilBadgeHandlerGUI.php:24
ilBadgeHandlerGUI
Definition:
class.ilBadgeHandlerGUI.php:13
ilBadgeRenderer\initFromId
static initFromId($a_id)
Definition:
class.ilBadgeRenderer.php:51
ilBadgeHandlerGUI\render
render()
Definition:
class.ilBadgeHandlerGUI.php:42
exit
exit
Definition:
old-extract-schema.php:8
ilBadgeHandlerGUI\executeCommand
executeCommand()
Definition:
class.ilBadgeHandlerGUI.php:31
Services
Badge
classes
class.ilBadgeHandlerGUI.php
Generated on Tue Jan 28 2025 19:01:29 for ILIAS by
1.8.13 (using
Doxyfile
)