ILIAS
Release_4_1_x_branch Revision 61804
|
Class ilChatSmilies. More...
Static Public Member Functions | |
static | _getSmileyDir () |
static | _initial () |
performs initial setup (db, dirs, default data) | |
static | _checkSetup () |
checks if smiley folder is available; if not it will try to create folder and performs actions for an initial smiley set | |
static | _getSmilies () |
static | _getSmiley ($a_id) |
lookup and return smiley with id throws exception if id is not found | |
static | _getSmiliesById ($ids=array()) |
static | _deleteMultipleSmilies ($ids=array()) |
static | _updateSmiley ($data) |
static | _getSmiliesBasePath () |
static | _deleteSmiley ($a_id) |
static | _storeSmiley ($keywords, $path) |
static | _prepareKeywords ($words) |
static | _parseString ($str) |
Static Private Member Functions | |
static | _setupDatabase () |
create table and sequence | |
static | _insertDefaultValues () |
insert default smiley set | |
static | _setupFolder () |
setup directory |
|
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 132 of file class.ilChatSmilies.php.
References $lng, $path, _getSmileyDir(), _insertDefaultValues(), ilUtil\makeDirParents(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
Referenced by ilObjChatServerGUI\editSmiliesObject().
|
static |
Definition at line 261 of file class.ilChatSmilies.php.
References $ilDB, and _getSmiliesById().
Referenced by ilObjChatServerGUI\confirmedDeleteMultipleObject().
|
static |
Definition at line 308 of file class.ilChatSmilies.php.
References $ilDB, $path, _getSmiley(), and ilUtil\getWebspaceDir().
Referenced by ilObjChatServerGUI\deleteSmileyObject().
|
static |
lookup and return smiley with id throws exception if id is not found
Definition at line 211 of file class.ilChatSmilies.php.
References $ilDB, $res, $result, and ilUtil\getWebspaceDir().
Referenced by _deleteSmiley(), _updateSmiley(), ilObjChatServerGUI\showDeleteSmileyFormObject(), and ilObjChatServerGUI\showEditSmileyEntryFormObject().
|
static |
Definition at line 114 of file class.ilChatSmilies.php.
References ilUtil\getWebspaceDir().
Referenced by _checkSetup().
|
static |
Definition at line 187 of file class.ilChatSmilies.php.
References $ilDB, $res, $result, and ilUtil\getWebspaceDir().
Referenced by ilChatSmiliesGUI\_getExistingSmiliesTable(), and ilObjChatGUI\showUserFrameObject().
|
static |
Definition at line 304 of file class.ilChatSmilies.php.
References ilUtil\getWebspaceDir().
Referenced by ilObjChatServerGUI\updateSmiliesObject(), and ilObjChatServerGUI\uploadSmileyObject().
|
static |
Definition at line 233 of file class.ilChatSmilies.php.
References $ilDB, $res, $result, and ilUtil\getWebspaceDir().
Referenced by _deleteMultipleSmilies(), and ilObjChatServerGUI\deleteMultipleObject().
|
static |
performs initial setup (db, dirs, default data)
Definition at line 121 of file class.ilChatSmilies.php.
References _insertDefaultValues(), _setupDatabase(), and _setupFolder().
|
staticprivate |
insert default smiley set
Definition at line 63 of file class.ilChatSmilies.php.
Referenced by _checkSetup(), and _initial().
|
static |
Definition at line 373 of file class.ilChatSmilies.php.
References $ilDB, $row, $tpl, and ilUtil\getHtmlPath().
Referenced by ilChatServerCommunicator\emoticons().
|
static |
Definition at line 348 of file class.ilChatSmilies.php.
Referenced by ilObjChatServerGUI\updateSmiliesObject(), and ilObjChatServerGUI\uploadSmileyObject().
|
staticprivate |
create table and sequence
Definition at line 35 of file class.ilChatSmilies.php.
References $ilDB.
Referenced by _initial().
|
staticprivate |
setup directory
Definition at line 102 of file class.ilChatSmilies.php.
References $path, and ilUtil\getWebspaceDir().
Referenced by _initial().
|
static |
Definition at line 330 of file class.ilChatSmilies.php.
References $ilDB, $path, and $row.
Referenced by ilObjChatServerGUI\uploadSmileyObject().
|
static |
Definition at line 277 of file class.ilChatSmilies.php.
References $data, $ilDB, and _getSmiley().
Referenced by ilObjChatServerGUI\updateSmiliesObject().