ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Outcome.php
Go to the documentation of this file.
1<?php
2
4
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}
date( 'd-M-Y', $objPHPExcel->getProperties() ->getCreated())
An exception for terminatinating execution or to throw for unit testing.
Class to represent an outcome.
Definition: Outcome.php:15
$date
Outcome date value.
Definition: Outcome.php:34
getValue()
Get the outcome value.
Definition: Outcome.php:75
$dataSource
Outcome data source value.
Definition: Outcome.php:46
setValue($value)
Set the outcome value.
Definition: Outcome.php:87
$type
Outcome type value.
Definition: Outcome.php:40
__construct($value=null)
Class constructor.
Definition: Outcome.php:60
$status
Outcome status value.
Definition: Outcome.php:28