ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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
28 public static function _getExistingSmiliesTable($a_ref)
29 {
30 include_once "Modules/Chatroom/classes/class.ilChatroomSmiliesTableGUI.php";
31
32 $table = new ilChatroomSmiliesTableGUI($a_ref, 'smiley');
33
34 include_once('Modules/Chatroom/classes/class.ilChatroomSmilies.php');
35
36 $values = ilChatroomSmilies::_getSmilies();
37 $table->setData($values);
38
39 return $table->getHTML();
40 }
41
45 public function executeCommand()
46 {
47 include_once 'Modules/Chatroom/classes/class.ilChatroomSmilies.php';
48 ilChatroomSmilies::initial();
49 }
50}
An exception for terminatinating execution or to throw for unit testing.
Class ilChatroomSmiliesGUI Chat smiley GUI handler.
static _getExistingSmiliesTable($a_ref)
Constructor @access public.
executeCommand()
Default execute command, calls ilChatroomSmilies::initial();.
Class ilChatroomSmiliesTableGUI Prepares table rows and fills them.