ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Outcome.php
Go to the documentation of this file.
1 <?php
2 
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 }
$date
Outcome date value.
Definition: Outcome.php:34
setValue($value)
Set the outcome value.
Definition: Outcome.php:87
getValue()
Get the outcome value.
Definition: Outcome.php:75
$type
Outcome type value.
Definition: Outcome.php:40
date( 'd-M-Y', $objPHPExcel->getProperties() ->getCreated())
$status
Outcome status value.
Definition: Outcome.php:28
$dataSource
Outcome data source value.
Definition: Outcome.php:46
__construct($value=null)
Class constructor.
Definition: Outcome.php:60
Add data(end) time
Method that wraps PHPs time in order to allow simulations with the workflow.
Class to represent an outcome.
Definition: Outcome.php:14