ILIAS  release_8 Revision v8.23
ilChatroomSmilies Class Reference

Class ilChatroomSmilies. More...

+ Collaboration diagram for ilChatroomSmilies:

Static Public Member Functions

static _getSmileyDir ()
 
static getSmiliesBasePath ()
 
static _prepareKeywords (string $words)
 Trims given keywords and returns them in one array. More...
 

Detailed Description

Class ilChatroomSmilies.

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

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

Member Function Documentation

◆ _getSmileyDir()

static ilChatroomSmilies::_getSmileyDir ( )
static

Definition at line 126 of file class.ilChatroomSmilies.php.

References $data, $DIC, $id, $ilDB, $res, ilFileUtils\getWebspaceDir(), and ILIAS\Repository\int().

126  : string
127  {
128  return ilFileUtils::getWebspaceDir() . '/chatroom/smilies';
129  }
static getWebspaceDir(string $mode="filesystem")
get webspace directory
+ Here is the call graph for this function:

◆ _prepareKeywords()

static ilChatroomSmilies::_prepareKeywords ( string  $words)
static

Trims given keywords and returns them in one array.

Parameters
string$words
Returns
string[]

Definition at line 335 of file class.ilChatroomSmilies.php.

Referenced by ilChatroomAdminSmileyGUI\confirmedDeleteMultipleObject(), and ilChatroomAdminSmileyGUI\deleteSmileyObject().

335  : array
336  {
337  return array_filter(array_map('trim', explode("\n", $words)));
338  }
+ Here is the caller graph for this function:

◆ getSmiliesBasePath()

static ilChatroomSmilies::getSmiliesBasePath ( )
static

Definition at line 278 of file class.ilChatroomSmilies.php.

References $DIC, Vendor\Package\$e, $ilDB, $path, and ilFileUtils\getWebspaceDir().

Referenced by ilChatroomAdminSmileyGUI\confirmedDeleteMultipleObject(), and ilChatroomAdminSmileyGUI\deleteSmileyObject().

278  : string
279  {
280  return 'chatroom/smilies';
281  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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