39include_once 
"./Services/Object/classes/class.ilObject.php";
 
   87        public function __construct($a_id = 0,$a_call_by_reference = 
true)
 
   90                parent::__construct($a_id,$a_call_by_reference);
 
  101                $this->webdavEnabled = $newValue;
 
  120                $this->webdavActionsVisible = $newValue;
 
  145                $this->customWebfolderInstructions = $newValue;
 
  154                if (strlen($this->customWebfolderInstructions) == 0) 
 
  156                        require_once 
'Services/WebDAV/classes/class.ilDAVServer.php';
 
  188                $this->customWebfolderInstructionsEnabled = $newValue;
 
  200                $this->inlineFileExtensions = $newValue;
 
  219                $this->downloadWithUploadedFilename = $newValue;
 
  261                $ilClientIniFile = 
$DIC[
'ilClientIniFile'];
 
  264                $ilClientIniFile->error(
null);
 
  266                if (! $ilClientIniFile->groupExists(
'file_access'))
 
  268                        $ilClientIniFile->addGroup(
'file_access');
 
  270                $ilClientIniFile->setVariable(
'file_access', 
'webdav_enabled', $this->webdavEnabled ? 
'1' : 
'0');
 
  271                $ilClientIniFile->setVariable(
'file_access', 
'webdav_actions_visible', $this->webdavActionsVisible ? 
'1' : 
'0');
 
  272                $ilClientIniFile->setVariable(
'file_access', 
'download_with_uploaded_filename', $this->downloadWithUploadedFilename ? 
'1' : 
'0');
 
  273                $ilClientIniFile->write();
 
  275        if ($ilClientIniFile->getError()) {
 
  278                        $ilErr->raiseError($ilClientIniFile->getError(),
$ilErr->WARNING);
 
  281                require_once 
'Services/Administration/classes/class.ilSetting.php';
 
  282                $settings = 
new ilSetting(
'file_access');
 
  283                $settings->set(
'inline_file_extensions', $this->inlineFileExtensions);
 
  284                $settings->set(
'custom_webfolder_instructions_enabled', $this->customWebfolderInstructionsEnabled ? 
'1' : 
'0');
 
  285                $settings->set(
'custom_webfolder_instructions', $this->customWebfolderInstructions);
 
  295                $ilClientIniFile = 
$DIC[
'ilClientIniFile'];
 
  296                $this->webdavEnabled = $ilClientIniFile->readVariable(
'file_access',
'webdav_enabled') == 
'1';
 
  297                $this->webdavActionsVisible = $ilClientIniFile->readVariable(
'file_access',
'webdav_actions_visible') == 
'1';
 
  298                $this->downloadWithUploadedFilename = $ilClientIniFile->readVariable(
'file_access',
'download_with_uploaded_filename') == 
'1';
 
  299                $ilClientIniFile->ERROR = 
false;
 
  301                require_once 
'Services/Administration/classes/class.ilSetting.php';
 
  302                $settings = 
new ilSetting(
'file_access');
 
  303                $this->inlineFileExtensions = $settings->get(
'inline_file_extensions',
'');
 
  304                $this->customWebfolderInstructionsEnabled = $settings->get(
'custom_webfolder_instructions_enabled', 
'0') == 
'1';
 
  305                $this->customWebfolderInstructions = $settings->get(
'custom_webfolder_instructions', 
'');
 
An exception for terminatinating execution or to throw for unit testing.
static _getDefaultWebfolderInstructions()
Gets instructions for the usage of webfolders.
getInlineFileExtensions()
Gets the inlineFileExtensions property.
write()
write object data into db
getCustomWebfolderInstructions()
Gets the customWebfolderInstructions property.
setCustomWebfolderInstructionsEnabled($newValue)
Sets the customWebfolderInstructionsEnabled property.
isWebdavEnabled()
Gets the webdavEnabled property.
isCustomWebfolderInstructionsEnabled()
Gets the customWebfolderInstructionsEnabled property.
setCustomWebfolderInstructions($newValue)
Sets the customWebfolderInstructions property.
isDownloadWithUploadedFilename()
Gets the downloadWithUploadedFilename property.
setWebdavActionsVisible($newValue)
Sets the webdavActionsVisible property.
$webdavActionsVisible
Boolean property.
setWebdavEnabled($newValue)
Sets the webdavEnabled property.
update()
update object in db
$webdavEnabled
Boolean property.
setInlineFileExtensions($newValue)
Sets the inlineFileExtensions property.
$inlineFileExtensions
String property.
read()
read object data from db into object
$downloadWithUploadedFilename
Boolean property.
$customWebfolderInstructionsEnabled
Boolean property.
isWebdavActionsVisible()
Gets the webdavActionsVisible property.
$customWebfolderInstructions
String property.
__construct($a_id=0, $a_call_by_reference=true)
Constructor.
getDefaultWebfolderInstructions()
Gets the defaultWebfolderInstructions property.
setDownloadWithUploadedFilename($newValue)
Sets the downloadWithUploadedFilename property.
Class ilObject Basic functions for all objects.