ILIAS
trunk Revision v12.0_alpha-1540-g00f839d5fa1
◀ ilDoc Overview
FileTreeProxy.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\WebDAV\Objects
;
22
26
class
FileTreeProxy
extends
TreeProxy
implements
FileProxy
27
{
28
public
function
__construct
(
29
int
$ref_id
,
30
int
$obj_id,
31
string
$title,
32
int
$last_update,
33
protected
?
string
$content_type =
''
,
34
protected
?
int
$size = 0,
35
protected
?
StreamHandler
$stream_resolver =
null
,
36
) {
37
parent::__construct
(
38
$ref_id
,
39
$obj_id,
40
$title,
41
$last_update,
42
Type::FILE
43
);
44
}
45
46
public
function
getContentType
(): ?string
47
{
48
return
$this->content_type;
49
}
50
51
public
function
getStreamHandler
(): ?
StreamHandler
52
{
53
return
$this->stream_resolver;
54
}
55
56
public
function
getSize
(): ?
int
57
{
58
return
$this->size;
59
}
60
61
}
ILIAS\WebDAV\Objects\FileTreeProxy
Definition:
FileTreeProxy.php:27
ILIAS\WebDAV\Objects\FileTreeProxy\getContentType
getContentType()
Definition:
FileTreeProxy.php:46
ILIAS\WebDAV\Objects\FileTreeProxy\getStreamHandler
getStreamHandler()
Definition:
FileTreeProxy.php:51
ILIAS\WebDAV\Objects\FileTreeProxy\__construct
__construct(int $ref_id, int $obj_id, string $title, int $last_update, protected ?string $content_type='', protected ?int $size=0, protected ?StreamHandler $stream_resolver=null,)
Definition:
FileTreeProxy.php:28
ILIAS\WebDAV\Objects\FileTreeProxy\getSize
getSize()
Definition:
FileTreeProxy.php:56
ILIAS\WebDAV\Objects\TreeProxy
Definition:
TreeProxy.php:27
ILIAS\WebDAV\Objects\FileProxy
Definition:
FileProxy.php:27
ILIAS\WebDAV\Objects\StreamHandler
Definition:
StreamHandler.php:29
$ref_id
$ref_id
Definition:
ltiauth.php:66
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
Definition:
PluginProviderHelper.php:38
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ILIAS\WebDAV\Objects
Definition:
FileCreationCallback.php:21
components
ILIAS
WebDAV
src
Objects
FileTreeProxy.php
Generated on Wed Jun 3 2026 23:07:35 for ILIAS by
1.9.4 (using
Doxyfile
)