ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.SkillInternalService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Skill\Service;
22
23use ILIAS\HTTP;
25
31{
35 protected int $skmg_ref_id = 0;
36 protected \ilTree $repository_tree;
37 protected \ilRbacSystem $rbac_system;
38 protected int $usr_id = 0;
40 protected Refinery\Factory $refinery;
41
43 {
44 global $DIC;
45
46 $this->skmg_ref_id = $skmg_ref_id;
47 $this->repository_tree = $repository_tree;
48 $this->rbac_system = $rbac_system;
49 $this->usr_id = $usr_id;
50 $this->http = $DIC->http();
51 $this->refinery = $DIC->refinery();
52 }
53
54 public function repo(): SkillInternalRepoService
55 {
56 return new SkillInternalRepoService($this->factory());
57 }
58
60 {
62 $this->skmg_ref_id,
63 $this->repository_tree,
64 $this->factory()->tree(),
65 $this->rbac_system,
66 $this->usr_id
67 );
68 }
69
74 {
75 return new SkillInternalFactoryService();
76 }
77
78 public function gui(
79 ?array $query_params = null,
80 ?array $post_data = null
83 $this->http,
84 $this->refinery,
85 $query_params = null,
86 $post_data = null
87 );
88 }
89}
Skill UI frontend presentation internal service class.
gui(?array $query_params=null, ?array $post_data=null)
__construct(int $skmg_ref_id, \ilTree $repository_tree, \ilRbacSystem $rbac_system, int $usr_id)
class ilRbacSystem system function like checkAccess, addActiveRole ... Supporting system functions ar...
Tree class data representation in hierachical trees using the Nested Set Model with Gaps by Joe Celco...
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static http()
Fetches the global http state from ILIAS.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: shib_login.php:26