ILIAS
Release_5_0_x_branch Revision 61816
|
File Manager settings. More...
Public Member Functions | |
enable ($a_status) | |
Enable file manager. | |
isEnabled () | |
check if enabled | |
enableLocalFS ($a_stat) | |
Enable local file system frame. | |
isLocalFSEnabled () | |
Check if local file system frame is enabled by default. | |
setMaxFileSize ($a_size) | |
getMaxFileSize () | |
update () | |
Update settings. |
Static Public Member Functions | |
static | getInstance () |
Get singleton instance. |
Protected Member Functions | |
getStorage () | |
Get storage. | |
read () | |
Read settings. |
Private Member Functions | |
__construct () | |
Singleton constructor. |
Private Attributes | |
$storage = null | |
$enabled = false | |
$localFS = true | |
$maxFileSize = 64 |
Static Private Attributes | |
static | $instance = null |
File Manager settings.
Definition at line 9 of file class.ilFMSettings.php.
|
private |
Singleton constructor.
Definition at line 21 of file class.ilFMSettings.php.
References read().
ilFMSettings::enable | ( | $a_status | ) |
Enable file manager.
bool | $a_status |
Definition at line 53 of file class.ilFMSettings.php.
Referenced by read().
ilFMSettings::enableLocalFS | ( | $a_stat | ) |
Enable local file system frame.
<type> | $a_stat |
Definition at line 71 of file class.ilFMSettings.php.
Referenced by read().
|
static |
Get singleton instance.
Definition at line 31 of file class.ilFMSettings.php.
References $instance.
Referenced by ilObjCategoryAccess\_getCommands(), ilObjFolderAccess\_getCommands(), ilObjGroupAccess\_getCommands(), ilObjCourseAccess\_getCommands(), ilContainerGUI\fileManagerLaunchObject(), ilSoapObjectAdministration\getTreeChilds(), ilContainerGUI\initHeaderAction(), ilFMSettingsGUI\initSettingsForm(), and ilFMSettingsGUI\update().
ilFMSettings::getMaxFileSize | ( | ) |
Definition at line 90 of file class.ilFMSettings.php.
References $maxFileSize.
Referenced by update().
|
protected |
ilFMSettings::isEnabled | ( | ) |
check if enabled
Definition at line 62 of file class.ilFMSettings.php.
References $enabled.
Referenced by update().
ilFMSettings::isLocalFSEnabled | ( | ) |
Check if local file system frame is enabled by default.
Definition at line 80 of file class.ilFMSettings.php.
References $localFS.
Referenced by update().
|
protected |
Read settings.
Definition at line 109 of file class.ilFMSettings.php.
References enable(), enableLocalFS(), getStorage(), and setMaxFileSize().
Referenced by __construct().
ilFMSettings::setMaxFileSize | ( | $a_size | ) |
Definition at line 85 of file class.ilFMSettings.php.
Referenced by read().
ilFMSettings::update | ( | ) |
Update settings.
Definition at line 99 of file class.ilFMSettings.php.
References getMaxFileSize(), getStorage(), isEnabled(), and isLocalFSEnabled().
|
private |
Definition at line 14 of file class.ilFMSettings.php.
Referenced by isEnabled().
|
staticprivate |
Definition at line 11 of file class.ilFMSettings.php.
Referenced by getInstance().
|
private |
Definition at line 15 of file class.ilFMSettings.php.
Referenced by isLocalFSEnabled().
|
private |
Definition at line 16 of file class.ilFMSettings.php.
Referenced by getMaxFileSize().
|
private |
Definition at line 13 of file class.ilFMSettings.php.
Referenced by getStorage().