ILIAS
Release_4_2_x_branch Revision 61807
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
class.ilDAVUtils.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3
13
class
ilDAVUtils
14
{
15
private
static
$instance
= null;
16
17
private
$pwd_instruction
= null;
18
23
private
function
__construct
()
24
{
25
26
}
27
32
public
static
function
getInstance
()
33
{
34
if
(self::$instance)
35
{
36
return
self::$instance
;
37
}
38
return
self::$instance =
new
ilDAVUtils
();
39
}
40
45
public
function
isLocalPasswordInstructionRequired
()
46
{
47
global $ilUser;
48
49
if
($this->pwd_instruction !== NULL)
50
{
51
return
$this->pwd_instruction
;
52
}
53
include_once
'./Services/Authentication/classes/class.ilAuthUtils.php'
;
54
$status =
ilAuthUtils::supportsLocalPasswordValidation
($ilUser->getAuthMode(
true
));
55
if
($status !=
ilAuthUtils::LOCAL_PWV_USER
)
56
{
57
return
$this->pwd_instruction =
false
;
58
}
59
// Check if user has local password
60
return
$this->pwd_instruction = (bool) !strlen($ilUser->getPasswd());
61
}
62
63
}
64
?>
Services
WebDAV
classes
class.ilDAVUtils.php
Generated on Fri Apr 22 2016 19:04:24 for ILIAS by
1.8.1.2 (using
Doxyfile
)