|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Collaboration diagram for ilFileUploadUtil:Static Public Member Functions | |
| static | isUploadAllowed ($a_ref_id, $a_type="") |
| Determines whether files can be uploaded to the object with the specified reference id. More... | |
| static | isUploadSupported () |
| Determines whether file upload is supported at the current location. More... | |
| static | getMaxFileSize () |
| Gets the maximum upload file size allowed in bytes. More... | |
| static | getMaxFileSizeString () |
| Gets the maximum upload file size allowed as string (like '14.2 MB'). More... | |
Definition at line 14 of file class.ilFileUploadUtil.php.
|
static |
Gets the maximum upload file size allowed in bytes.
Definition at line 71 of file class.ilFileUploadUtil.php.
References PREG_SPLIT_DELIM_CAPTURE.
Referenced by getMaxFileSizeString(), and ilFileUploadGUI\getSharedHtml().
Here is the caller graph for this function:
|
static |
Gets the maximum upload file size allowed as string (like '14.2 MB').
Definition at line 105 of file class.ilFileUploadUtil.php.
References getMaxFileSize(), and sprintf.
Here is the call graph for this function:
|
static |
Determines whether files can be uploaded to the object with the specified reference id.
| int | $a_ref_id | The reference id to check. |
| string | $a_type | The type of the object to check. |
Definition at line 23 of file class.ilFileUploadUtil.php.
References $a_type, ilObject\_lookupType(), ilFileUploadSettings\isDragAndDropUploadEnabled(), and ilFileUploadSettings\isRepositoryDragAndDropUploadEnabled().
Referenced by ilObjectListGUI\isFileUploadAllowed(), and ilObjectGUI\prepareOutput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Determines whether file upload is supported at the current location.
Definition at line 51 of file class.ilFileUploadUtil.php.
References $_GET, $cmd, and $ilCtrl.
Referenced by ilFileUploadGUI\getUploadUrl().
Here is the caller graph for this function: