ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
ilWebDAVReadOnlyNodeWriteFunctionsTrait.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
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 this node."
);
50
}
51
56
public
function
delete
():
void
57
{
58
throw
new
Forbidden(
"It is not possible to delete this node."
);
59
}
60
65
public
function
put(
$data
): void
66
{
67
throw
new
Forbidden(
"It is not possible to change this node."
);
68
}
69
}
$data
$data
Definition:
ltiregistration.php:31
Forbidden
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilWebDAVReadOnlyNodeWriteFunctionsTrait
$name
if($format !==null) $name
Definition:
metadata.php:247
Services
WebDAV
classes
traits
ilWebDAVReadOnlyNodeWriteFunctionsTrait.php
Generated on Wed Sep 3 2025 22:02:48 for ILIAS by
1.8.13 (using
Doxyfile
)