ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
class.ilDataCollectionStakeholder.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
class
ilDataCollectionStakeholder
extends
\ILIAS\ResourceStorage\Stakeholder\AbstractResourceStakeholder
22
{
23
private
int
$owner
;
24
25
public
function
__construct
()
26
{
27
global
$DIC
;
28
$this->owner = $DIC->isDependencyAvailable(
'user'
)
29
? $DIC->user()->getId()
30
: (defined(
'SYSTEM_USER_ID'
) ? (
int
)
SYSTEM_USER_ID
: 6);
31
}
32
33
public
function
getId
(): string
34
{
35
return
"dcl_uploads"
;
36
}
37
38
public
function
getOwnerOfNewResources
():
int
39
{
40
return
$this->owner
;
41
}
42
}
ilDataCollectionStakeholder\getOwnerOfNewResources
getOwnerOfNewResources()
Definition:
class.ilDataCollectionStakeholder.php:38
SYSTEM_USER_ID
const SYSTEM_USER_ID
This file contains constants for PHPStan analyis, see: https://phpstan.org/config-reference#constants...
Definition:
constants.php:26
ilDataCollectionStakeholder\getId
getId()
Definition:
class.ilDataCollectionStakeholder.php:33
$DIC
global $DIC
Definition:
feed.php:28
ilDataCollectionStakeholder
Definition:
class.ilDataCollectionStakeholder.php:21
ILIAS\ResourceStorage\Stakeholder\AbstractResourceStakeholder
Definition:
AbstractResourceStakeholder.php:28
ilDataCollectionStakeholder\__construct
__construct()
Constructor must not have any parameters.
Definition:
class.ilDataCollectionStakeholder.php:25
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ilDataCollectionStakeholder\$owner
int $owner
Definition:
class.ilDataCollectionStakeholder.php:23
Modules
DataCollection
classes
class.ilDataCollectionStakeholder.php
Generated on Wed Sep 10 2025 14:10:45 for ILIAS by
1.8.13 (using
Doxyfile
)