ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
LocalConfig.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\Filesystem\Provider\Configuration
;
4
14
final
class
LocalConfig
15
{
16
21
const
DISALLOW_LINKS
= 1;
25
const
SKIP_LINKS
= 2;
26
30
private
$fileAccessPublic
;
34
private
$fileAccessPrivate
;
38
private
$directoryAccessPublic
;
42
private
$directoryAccessPrivate
;
46
private
$rootPath
;
50
private
$lockMode
;
54
private
$linkBehaviour
;
55
56
101
public
function
__construct
(
102
$rootPath
,
103
$fileAccessPublic
= 0744,
104
$fileAccessPrivate
= 0700,
105
$directoryAccessPublic
= 0755,
106
$directoryAccessPrivate
= 0700,
107
$lockMode
= LOCK_EX,
108
$linkBehaviour
= self::SKIP_LINKS
109
) {
110
$this->rootPath =
$rootPath
;
111
$this->fileAccessPublic =
$fileAccessPublic
;
112
$this->fileAccessPrivate =
$fileAccessPrivate
;
113
$this->directoryAccessPublic =
$directoryAccessPublic
;
114
$this->directoryAccessPrivate =
$directoryAccessPrivate
;
115
$this->lockMode =
$lockMode
;
116
$this->linkBehaviour =
$linkBehaviour
;
117
}
118
119
124
public
function
getFileAccessPublic
()
125
{
126
return
$this->fileAccessPublic
;
127
}
128
129
134
public
function
getFileAccessPrivate
()
135
{
136
return
$this->fileAccessPrivate
;
137
}
138
139
144
public
function
getDirectoryAccessPublic
()
145
{
146
return
$this->directoryAccessPublic
;
147
}
148
149
154
public
function
getDirectoryAccessPrivate
()
155
{
156
return
$this->directoryAccessPrivate
;
157
}
158
159
164
public
function
getRootPath
()
165
{
166
return
$this->rootPath
;
167
}
168
169
174
public
function
getLockMode
()
175
{
176
return
$this->lockMode
;
177
}
178
179
184
public
function
getLinkBehaviour
()
185
{
186
return
$this->linkBehaviour
;
187
}
188
}
ILIAS\Filesystem\Provider\Configuration\LocalConfig\$linkBehaviour
$linkBehaviour
Definition:
LocalConfig.php:54
ILIAS\Filesystem\Provider\Configuration\LocalConfig\$rootPath
$rootPath
Definition:
LocalConfig.php:46
ILIAS\Filesystem\Provider\Configuration\LocalConfig\getFileAccessPrivate
getFileAccessPrivate()
Definition:
LocalConfig.php:134
ILIAS\Filesystem\Provider\Configuration\LocalConfig\getRootPath
getRootPath()
Definition:
LocalConfig.php:164
ILIAS\Filesystem\Provider\Configuration\LocalConfig\$lockMode
$lockMode
Definition:
LocalConfig.php:50
ILIAS\Filesystem\Provider\Configuration\LocalConfig\getDirectoryAccessPrivate
getDirectoryAccessPrivate()
Definition:
LocalConfig.php:154
ILIAS\Filesystem\Provider\Configuration\LocalConfig\getFileAccessPublic
getFileAccessPublic()
Definition:
LocalConfig.php:124
ILIAS\Filesystem\Provider\Configuration\LocalConfig\__construct
__construct( $rootPath, $fileAccessPublic=0744, $fileAccessPrivate=0700, $directoryAccessPublic=0755, $directoryAccessPrivate=0700, $lockMode=LOCK_EX, $linkBehaviour=self::SKIP_LINKS)
LocalConfig constructor.
Definition:
LocalConfig.php:101
ILIAS\Filesystem\Provider\Configuration\LocalConfig\$directoryAccessPrivate
$directoryAccessPrivate
Definition:
LocalConfig.php:42
ILIAS\Filesystem\Provider\Configuration\LocalConfig\$directoryAccessPublic
$directoryAccessPublic
Definition:
LocalConfig.php:38
ILIAS\Filesystem\Provider\Configuration\LocalConfig\getDirectoryAccessPublic
getDirectoryAccessPublic()
Definition:
LocalConfig.php:144
ILIAS\Filesystem\Provider\Configuration
Definition:
LocalConfig.php:3
ILIAS\Filesystem\Provider\Configuration\LocalConfig\getLockMode
getLockMode()
Definition:
LocalConfig.php:174
ILIAS\Filesystem\Provider\Configuration\LocalConfig
Class LocalConfig.
Definition:
LocalConfig.php:14
ILIAS\Filesystem\Provider\Configuration\LocalConfig\getLinkBehaviour
getLinkBehaviour()
Definition:
LocalConfig.php:184
ILIAS\Filesystem\Provider\Configuration\LocalConfig\$fileAccessPrivate
$fileAccessPrivate
Definition:
LocalConfig.php:34
ILIAS\Filesystem\Provider\Configuration\LocalConfig\SKIP_LINKS
const SKIP_LINKS
Skip encountered links.
Definition:
LocalConfig.php:25
ILIAS\Filesystem\Provider\Configuration\LocalConfig\DISALLOW_LINKS
const DISALLOW_LINKS
This is the default behaviour because links violate the root filesystem constraint.
Definition:
LocalConfig.php:21
ILIAS\Filesystem\Provider\Configuration\LocalConfig\$fileAccessPublic
$fileAccessPublic
Definition:
LocalConfig.php:30
src
Filesystem
Provider
Configuration
LocalConfig.php
Generated on Sat Jan 18 2025 19:01:42 for ILIAS by
1.8.13 (using
Doxyfile
)