ILIAS  trunk Revision v11.0_alpha-1702-gfd3ecb7f852
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilCmiXapiHighscoreReportRequest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
31 {
36 
41 
45  public function __construct(string $basicAuth, ilCmiXapiHighscoreReportLinkBuilder $linkBuilder)
46  {
47  parent::__construct($basicAuth);
48  $this->linkBuilder = $linkBuilder;
49  }
50 
52  {
53  $reportResponse = $this->sendRequest($this->linkBuilder->getUrl());
54 
55  return new ilCmiXapiHighscoreReport($reportResponse, $objId);
56  }
57 }
$objId
Definition: xapitoken.php:57
ilCmiXapiHighscoreReportLinkBuilder $linkBuilder
__construct(string $basicAuth, ilCmiXapiHighscoreReportLinkBuilder $linkBuilder)
ilCmiXapiHighscoreReportRequest constructor.
__construct(Container $dic, ilPlugin $plugin)