LTI Tool Provider Library
3.0.2
PHP class library for building LTI Tool Providers
Main Page
Namespaces
Data Structures
Files
File List
Outcome.php
Go to the documentation of this file.
1
<?php
2
3
namespace
IMSGlobal\LTI\ToolProvider
;
4
14
class
Outcome
15
{
16
22
public
$language
= null;
28
public
$status
= null;
34
public
$date
= null;
40
public
$type
= null;
46
public
$dataSource
= null;
47
53
private
$value = null;
54
60
public
function
__construct
($value = null)
61
{
62
63
$this->value = $value;
64
$this->language =
'en-US'
;
65
$this->date = gmdate(
'Y-m-d\TH:i:s\Z'
, time());
66
$this->type =
'decimal'
;
67
68
}
69
75
public
function
getValue
()
76
{
77
78
return
$this->value;
79
80
}
81
87
public
function
setValue
($value)
88
{
89
90
$this->value = $value;
91
92
}
93
94
}
IMSGlobal\LTI\ToolProvider\Outcome\$dataSource
$dataSource
Outcome data source value.
Definition:
Outcome.php:46
IMSGlobal\LTI\ToolProvider\Outcome\getValue
getValue()
Get the outcome value.
Definition:
Outcome.php:75
IMSGlobal\LTI\ToolProvider\Outcome\$status
$status
Outcome status value.
Definition:
Outcome.php:28
IMSGlobal\LTI\ToolProvider\Outcome\setValue
setValue($value)
Set the outcome value.
Definition:
Outcome.php:87
IMSGlobal\LTI\ToolProvider\Outcome\$language
$language
Language value.
Definition:
Outcome.php:22
IMSGlobal\LTI\ToolProvider\Outcome\__construct
__construct($value=null)
Class constructor.
Definition:
Outcome.php:60
IMSGlobal\LTI\ToolProvider\Outcome\$date
$date
Outcome date value.
Definition:
Outcome.php:34
IMSGlobal\LTI\ToolProvider
Definition:
ConsumerNonce.php:3
IMSGlobal\LTI\ToolProvider\Outcome\$type
$type
Outcome type value.
Definition:
Outcome.php:40
IMSGlobal\LTI\ToolProvider\Outcome
Class to represent an outcome.
Definition:
Outcome.php:14
GitHub
IMSGlobal
LTI-Tool-Provider-Library-PHP
src
ToolProvider
Outcome.php
Copyright © 2016 by IMS Global Learning Consortium, Inc. All Rights Reserved. Trademark information:
www.imsglobal.org/copyright.html
Generated on Sun Sep 18 2016.