ILIAS  trunk Revision v12.0_alpha-1540-g00f839d5fa1
ILIAS\WebDAV\Objects\FileTreeProxy Class Reference
+ Inheritance diagram for ILIAS\WebDAV\Objects\FileTreeProxy:
+ Collaboration diagram for ILIAS\WebDAV\Objects\FileTreeProxy:

Public Member Functions

 __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,)
 
 getContentType ()
 
 getStreamHandler ()
 
 getSize ()
 
- Public Member Functions inherited from ILIAS\WebDAV\Objects\TreeProxy
 __construct (protected int $ref_id, protected int $obj_id, protected string $title, protected int $last_update, protected Type $type)
 
 getRefId ()
 
 getObjId ()
 
 getLastModified ()
 
 getName ()
 
 setName (string $name)
 
 getType ()
 
 getRefId ()
 
 getObjId ()
 
 getName ()
 
 setName (string $name)
 
 getLastModified ()
 
 getType ()
 
 getContentType ()
 
 getSize ()
 
 getStreamHandler ()
 

Detailed Description

Author
Fabian Schmid fabia.nosp@m.n@sr.nosp@m..solu.nosp@m.tion.nosp@m.s

Definition at line 26 of file FileTreeProxy.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\WebDAV\Objects\FileTreeProxy::__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 at line 28 of file FileTreeProxy.php.

36 {
38 $ref_id,
39 $obj_id,
40 $title,
41 $last_update,
42 Type::FILE
43 );
44 }
$ref_id
Definition: ltiauth.php:66
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References $ref_id, and ILIAS\GlobalScreen\Provider\__construct().

+ Here is the call graph for this function:

Member Function Documentation

◆ getContentType()

ILIAS\WebDAV\Objects\FileTreeProxy::getContentType ( )

Implements ILIAS\WebDAV\Objects\FileProxy.

Definition at line 46 of file FileTreeProxy.php.

46 : ?string
47 {
48 return $this->content_type;
49 }

◆ getSize()

ILIAS\WebDAV\Objects\FileTreeProxy::getSize ( )

Implements ILIAS\WebDAV\Objects\FileProxy.

Definition at line 56 of file FileTreeProxy.php.

56 : ?int
57 {
58 return $this->size;
59 }

◆ getStreamHandler()

ILIAS\WebDAV\Objects\FileTreeProxy::getStreamHandler ( )

Implements ILIAS\WebDAV\Objects\FileProxy.

Definition at line 51 of file FileTreeProxy.php.

51 : ?StreamHandler
52 {
53 return $this->stream_resolver;
54 }

The documentation for this class was generated from the following file: