ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilChatroomSmiliesGUI Class Reference

Class ilChatroomSmiliesGUI Chat smiley GUI handler. More...

+ Collaboration diagram for ilChatroomSmiliesGUI:

Public Member Functions

 executeCommand ()
 Default execute command, calls ilChatroomSmilies::initial();. More...
 

Static Public Member Functions

static _getExistingSmiliesTable ($a_ref)
 Constructor public. More...
 

Detailed Description

Class ilChatroomSmiliesGUI Chat smiley GUI handler.

Author
Jan Posselt jposs.nosp@m.elt@.nosp@m.datab.nosp@m.ay.d.nosp@m.e
Version
$Id$

Definition at line 11 of file class.ilChatroomSmiliesGUI.php.

Member Function Documentation

◆ _getExistingSmiliesTable()

static ilChatroomSmiliesGUI::_getExistingSmiliesTable (   $a_ref)
static

Constructor public.

Instantiates ilChatroomSmiliesTableGUI and returns its table's HTML. ilLanguage $lng ilCtrl2 $ilCtrl

Parameters
ilObjChatroomAdminGUI$a_ref
Returns
string

Definition at line 30 of file class.ilChatroomSmiliesGUI.php.

References $ilCtrl, and $lng.

Referenced by ilChatroomAdminSmileyGUI\editSmiliesObject().

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  }
Class ilChatroomSmiliesTableGUI Prepares table rows and fills them.
global $ilCtrl
Definition: ilias.php:18
global $lng
Definition: privfeed.php:17
+ Here is the caller graph for this function:

◆ executeCommand()

ilChatroomSmiliesGUI::executeCommand ( )

Default execute command, calls ilChatroomSmilies::initial();.

Definition at line 49 of file class.ilChatroomSmiliesGUI.php.

50  {
51  include_once 'Modules/Chatroom/classes/class.ilChatroomSmilies.php';
52  ilChatroomSmilies::initial();
53  }

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