ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilChatroomSmiliesGUI.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
12 {
13 
18  /*public function __construct()
19  {
20 
21  }*/
22 
30  public static function _getExistingSmiliesTable($a_ref)
31  {
32  global $lng, $ilCtrl;
33 
34  include_once "Modules/Chatroom/classes/class.ilChatroomSmiliesTableGUI.php";
35 
36  $table = new ilChatroomSmiliesTableGUI($a_ref, 'smiley');
37 
38  include_once('Modules/Chatroom/classes/class.ilChatroomSmilies.php');
39 
40  $values = ilChatroomSmilies::_getSmilies();
41  $table->setData($values);
42 
43  return $table->getHTML();
44  }
45 
49  public function executeCommand()
50  {
51  include_once 'Modules/Chatroom/classes/class.ilChatroomSmilies.php';
52  ilChatroomSmilies::initial();
53  }
54 
55 }
56 
57 ?>
Class ilChatroomSmiliesTableGUI Prepares table rows and fills them.
static _getExistingSmiliesTable($a_ref)
Constructor public.
global $ilCtrl
Definition: ilias.php:18
executeCommand()
Default execute command, calls ilChatroomSmilies::initial();.
Class ilChatroomSmiliesGUI Chat smiley GUI handler.
global $lng
Definition: privfeed.php:17