ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilBadgeHandlerGUI Class Reference
+ Collaboration diagram for ilBadgeHandlerGUI:

Public Member Functions

 executeCommand ()
 

Protected Member Functions

 render ()
 

Detailed Description

Definition at line 13 of file class.ilBadgeHandlerGUI.php.

Member Function Documentation

◆ executeCommand()

ilBadgeHandlerGUI::executeCommand ( )

Definition at line 15 of file class.ilBadgeHandlerGUI.php.

References $cmd, $ilCtrl, and exit.

16  {
17  global $ilCtrl;
18 
19  if($ilCtrl->isAsynch())
20  {
21  $cmd = $ilCtrl->getCmd();
22  echo $this->$cmd();
23  exit();
24  }
25  }
$cmd
Definition: sahs_server.php:35
global $ilCtrl
Definition: ilias.php:18

◆ render()

ilBadgeHandlerGUI::render ( )
protected

Definition at line 27 of file class.ilBadgeHandlerGUI.php.

References $_GET, and ilBadgeRenderer\initFromId().

28  {
29  include_once "Services/Badge/classes/class.ilBadgeRenderer.php";
30  $rnd = ilBadgeRenderer::initFromId(trim($_GET["id"]));
31  if($rnd)
32  {
33  return $rnd->renderModal();
34  }
35  }
$_GET["client_id"]
static initFromId($a_id)
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: