original_string: protected static function validate_prediction($predictionid) {
  
          list($model, $prediction, $context) = \core_analytics\manager::get_prediction($predictionid);
  
          self::validate_context($context);
  
          return array($model, $prediction, $context);
      }
code: protected static function validate_prediction($predictionid) {
  
          list($model, $prediction, $context) = \core_analytics\manager::get_prediction($predictionid);
  
          self::validate_context($context);
  
          return array($model, $prediction, $context);
      }
code_tokens: protected static function validate_prediction ( $ predictionid ) { list ( $ model , $ prediction , $ context ) = \ core_analytics \ manager :: get_prediction ( $ predictionid ) ; self :: validate_context ( $ context ) ; return array ( $ model , $ prediction , $ context ) ; }
docstring: Validates access to the prediction and returns it.
  
  @param int $predictionid
  @return array array($model, $prediction, $context)
docstring_tokens: Validates access to the prediction and returns it .