ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
ilWebDAVReadOnlyNodeWriteFunctionsTrait.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
Sabre\DAV\Exception\Forbidden
;
22
23
trait
ilWebDAVReadOnlyNodeWriteFunctionsTrait
24
{
29
public
function
createDirectory($name): void
30
{
31
throw
new
Forbidden(
"It is not possible to create a directory here"
);
32
}
33
38
public
function
createFile($name,
$data
=
null
): ?string
39
{
40
throw
new
Forbidden(
"It is not possible to create a file here"
);
41
}
42
47
public
function
setName($name): void
48
{
49
throw
new
Forbidden(
"It is not possible to change the name of the root"
);
50
}
51
56
public
function
delete
():
void
57
{
58
throw
new
Forbidden(
"It is not possible to delete the root"
);
59
}
60
}
$data
$data
Definition:
ltiregistration.php:29
Forbidden
ilWebDAVReadOnlyNodeWriteFunctionsTrait
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
components
ILIAS
WebDAV
classes
traits
ilWebDAVReadOnlyNodeWriteFunctionsTrait.php
Generated on Wed Sep 3 2025 23:04:27 for ILIAS by
1.8.13 (using
Doxyfile
)