|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Class ilChatroomSmileyTask Provides methods to show, add, edit and delete smilies consisting of icon and keywords. More...
Inheritance diagram for ilChatroomSmileyTask:
Collaboration diagram for ilChatroomSmileyTask:Public Member Functions | |
| __construct (ilChatroomObjectGUI $gui) | |
| Constructor Sets $this->gui. More... | |
| executeDefault ($method) | |
| Default execute command. More... | |
| view () | |
| Switches GUI to visible mode and calls editSmiliesObject method which prepares and displays the table of existing smilies. More... | |
| showEditSmileyEntryFormObject () | |
| Shows EditSmileyEntryForm Prepares EditSmileyEntryForm and displays it. More... | |
| deleteSmileyObject () | |
| Deletes a smiley by $_REQUEST["chatroom_smiley_id"] @global ilRbacSystem $rbacsystem @global ilCtrl2 $ilCtrl. More... | |
| editSmiliesObject () | |
| Shows existing smilies table Prepares existing smilies table and displays it. More... | |
| updateSmiliesObject () | |
| Updates a smiley and/or its keywords Updates a smiley icon and/or its keywords by $_REQUEST["chatroom_smiley_id"] and gets keywords from $_REQUEST["chatroom_smiley_keywords"]. More... | |
| initSmiliesForm () | |
| Initializes smilies form and returns it. More... | |
| initSmiliesEditForm ($form_data) | |
| Initializes SmiliesEditForm and returns it. More... | |
| uploadSmileyObject () | |
| Uploads and stores a new smiley with keywords from $_REQUEST["chatroom_smiley_keywords"] @global ilRbacSystem $rbacsystem @global ilCtrl2 $ilCtrl. More... | |
| __construct (ilChatroomObjectGUI $gui) | |
| executeDefault ($requestedMethod) | |
Static Public Member Functions | |
| static | _getSmileyDir () |
| static | _checkSetup () |
Static Private Member Functions | |
| static | _insertDefaultValues () |
| static | _setupFolder () |
| setup directory More... | |
Private Attributes | |
| $gui | |
Class ilChatroomSmileyTask Provides methods to show, add, edit and delete smilies consisting of icon and keywords.
Definition at line 12 of file class.ilChatroomSmileyTask.php.
| ilChatroomSmileyTask::__construct | ( | ilChatroomObjectGUI | $gui | ) |
Constructor Sets $this->gui.
| ilChatroomObjectGUI | $gui |
Reimplemented from ilChatroomTaskHandler.
Definition at line 22 of file class.ilChatroomSmileyTask.php.
References $gui.
|
static |
Definition at line 567 of file class.ilChatroomSmileyTask.php.
References $lng, $path, _getSmileyDir(), _insertDefaultValues(), ilUtil\makeDirParents(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
Referenced by view().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 562 of file class.ilChatroomSmileyTask.php.
References ilUtil\getWebspaceDir().
Referenced by _checkSetup(), and _setupFolder().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Definition at line 509 of file class.ilChatroomSmileyTask.php.
Referenced by _checkSetup().
Here is the caller graph for this function:
|
staticprivate |
setup directory
Definition at line 549 of file class.ilChatroomSmileyTask.php.
References $path, and _getSmileyDir().
Here is the call graph for this function:| ilChatroomSmileyTask::deleteSmileyObject | ( | ) |
Deletes a smiley by $_REQUEST["chatroom_smiley_id"] @global ilRbacSystem $rbacsystem @global ilCtrl2 $ilCtrl.
Definition at line 139 of file class.ilChatroomSmileyTask.php.
References $_REQUEST, $ilCtrl, $lng, and ilChatroomSmilies\_deleteSmiley().
Here is the call graph for this function:| ilChatroomSmileyTask::editSmiliesObject | ( | ) |
Shows existing smilies table Prepares existing smilies table and displays it.
@global ilRbacSystem $rbacsystem @global ilLanguage $lng @global ilTemplate $tpl
Definition at line 164 of file class.ilChatroomSmileyTask.php.
References $lng, $tpl, ilChatroomSmilies\_checkSetup(), ilChatroomSmiliesGUI\_getExistingSmiliesTable(), and initSmiliesForm().
Referenced by view().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomSmileyTask::executeDefault | ( | $method | ) |
Default execute command.
Calls view method.
| string | $method |
Reimplemented from ilChatroomTaskHandler.
Definition at line 32 of file class.ilChatroomSmileyTask.php.
References view().
Here is the call graph for this function:| ilChatroomSmileyTask::initSmiliesEditForm | ( | $form_data | ) |
Initializes SmiliesEditForm and returns it.
@global ilCtrl2 $ilCtrl @global ilLanguage $lng
Definition at line 397 of file class.ilChatroomSmileyTask.php.
References $_REQUEST, $ilCtrl, and $lng.
Referenced by showEditSmileyEntryFormObject().
Here is the caller graph for this function:| ilChatroomSmileyTask::initSmiliesForm | ( | ) |
Initializes smilies form and returns it.
@global ilCtrl2 $ilCtrl @global ilLanguage $lng
Definition at line 267 of file class.ilChatroomSmileyTask.php.
References $_REQUEST, $ilCtrl, and $lng.
Referenced by editSmiliesObject(), and uploadSmileyObject().
Here is the caller graph for this function:| ilChatroomSmileyTask::showEditSmileyEntryFormObject | ( | ) |
Shows EditSmileyEntryForm Prepares EditSmileyEntryForm and displays it.
@global ilRbacSystem $rbacsystem @global ilTemplate $tpl
Definition at line 63 of file class.ilChatroomSmileyTask.php.
References $_REQUEST, $lng, $tpl, ilChatroomSmilies\_getSmiley(), and initSmiliesEditForm().
Here is the call graph for this function:| ilChatroomSmileyTask::updateSmiliesObject | ( | ) |
Updates a smiley and/or its keywords Updates a smiley icon and/or its keywords by $_REQUEST["chatroom_smiley_id"] and gets keywords from $_REQUEST["chatroom_smiley_keywords"].
@global ilRbacSystem $rbacsystem @global ilCtrl2 $ilCtrl
Definition at line 208 of file class.ilChatroomSmileyTask.php.
References $_REQUEST, $data, $ilCtrl, $lng, $tpl, ilChatroomSmilies\_getSmiliesBasePath(), ilChatroomSmilies\_prepareKeywords(), ilChatroomSmilies\_updateSmiley(), ilUtil\sendFailure(), ilUtil\stripSlashes(), and view().
Here is the call graph for this function:| ilChatroomSmileyTask::uploadSmileyObject | ( | ) |
Uploads and stores a new smiley with keywords from $_REQUEST["chatroom_smiley_keywords"] @global ilRbacSystem $rbacsystem @global ilCtrl2 $ilCtrl.
Definition at line 464 of file class.ilChatroomSmileyTask.php.
References $_REQUEST, $ilCtrl, $lng, $tpl, ilChatroomSmilies\_getSmiliesBasePath(), ilChatroomSmilies\_prepareKeywords(), ilChatroomSmilies\_storeSmiley(), initSmiliesForm(), ilUtil\stripSlashes(), and view().
Here is the call graph for this function:| ilChatroomSmileyTask::view | ( | ) |
Switches GUI to visible mode and calls editSmiliesObject method which prepares and displays the table of existing smilies.
Definition at line 44 of file class.ilChatroomSmileyTask.php.
References _checkSetup(), ilChatroom\checkUserPermissions(), and editSmiliesObject().
Referenced by executeDefault(), updateSmiliesObject(), and uploadSmileyObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 15 of file class.ilChatroomSmileyTask.php.
Referenced by __construct().