ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilChatroomSmilies. More...
Static Public Member Functions | |
static | _initial () |
Performs initial setup (db, dirs, default data) More... | |
static | _checkSetup () |
Checks if smiley folder is available; if not it will try to create folder and performs actions for an initial smiley set. More... | |
static | _getSmileyDir () |
Path to smilies. More... | |
static | _deleteMultipleSmilies ($ids=array()) |
Deletes multiple smilies by given id array. More... | |
static | _getSmiliesBasePath () |
Returns smilies basepath. More... | |
static | _prepareKeywords ($words) |
Trims given keywords and returns them in one array. More... | |
Static Private Member Functions | |
static | _setupFolder () |
Setup directory. More... | |
|
static |
Checks if smiley folder is available; if not it will try to create folder and performs actions for an initial smiley set.
Definition at line 117 of file class.ilChatroomSmilies.php.
References $lng, $path, array, ilUtil\makeDirParents(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
Referenced by ilChatroomAdminSmileyGUI\editSmiliesObject().
|
static |
Deletes multiple smilies by given id array.
ilDBInterface $ilDB
array | $ids |
Definition at line 210 of file class.ilChatroomSmilies.php.
References $data, $ilDB, $res, $result, $row, array, and ilUtil\getWebspaceDir().
Referenced by ilChatroomAdminSmileyGUI\updateSmiliesObject().
|
static |
Path to smilies.
Definition at line 173 of file class.ilChatroomSmilies.php.
References $ilDB, $res, $result, $row, array, and ilUtil\getWebspaceDir().
|
static |
Returns smilies basepath.
Definition at line 348 of file class.ilChatroomSmilies.php.
References $ilDB, $path, $row, array, and ilUtil\getWebspaceDir().
Referenced by ilChatroomAdminSmileyGUI\updateSmiliesObject(), and ilChatroomAdminSmileyGUI\uploadSmileyObject().
|
static |
Performs initial setup (db, dirs, default data)
Definition at line 15 of file class.ilChatroomSmilies.php.
|
static |
Trims given keywords and returns them in one array.
string | $words |
Definition at line 418 of file class.ilChatroomSmilies.php.
References array.
Referenced by ilChatroomAdminSmileyGUI\updateSmiliesObject(), and ilChatroomAdminSmileyGUI\uploadSmileyObject().
|
staticprivate |
Setup directory.
Definition at line 101 of file class.ilChatroomSmilies.php.
References $path, and ilUtil\getWebspaceDir().