|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilChatroomSmileyGUI Provides methods to show, add, edit and delete smilies consisting of icon and keywords. More...
Inheritance diagram for ilChatroomAdminSmileyGUI:
Collaboration diagram for ilChatroomAdminSmileyGUI:Public Member Functions | ||||
| executeDefault ($requestedMethod) | ||||
{
| ||||
| view () | ||||
| Switches GUI to visible mode and calls editSmiliesObject method which prepares and displays the table of existing smilies. More... | ||||
| editSmiliesObject () | ||||
| Shows existing smilies table Prepares existing smilies table and displays it. More... | ||||
| initSmiliesForm () | ||||
| Initializes smilies form and returns it. More... | ||||
| showEditSmileyEntryFormObject () | ||||
| Shows EditSmileyEntryForm Prepares EditSmileyEntryForm and displays it. More... | ||||
| initSmiliesEditForm ($form_data) | ||||
| Initializes SmiliesEditForm and returns it. More... | ||||
| showDeleteSmileyFormObject () | ||||
| Shows DeleteSmileyForm Prepares DeleteSmileyForm and displays it. More... | ||||
| deleteSmileyObject () | ||||
| Deletes a smiley by $_REQUEST["chatroom_smiley_id"]. More... | ||||
| deleteMultipleObject () | ||||
| Shows confirmation view for deleting multiple smilies Prepares confirmation view for deleting multiple smilies and displays it. More... | ||||
| confirmedDeleteMultipleObject () | ||||
| Deletes multiple smilies by $_REQUEST["sel_ids"]. More... | ||||
Public Member Functions inherited from ilChatroomGUIHandler | ||||
| __construct (ilChatroomObjectGUI $gui) | ||||
| sendResponse ($response) | ||||
| Sends a json encoded response and exits the php process. More... | ||||
| hasPermission ($permission) | ||||
| Checks for access with ilRbacSystem. More... | ||||
| execute ($method) | ||||
| Executes given $method if existing, otherwise executes executeDefault() method. More... | ||||
| executeDefault ($requestedMethod) | ||||
| redirectIfNoPermission ($permission) | ||||
| Checks for requested permissions and redirects if the permission check failed. More... | ||||
| isSuccessful ($response) | ||||
| Checks for success param in an json decoded response. More... | ||||
Static Public Member Functions | |
| static | _checkSetup () |
| static | _getSmileyDir ($withBaseDir=true) |
Protected Member Functions | |
| getSmileyFormDataById ($smileyId) | |
Protected Member Functions inherited from ilChatroomGUIHandler | |
| getRoomByObjectId ($objectId) | |
| exitIfNoRoomExists ($room) | |
| Checks if a ilChatroom exists. More... | |
| exitIfNoRoomPermission ($room, $subRoom, $chat_user) | |
| Check if user can moderate a chatroom. More... | |
| canModerate ($room, $subRoom, $user_id) | |
| Checks if the user has permission to moderate a ilChatroom. More... | |
| isMainRoom ($subRoomId) | |
Protected Attributes | |
| $form_gui | |
Protected Attributes inherited from ilChatroomGUIHandler | |
| $gui | |
| $ilUser | |
| $ilCtrl | |
| $ilLng | |
| $webDirectory | |
| $upload | |
| $rbacsystem | |
| $mainTpl | |
| $ilias | |
| $navigationHistory | |
| $tree | |
| $tabs | |
Static Private Member Functions | |
| static | _insertDefaultValues () |
Class ilChatroomSmileyGUI Provides methods to show, add, edit and delete smilies consisting of icon and keywords.
Definition at line 12 of file class.ilChatroomAdminSmileyGUI.php.
|
static |
Definition at line 44 of file class.ilChatroomAdminSmileyGUI.php.
References $DIC, $path, _getSmileyDir(), _insertDefaultValues(), ilUtil\makeDirParents(), ilUtil\sendFailure(), and ilUtil\sendInfo().
Referenced by view().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| bool | $withBaseDir |
Definition at line 95 of file class.ilChatroomAdminSmileyGUI.php.
References $path, and ilUtil\getWebspaceDir().
Referenced by _checkSetup().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Definition at line 106 of file class.ilChatroomAdminSmileyGUI.php.
References $values.
Referenced by _checkSetup().
Here is the caller graph for this function:| ilChatroomAdminSmileyGUI::confirmedDeleteMultipleObject | ( | ) |
Deletes multiple smilies by $_REQUEST["sel_ids"].
Definition at line 489 of file class.ilChatroomAdminSmileyGUI.php.
References $_POST, and ilCtrl\redirect().
Here is the call graph for this function:| ilChatroomAdminSmileyGUI::deleteMultipleObject | ( | ) |
Shows confirmation view for deleting multiple smilies Prepares confirmation view for deleting multiple smilies and displays it.
Definition at line 448 of file class.ilChatroomAdminSmileyGUI.php.
References $s, ilCtrl\getFormAction(), ilUtil\img(), ilCtrl\redirect(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilChatroomAdminSmileyGUI::deleteSmileyObject | ( | ) |
Deletes a smiley by $_REQUEST["chatroom_smiley_id"].
Definition at line 367 of file class.ilChatroomAdminSmileyGUI.php.
References ilCtrl\redirect().
Here is the call graph for this function:| ilChatroomAdminSmileyGUI::editSmiliesObject | ( | ) |
Shows existing smilies table Prepares existing smilies table and displays it.
Definition at line 134 of file class.ilChatroomAdminSmileyGUI.php.
References $form, $form_gui, $table, ilChatroomSmiliesGUI\_getExistingSmiliesTable(), and initSmiliesForm().
Referenced by view().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomAdminSmileyGUI::executeDefault | ( | $requestedMethod | ) |
{
| string | $requestedMethod |
Reimplemented from ilChatroomGUIHandler.
Definition at line 22 of file class.ilChatroomAdminSmileyGUI.php.
References view().
Here is the call graph for this function:
|
protected |
| $smileyId |
Exception
Definition at line 254 of file class.ilChatroomAdminSmileyGUI.php.
Referenced by showEditSmileyEntryFormObject().
Here is the caller graph for this function:| ilChatroomAdminSmileyGUI::initSmiliesEditForm | ( | $form_data | ) |
Initializes SmiliesEditForm and returns it.
Definition at line 272 of file class.ilChatroomAdminSmileyGUI.php.
References $form_gui, ilCtrl\getFormAction(), and ilCtrl\saveParameter().
Referenced by showEditSmileyEntryFormObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomAdminSmileyGUI::initSmiliesForm | ( | ) |
Initializes smilies form and returns it.
Definition at line 173 of file class.ilChatroomAdminSmileyGUI.php.
References $form_gui, and ilCtrl\getFormAction().
Referenced by editSmiliesObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomAdminSmileyGUI::showDeleteSmileyFormObject | ( | ) |
Shows DeleteSmileyForm Prepares DeleteSmileyForm and displays it.
Definition at line 339 of file class.ilChatroomAdminSmileyGUI.php.
References ilCtrl\getFormAction(), and ilUtil\img().
Here is the call graph for this function:| ilChatroomAdminSmileyGUI::showEditSmileyEntryFormObject | ( | ) |
Shows EditSmileyEntryForm Prepares EditSmileyEntryForm and displays it.
Definition at line 220 of file class.ilChatroomAdminSmileyGUI.php.
References $form, $form_gui, getSmileyFormDataById(), and initSmiliesEditForm().
Here is the call graph for this function:| ilChatroomAdminSmileyGUI::view | ( | ) |
Switches GUI to visible mode and calls editSmiliesObject method which prepares and displays the table of existing smilies.
Definition at line 31 of file class.ilChatroomAdminSmileyGUI.php.
References _checkSetup(), ilChatroom\checkUserPermissions(), and editSmiliesObject().
Referenced by executeDefault().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 17 of file class.ilChatroomAdminSmileyGUI.php.
Referenced by editSmiliesObject(), initSmiliesEditForm(), initSmiliesForm(), and showEditSmileyEntryFormObject().