ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
AbstractValue.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\BackgroundTasks\Implementation\Values
;
4
5
use
ILIAS\BackgroundTasks\Task
;
6
use
ILIAS\BackgroundTasks\Types\SingleType
;
7
use
ILIAS\BackgroundTasks\Types\Type
;
8
use
ILIAS\BackgroundTasks\Value
;
9
17
abstract
class
AbstractValue
implements
Value
18
{
19
23
protected
$parentTask
;
24
25
29
public
function
getType
()
30
{
31
return
new
SingleType
(get_called_class());
32
}
33
34
38
public
function
getParentTask
()
39
{
40
return
$this->parentTask
;
41
}
42
43
49
public
function
setParentTask
(
Task
$parentTask
)
50
{
51
$this->parentTask =
$parentTask
;
52
}
53
54
58
public
function
hasParentTask
()
59
{
60
return
isset($this->parentTask);
61
}
62
}
SingleType
ILIAS\BackgroundTasks\Implementation\Values\AbstractValue
Definition:
AbstractValue.php:17
ILIAS\BackgroundTasks\Value
Definition:
Value.php:15
ILIAS\BackgroundTasks\Implementation\Values\AbstractValue\getType
getType()
Definition:
AbstractValue.php:29
ILIAS\BackgroundTasks\Task
Definition:
Task.php:21
ILIAS\BackgroundTasks\Implementation\Values\AbstractValue\$parentTask
$parentTask
Definition:
AbstractValue.php:23
ILIAS\BackgroundTasks\Types\SingleType
Definition:
SingleType.php:5
ILIAS\BackgroundTasks\Implementation\Values\AbstractValue\getParentTask
getParentTask()
Definition:
AbstractValue.php:38
ILIAS\BackgroundTasks\Implementation\Values\AbstractValue\hasParentTask
hasParentTask()
Definition:
AbstractValue.php:58
ILIAS\BackgroundTasks\Task
Definition:
Job.php:3
ILIAS\BackgroundTasks\Implementation\Values
Definition:
AbstractValue.php:3
ILIAS\BackgroundTasks\Implementation\Values\AbstractValue\setParentTask
setParentTask(Task $parentTask)
Definition:
AbstractValue.php:49
Type
Value
src
BackgroundTasks
Implementation
Values
AbstractValue.php
Generated on Sat Jan 18 2025 19:01:42 for ILIAS by
1.8.13 (using
Doxyfile
)