|
ILIAS
release_8 Revision v8.24
|
Class ilChatroomAdminSmileyGUI 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 (string $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 () | |
| showEditSmileyEntryFormObject () | |
| Shows EditSmileyEntryForm Prepares EditSmileyEntryForm and displays it. More... | |
| initSmiliesEditForm (array $form_data) | |
| showDeleteSmileyFormObject () | |
| Shows DeleteSmileyForm Prepares DeleteSmileyForm and displays it. More... | |
| deleteSmileyObject () | |
| deleteMultipleObject () | |
| Shows confirmation view for deleting multiple smilies Prepares confirmation view for deleting multiple smilies and displays it. More... | |
| confirmedDeleteMultipleObject () | |
Public Member Functions inherited from ilChatroomGUIHandler | |
| execute (string $method) | |
| executeDefault (string $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... | |
| sendResponse ($response, bool $isJson=false) | |
| Sends a json encoded response and exits the php process. More... | |
| hasPermission (string $permission) | |
Static Public Member Functions | |
| static | _checkSetup () |
| static | _getSmileyDir (bool $withBaseDir=true) |
Protected Member Functions | |
| getSmileyFormDataById (int $smileyId) | |
Protected Member Functions inherited from ilChatroomGUIHandler | |
| getRequestValue (string $key, Transformation $trafo, $default=null) | |
| hasRequestValue (string $key) | |
| getRoomByObjectId (int $objectId) | |
| exitIfNoRoomExists (?ilChatroom $room) | |
| Checks if a ilChatroom exists. More... | |
| exitIfNoRoomModeratePermission (ilChatroom $room, int $subRoom, ilChatroomUser $chatUser) | |
| Check if user can moderate a chatroom. More... | |
| canModerate (ilChatroom $room, int $subRoom, int $usrId) | |
| isMainRoom (int $subRoomId) | |
Protected Attributes | |
| ilPropertyFormGUI | $form_gui = null |
Protected Attributes inherited from ilChatroomGUIHandler | |
| ilChatroomObjectGUI | $gui |
| ilObjUser | $ilUser |
| ilCtrlInterface | $ilCtrl |
| ilLanguage | $ilLng |
| Filesystem | $webDirectory |
| ilObjectService | $obj_service |
| FileUpload | $upload |
| ilRbacSystem | $rbacsystem |
| ilGlobalTemplateInterface | $mainTpl |
| ILIAS | $ilias |
| ilNavigationHistory | $navigationHistory |
| ilTree | $tree |
| ilTabsGUI | $tabs |
| UIFactory | $uiFactory |
| UIRenderer | $uiRenderer |
| GlobalHttpState | $http |
| Refinery | $refinery |
Static Private Member Functions | |
| static | _insertDefaultValues () |
Class ilChatroomAdminSmileyGUI Provides methods to show, add, edit and delete smilies consisting of icon and keywords.
Definition at line 29 of file class.ilChatroomAdminSmileyGUI.php.
|
static |
Definition at line 53 of file class.ilChatroomAdminSmileyGUI.php.
References $DIC, $path, _getSmileyDir(), _insertDefaultValues(), and ilFileUtils\makeDirParents().
Referenced by view().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 101 of file class.ilChatroomAdminSmileyGUI.php.
References $path, and ilFileUtils\getWebspaceDir().
Referenced by _checkSetup().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Definition at line 112 of file class.ilChatroomAdminSmileyGUI.php.
Referenced by _checkSetup().
Here is the caller graph for this function:| ilChatroomAdminSmileyGUI::confirmedDeleteMultipleObject | ( | ) |
Definition at line 494 of file class.ilChatroomAdminSmileyGUI.php.
References ilChatroomGUIHandler\getRequestValue(), ilCtrl\redirect(), and ILIAS\Repository\refinery().
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 ilCtrl\getFormAction(), ilChatroomGUIHandler\getRequestValue(), ilUtil\img(), ilCtrl\redirect(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilChatroomAdminSmileyGUI::deleteSmileyObject | ( | ) |
Definition at line 365 of file class.ilChatroomAdminSmileyGUI.php.
References ilChatroomGUIHandler\getRequestValue(), ilCtrl\redirect(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilChatroomAdminSmileyGUI::editSmiliesObject | ( | ) |
Shows existing smilies table Prepares existing smilies table and displays it.
Definition at line 139 of file class.ilChatroomAdminSmileyGUI.php.
References 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 | ( | string | $requestedMethod | ) |
Reimplemented from ilChatroomGUIHandler.
Definition at line 33 of file class.ilChatroomAdminSmileyGUI.php.
References view().
Here is the call graph for this function:
|
protected |
| int | $smileyId |
Definition at line 255 of file class.ilChatroomAdminSmileyGUI.php.
Referenced by showEditSmileyEntryFormObject().
Here is the caller graph for this function:| ilChatroomAdminSmileyGUI::initSmiliesEditForm | ( | array | $form_data | ) |
| array<string,mixed> | $form_data |
Definition at line 270 of file class.ilChatroomAdminSmileyGUI.php.
References $form_gui, ilCtrl\getFormAction(), ILIAS\FileDelivery\http(), ilCtrl\saveParameter(), and ilCtrl\setParameter().
Referenced by showEditSmileyEntryFormObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomAdminSmileyGUI::initSmiliesForm | ( | ) |
Definition at line 168 of file class.ilChatroomAdminSmileyGUI.php.
References $DIC, $form_gui, ilCtrl\getFormAction(), ILIAS\FileDelivery\http(), and ilCtrl\setParameter().
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 336 of file class.ilChatroomAdminSmileyGUI.php.
References ilCtrl\getFormAction(), ilChatroomGUIHandler\getRequestValue(), ilUtil\img(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilChatroomAdminSmileyGUI::showEditSmileyEntryFormObject | ( | ) |
Shows EditSmileyEntryForm Prepares EditSmileyEntryForm and displays it.
Definition at line 222 of file class.ilChatroomAdminSmileyGUI.php.
References ilChatroomGUIHandler\getRequestValue(), getSmileyFormDataById(), initSmiliesEditForm(), and ILIAS\Repository\refinery().
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 42 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 31 of file class.ilChatroomAdminSmileyGUI.php.
Referenced by initSmiliesEditForm(), and initSmiliesForm().