LTI Integration Library
3.1.0
PHP class library for building LTI integrations
Outcome.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ceLTIc\LTI
;
4
13
class
Outcome
14
{
15
21
public
$language
=
null
;
22
28
public
$status
=
null
;
29
35
public
$date
=
null
;
36
42
public
$type
=
null
;
43
49
public
$dataSource
=
null
;
50
56
private
$value =
null
;
57
63
public
function
__construct
($value =
null
)
64
{
65
$this->value = $value;
66
$this->language =
'en-US'
;
67
$this->date = gmdate(
'Y-m-d\TH:i:s\Z'
, time());
68
$this->type =
'decimal'
;
69
}
70
76
public
function
getValue
()
77
{
78
return
$this->value;
79
}
80
86
public
function
setValue
($value)
87
{
88
$this->value = $value;
89
}
90
91
}
ceLTIc\LTI\Outcome
Class to represent an outcome.
Definition:
Outcome.php:13
ceLTIc\LTI\Outcome\$language
$language
Language value.
Definition:
Outcome.php:21
ceLTIc\LTI\Outcome\setValue
setValue($value)
Set the outcome value.
Definition:
Outcome.php:86
ceLTIc\LTI\Outcome\$status
$status
Outcome status value.
Definition:
Outcome.php:28
ceLTIc\LTI\Outcome\$type
$type
Outcome type value.
Definition:
Outcome.php:42
ceLTIc\LTI\Outcome\getValue
getValue()
Get the outcome value.
Definition:
Outcome.php:76
ceLTIc\LTI\Outcome\$date
$date
Outcome date value.
Definition:
Outcome.php:35
ceLTIc\LTI
ceLTIc\LTI\Outcome\__construct
__construct($value=null)
Class constructor.
Definition:
Outcome.php:63
ceLTIc\LTI\Outcome\$dataSource
$dataSource
Outcome data source value.
Definition:
Outcome.php:49
Generated on Wed Mar 13 2019 by
Doxygen 1.8.15