Class to represent an outcome.  
 More...
 | 
|   | __construct (int|float|string|null $value=null, int|float|null $pointsPossible=1, string $activityProgress='Completed', string $gradingProgress='FullyGraded') | 
|   | Class constructor.  
  | 
|   | 
| int float string null  | getValue () | 
|   | Get the outcome value.  
  | 
|   | 
| void  | setValue (int|float|string|null $value) | 
|   | Set the outcome value.  
  | 
|   | 
| int float null  | getPointsPossible () | 
|   | Get the points possible value.  
  | 
|   | 
| void  | setPointsPossible (int|float|null $pointsPossible) | 
|   | Set the points possible value.  
  | 
|   | 
| void  | assign ($outcome) | 
|   | Assign property values from another outcome instance.  
  | 
|   | 
Class to represent an outcome. 
- Author
 - Stephen P Vickers steph.nosp@m.en@s.nosp@m.pvsof.nosp@m.twar.nosp@m.eprod.nosp@m.ucts.nosp@m..com 
 
- Copyright
 - SPV Software Products 
 
- Licence: http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3
 
 
◆ __construct()
      
        
          | ceLTIc\LTI\Outcome::__construct  | 
          ( | 
          int|float|string|null |           $value = null,  | 
        
        
           | 
           | 
          int|float|null |           $pointsPossible = 1,  | 
        
        
           | 
           | 
          string |           $activityProgress = 'Completed',  | 
        
        
           | 
           | 
          string |           $gradingProgress = 'FullyGraded' ) | 
        
      
 
Class constructor. 
- Parameters
 - 
  
    | int | float | string | null | $value | Outcome value (optional, default is none)  | 
    | int | float | null | $pointsPossible | Points possible value (optional, default is 1)  | 
    | string | $activityProgress | Activity progress (optional, default is 'Completed')  | 
    | string | $gradingProgress | Grading progress (optional, default is 'FullyGraded')  | 
  
   
 
 
◆ assign()
      
        
          | void ceLTIc\LTI\Outcome::assign  | 
          ( | 
           |           $outcome | ) | 
           | 
        
      
 
Assign property values from another outcome instance. 
- Parameters
 - 
  
    | Outcome | $outcome | Outcome instance  | 
  
   
 
 
◆ getPointsPossible()
      
        
          | int float null ceLTIc\LTI\Outcome::getPointsPossible  | 
          ( | 
           | ) | 
           | 
        
      
 
Get the points possible value. 
- Returns
 - int|float|null Points possible value 
 
 
 
◆ getValue()
      
        
          | int float string null ceLTIc\LTI\Outcome::getValue  | 
          ( | 
           | ) | 
           | 
        
      
 
Get the outcome value. 
- Returns
 - int|float|string|null Outcome value 
 
 
 
◆ setPointsPossible()
      
        
          | void ceLTIc\LTI\Outcome::setPointsPossible  | 
          ( | 
          int|float|null |           $pointsPossible | ) | 
           | 
        
      
 
Set the points possible value. 
- Parameters
 - 
  
    | int | float | null | $pointsPossible | Points possible value  | 
  
   
 
 
◆ setValue()
      
        
          | void ceLTIc\LTI\Outcome::setValue  | 
          ( | 
          int|float|string|null |           $value | ) | 
           | 
        
      
 
 
◆ $activityProgress
      
        
          | string ceLTIc\LTI\Outcome::$activityProgress = null | 
        
      
 
 
◆ $comment
      
        
          | string ceLTIc\LTI\Outcome::$comment = null | 
        
      
 
 
◆ $dataSource
      
        
          | string ceLTIc\LTI\Outcome::$dataSource = null | 
        
      
 
Outcome data source value. 
 
 
◆ $date
      
        
          | string ceLTIc\LTI\Outcome::$date = null | 
        
      
 
 
◆ $gradingProgress
      
        
          | string ceLTIc\LTI\Outcome::$gradingProgress = null | 
        
      
 
 
◆ $language
      
        
          | string ceLTIc\LTI\Outcome::$language = null | 
        
      
 
 
◆ $ltiUserId
      
        
          | string ceLTIc\LTI\Outcome::$ltiUserId = null | 
        
      
 
 
◆ $status
      
        
          | string ceLTIc\LTI\Outcome::$status = null | 
        
      
 
 
◆ $submissionCompleted
      
        
          | DateTime ceLTIc\LTI\Outcome::$submissionCompleted = null | 
        
      
 
Date submission completed. 
 
 
◆ $submissionStarted
      
        
          | DateTime ceLTIc\LTI\Outcome::$submissionStarted = null | 
        
      
 
 
◆ $type
◆ ALLOWED_ACTIVITY_PROGRESS
      
        
          | const ceLTIc\LTI\Outcome::ALLOWED_ACTIVITY_PROGRESS | 
        
      
 
Initial value:= [
        'Initialized',
        'Started',
        'InProgress',
        'Submitted',
        'Completed'
    ]
 
Allowed values for Activity Progress. 
 
 
◆ ALLOWED_GRADING_PROGRESS
      
        
          | const ceLTIc\LTI\Outcome::ALLOWED_GRADING_PROGRESS | 
        
      
 
Initial value:= [
        'FullyGraded',
        'Pending',
        'PendingManual',
        'Failed',
        'NotReady'
    ]
 
Allowed values for Grading Progress.