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

WebDAV utility functions. More...

+ Collaboration diagram for ilDAVUtils:

Public Member Functions

 isLocalPasswordInstructionRequired ()

Static Public Member Functions

static getInstance ()
 Get singleton instance.

Private Member Functions

 __construct ()
 Singleton constructor.

Private Attributes

 $pwd_instruction = null

Static Private Attributes

static $instance = null

Detailed Description

WebDAV utility functions.

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
$Id$

Definition at line 13 of file class.ilDAVUtils.php.

Constructor & Destructor Documentation

ilDAVUtils::__construct ( )
private

Singleton constructor.

Returns

Definition at line 23 of file class.ilDAVUtils.php.

{
}

Member Function Documentation

static ilDAVUtils::getInstance ( )
static

Get singleton instance.

Returns
object ilDAVUtils

Definition at line 32 of file class.ilDAVUtils.php.

References $instance.

Referenced by ilObjCategoryAccess\_getCommands(), ilObjFolderAccess\_getCommands(), ilObjGroupAccess\_getCommands(), and ilObjCourseAccess\_getCommands().

{
if(self::$instance)
{
}
return self::$instance = new ilDAVUtils();
}

+ Here is the caller graph for this function:

ilDAVUtils::isLocalPasswordInstructionRequired ( )
Returns

Definition at line 45 of file class.ilDAVUtils.php.

References $pwd_instruction, ilAuthUtils\LOCAL_PWV_USER, and ilAuthUtils\supportsLocalPasswordValidation().

{
global $ilUser;
if($this->pwd_instruction !== NULL)
{
}
include_once './Services/Authentication/classes/class.ilAuthUtils.php';
$status = ilAuthUtils::supportsLocalPasswordValidation($ilUser->getAuthMode(true));
{
return $this->pwd_instruction = false;
}
// Check if user has local password
return $this->pwd_instruction = (bool) !strlen($ilUser->getPasswd());
}

+ Here is the call graph for this function:

Field Documentation

ilDAVUtils::$instance = null
staticprivate

Definition at line 15 of file class.ilDAVUtils.php.

Referenced by getInstance().

ilDAVUtils::$pwd_instruction = null
private

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

Referenced by isLocalPasswordInstructionRequired().


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