|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilChatroomUploadFileTask. More...
Inheritance diagram for ilChatroomUploadFileTask:
Collaboration diagram for ilChatroomUploadFileTask:Public Member Functions | |
| __construct (ilChatroomObjectGUI $gui) | |
| Constructor. More... | |
| executeDefault ($requestedMethod) | |
| Default execute method. More... | |
| uploadFile () | |
| Saves file, fetched from $_FILES to specified upload path. More... | |
| deliverFile () | |
| checkUploadPath ($path) | |
| Checks if given upload path exists, is readable or can be created. More... | |
| getUploadPath () | |
| Returns upload path. More... | |
| __construct (ilChatroomObjectGUI $gui) | |
| executeDefault ($requestedMethod) | |
Protected Member Functions | |
| displayLinkToUploadedFile ($room, $chat_user) | |
Private Member Functions | |
| buildMessage ($messageString, $params, ilChatroomUser $chat_user) | |
Private Attributes | |
| $gui | |
Class ilChatroomUploadFileTask.
Provides methods to upload a file.
Definition at line 15 of file class.ilChatroomUploadFileTask.php.
| ilChatroomUploadFileTask::__construct | ( | ilChatroomObjectGUI | $gui | ) |
Constructor.
| ilChatroomObjectGUI | $gui |
Reimplemented from ilChatroomTaskHandler.
Definition at line 25 of file class.ilChatroomUploadFileTask.php.
References $gui.
|
private |
Definition at line 137 of file class.ilChatroomUploadFileTask.php.
References $data, and $params.
Referenced by displayLinkToUploadedFile().
Here is the caller graph for this function:| ilChatroomUploadFileTask::checkUploadPath | ( | $path | ) |
Checks if given upload path exists, is readable or can be created.
| string | $path |
Definition at line 156 of file class.ilChatroomUploadFileTask.php.
References $path, and ilUtil\makeDirParents().
Referenced by uploadFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomUploadFileTask::deliverFile | ( | ) |
Definition at line 130 of file class.ilChatroomUploadFileTask.php.
|
protected |
Definition at line 93 of file class.ilChatroomUploadFileTask.php.
References $ilCtrl, $params, $query, buildMessage(), exit, and ilUtil\stripSlashes().
Referenced by uploadFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomUploadFileTask::executeDefault | ( | $requestedMethod | ) |
Default execute method.
| string | $requestedMethod |
Reimplemented from ilChatroomTaskHandler.
Definition at line 35 of file class.ilChatroomUploadFileTask.php.
| ilChatroomUploadFileTask::getUploadPath | ( | ) |
Returns upload path.
Definition at line 194 of file class.ilChatroomUploadFileTask.php.
References $path, and ilUtil\getDataDir().
Referenced by uploadFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomUploadFileTask::uploadFile | ( | ) |
Saves file, fetched from $_FILES to specified upload path.
@global ilObjUser $ilUser
Definition at line 45 of file class.ilChatroomUploadFileTask.php.
References $file, $filename, $ilCtrl, $ilUser, ilChatroom\byObjectId(), checkUploadPath(), ilChatroom\checkUserPermissions(), displayLinkToUploadedFile(), getUploadPath(), and ilUtil\moveUploadedFile().
Here is the call graph for this function:
|
private |
Definition at line 18 of file class.ilChatroomUploadFileTask.php.
Referenced by __construct().