ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilDAVActivationChecker Class Reference

Activation Checker. More...

+ Collaboration diagram for ilDAVActivationChecker:

Static Public Member Functions

static _isActive ()
 Static getter.

Detailed Description

Activation Checker.

Keep this class small, since it is included, even if WebDav is deactivated.

Definition at line 7 of file class.ilDAVActivationChecker.php.

Member Function Documentation

static ilDAVActivationChecker::_isActive ( )
static

Static getter.

Returns true, if the WebDAV server is active.

THe WebDAV Server is active, if the variable file_access::webdav_enabled is set in the client ini file, and if PEAR Auth_HTTP is installed.

Returns
boolean value

Definition at line 17 of file class.ilDAVActivationChecker.php.

Referenced by ilObjCategoryAccess\_getCommands(), ilObjFolderAccess\_getCommands(), ilObjGroupAccess\_getCommands(), ilObjCourseAccess\_getCommands(), ilObjFolderListGUI\getCommandFrame(), ilObjGroupListGUI\getCommandFrame(), ilObjectListGUI\getCommandFrame(), ilObjGroupListGUI\getCommandLink(), ilObjCategoryListGUI\getCommandLink(), ilObjFolderListGUI\getCommandLink(), ilObjectListGUI\getCommandLink(), ilObjUser\getLoginFromAuth(), and ilObjectListGUI\getProperties().

{
global $ilClientIniFile;
return $ilClientIniFile->readVariable('file_access','webdav_enabled') == '1' &&
@include_once("Auth/HTTP.php");
}

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: