ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.SkillInternalService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Container\Skills;
22 
23 use ILIAS\HTTP;
24 use ILIAS\Refinery;
25 
30 {
31  protected HTTP\Services $http;
32  protected Refinery\Factory $refinery;
33 
34  public function __construct()
35  {
36  global $DIC;
37 
38  $this->http = $DIC->http();
39  $this->refinery = $DIC->refinery();
40  }
41 
42  public function repo(): SkillInternalRepoService
43  {
44  return new SkillInternalRepoService();
45  }
46 
48  {
49  return new SkillInternalManagerService();
50  }
51 
56  {
57  return new SkillInternalFactoryService();
58  }
59 
60  public function gui(
61  ?array $query_params = null,
62  ?array $post_data = null
64  return new SkillInternalGUIService(
65  $this->http,
66  $this->refinery,
67  $query_params = null,
68  $post_data = null
69  );
70  }
71 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static http()
Fetches the global http state from ILIAS.
global $DIC
Definition: shib_login.php:22
gui(?array $query_params=null, ?array $post_data=null)