ILIAS
Release_4_4_x_branch Revision 61816
|
Static Public Member Functions | |
static | setDragAndDropUploadEnabled ($newValue) |
Sets whether drag and drop file upload is enabled. | |
static | isDragAndDropUploadEnabled () |
Gets whether drag and drop file upload is enabled. | |
static | setRepositoryDragAndDropUploadEnabled ($newValue) |
Sets whether drag and drop file upload in the repository is enabled. | |
static | isRepositoryDragAndDropUploadEnabled () |
Gets whether drag and drop file upload in the repository is enabled. | |
static | setConcurrentUploads ($newValue) |
Sets the number of files that can be uploaded at the same time. | |
static | getConcurrentUploads () |
Gets the number of files that can be uploaded at the same time. |
Data Fields | |
const | CONCURRENT_UPLOADS_DEFAULT = 3 |
const | CONCURRENT_UPLOADS_MAX = 10 |
Private Member Functions | |
__construct () | |
Private constructor. |
Static Private Member Functions | |
static | getInstance () |
Gets the instance of the ilFileUploadSettings. |
Private Attributes | |
$settings = null | |
$dndUploadEnabled = true | |
$repositoryDndUploadEnabled = true | |
$concurrentUploads = self::CONCURRENT_UPLOADS_DEFAULT |
Static Private Attributes | |
static | $instance = null |
Definition at line 15 of file class.ilFileUploadSettings.php.
|
private |
Private constructor.
Definition at line 53 of file class.ilFileUploadSettings.php.
|
static |
Gets the number of files that can be uploaded at the same time.
Definition at line 140 of file class.ilFileUploadSettings.php.
References getInstance().
Referenced by ilObjFileAccessSettingsGUI\editUploadSettings(), ilFileUploadGUI\getSharedHtml(), and ilObjFileAccessSettingsGUI\initUploadSettingsForm().
|
staticprivate |
Gets the instance of the ilFileUploadSettings.
Definition at line 149 of file class.ilFileUploadSettings.php.
References $instance.
Referenced by getConcurrentUploads(), isDragAndDropUploadEnabled(), isRepositoryDragAndDropUploadEnabled(), setConcurrentUploads(), setDragAndDropUploadEnabled(), and setRepositoryDragAndDropUploadEnabled().
|
static |
Gets whether drag and drop file upload is enabled.
Definition at line 79 of file class.ilFileUploadSettings.php.
References getInstance().
Referenced by ilObjFileAccessSettingsGUI\editUploadSettings(), ilObjFileGUI\initCreationForms(), ilObjFileAccessSettingsGUI\initUploadSettingsForm(), and ilFileUploadUtil\isUploadAllowed().
|
static |
Gets whether drag and drop file upload in the repository is enabled.
Definition at line 102 of file class.ilFileUploadSettings.php.
References getInstance().
Referenced by ilObjFileAccessSettingsGUI\editUploadSettings(), ilObjFileAccessSettingsGUI\initUploadSettingsForm(), and ilFileUploadUtil\isUploadAllowed().
|
static |
Sets the number of files that can be uploaded at the same time.
int | new value |
Definition at line 113 of file class.ilFileUploadSettings.php.
References $instance, CONCURRENT_UPLOADS_DEFAULT, CONCURRENT_UPLOADS_MAX, and getInstance().
Referenced by ilObjFileAccessSettingsGUI\saveUploadSettings().
|
static |
Sets whether drag and drop file upload is enabled.
bool | new value |
Definition at line 67 of file class.ilFileUploadSettings.php.
References $instance, and getInstance().
Referenced by ilObjFileAccessSettingsGUI\saveUploadSettings().
|
static |
Sets whether drag and drop file upload in the repository is enabled.
bool | new value |
Definition at line 90 of file class.ilFileUploadSettings.php.
References $instance, and getInstance().
Referenced by ilObjFileAccessSettingsGUI\saveUploadSettings().
|
private |
Definition at line 48 of file class.ilFileUploadSettings.php.
|
private |
Definition at line 36 of file class.ilFileUploadSettings.php.
|
staticprivate |
Definition at line 24 of file class.ilFileUploadSettings.php.
Referenced by getInstance(), setConcurrentUploads(), setDragAndDropUploadEnabled(), and setRepositoryDragAndDropUploadEnabled().
|
private |
Definition at line 42 of file class.ilFileUploadSettings.php.
|
private |
Definition at line 30 of file class.ilFileUploadSettings.php.
const ilFileUploadSettings::CONCURRENT_UPLOADS_DEFAULT = 3 |
Definition at line 17 of file class.ilFileUploadSettings.php.
Referenced by setConcurrentUploads().
const ilFileUploadSettings::CONCURRENT_UPLOADS_MAX = 10 |
Definition at line 18 of file class.ilFileUploadSettings.php.
Referenced by ilObjFileAccessSettingsGUI\initUploadSettingsForm(), and setConcurrentUploads().